Problems with Event Creator step

dbaitman dbaitman dbaitman at myexcel.com
Tue Mar 24 09:57:35 EDT 2009


Tor,

HCM P&F strikes again.  As long as you have the container object
"PROCESS_OBJECT" in both WF containers, the the P&F class
CL_HRASR00_POBJ_WF_EXIT should find the GUID and hence the case object.

Since you stated that the form displays, but without any values I don't
think the problem is in the workflow.  I think it's in the Design Time
(HRSAR_DT) config that transfers values between the forms/scenarios.  I
would look there to confirm it is set to pass the values.

I have added a test step that calls TS17900110 to upload missing fields to
the WF container to confirm that infact they are still populated.

Another place to look is the form itself.  Does it use a custom service?  If
the custom service isn't defined properly, fields such as PERNR get lost.

If you haven't already, check out
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10037 and look at bug
number 4.

I know you said the process works fine if you execute it as a main workflow,
but does it work correctly if you send the reminder from your current main
workflow?

Please share what you find.  I'm sure I'll run into the same problem.

David.



> ---------- Forwarded message ----------
> From: Tor Magne Refsland <fallenblake at hotmail.com>
> To: SAP WUG list <sap-wug at mit.edu>
> Date: Tue, 24 Mar 2009 08:01:34 +0000
> Subject: RE: AW: Problems with Event Creator step
> Thanks for your reply, Heinz.
>
> I am passing field values in the t-code HRASR_DT -> "transfering field
> values", which decides the transfering of fields between forms.
>
> The only container element I am passing from Workflow A to Subworkflow B is
> PROCESS_OBJECT (Container-binding A-> B).
>
> This works perfectly well in all the approve/reject steps which displays a
> form with field values from Workflow A, besides the "Send reminder to
> manager" step.
>
> As I wrote in the previous mail, "Send reminder to manager" step, works
> fine when I execute Subworkflow B as a main workflow.
>
> Any suggestions?
>
> Thanks in advance.
>
> Best regards,
>
> Tor
>
>
> ------------------------------
> Subject: AW: Problems with Event Creator step
> Date: Mon, 23 Mar 2009 11:36:25 +0100
> From: heinz.schmidinger at oerlikon.com
> To: sap-wug at mit.edu
>
>  Hi Tor,
>
>
>
> do you pass the field values from Workflow A to Sunworkflow B by using
> container-declarations in Workflow B and Container-Bindings from A -> B?
>
>
>
> Hope it helps.
>
>
>
> Greetings
>
> Heinz
>
>
> *_______________________________________*
> *Heinz Schmidinger*
> Certified Senior Application Consultant **
>
> Oerlikon Solar AG, Trübbach
>
> Hauptstrasse 1a
>
> 9477 Trübbach
>
> Schweiz
> P +41 58 356 8626
> F +41 58 356 8826
> heinz.schmidinger at oerlikon.com
> www.oerlikon.com/solar
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient or have received this e-mail in error, please
> notify the sender immediately and destroy this e-mail. Unauthorised copying,
> disclosure and distribution of the material in this e-mail are strictly
> prohibited.
>
>
>
> Diese E-Mail enthaelt vertrauliche und/oder geschuetzte Informationen. Wenn
> Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese
> Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
> sind nicht gestattet.
>
> *Please consider our environment before printing this e-mail.*
>
> *Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail ausdrucken.*
>
>
>  ------------------------------
>
> *Von:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *Im
> Auftrag von *Tor Magne Refsland
> *Gesendet:* Montag, 23. März 2009 11:22
> *An:* SAP WUG list
> *Betreff:* RE: Problems with Event Creator step
>
>
>
> Hi all,
>
> can anyone please give me som input on this matter?
>
> I am totally stuck atm.
>
> Thanks in advance.
>
> Best regards,
>
> Tor
>
>  ------------------------------
>
> From: fallenblake at hotmail.com
> To: sap-wug at mit.edu
> Subject: Problems with Event Creator step
> Date: Wed, 18 Mar 2009 08:50:51 +0000
>
> Dear experts,
>
> I have a main process A which is connected to workflow A and a secondary
> process B which is connected to workflow B.
>
> Workflow A will call workflow B as a subworkflow.
>
> The passing of field values between forms in process B has been declared in
> Process A. This due to it seems like workflow B is ignoring the field value
> passing declared in process B, when workflow B is called as a subworkflow.
>
> Workflow B contains a Event Creator step, "Send reminder to manager". The
> step basically sends a work item in the managers UWL, which contains a form
> with values
>
>
> The step works perfectly when I start workflow B as a main workflow.
>
> *The problem is:*
> "When I start workflow A which contains subworkflow B, the Event Creator
> step in subworkflow B doesn`t work. The form is displayed, but with no
> values.
>  How can I fix this?"
>
> The workflow A displays other forms in subworkflow B, so the fieldpassing
> from process A to B works fine.
>
> Best regards,
>
> Tor
>
>
>
>
>
>
>
>  ------------------------------
>
> Get news, entertainment and everything you care about at Live.com. Check
> it out! <http://www.live.com/getstarted.aspx>
>  ------------------------------
>
> check out the rest of the Windows Live™. More than mail–Windows Live™ goes
> way beyond your inbox. More than messages<http://www.microsoft.com/windows/windowslive/>
>
> ------------------------------
> See all the ways you can stay connected to friends and family<http://www.microsoft.com/windows/windowslive/default.aspx>
>
>
> ---------- Forwarded message ----------
> From: "Schmidinger, Heinz (Oerlikon TR)" <heinz.schmidinger at oerlikon.com>
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Date: Tue, 24 Mar 2009 09:19:33 +0100
> Subject: AW: AW: Problems with Event Creator step
>
> Hi Tor,
>
>
>
> maybe I don’t understand your model rigth; but maybe you should pass all
> field-values from WF A that you need in WF B to the WF-Container of WF B use
> these Fiels-Values for your forms.
>
>
>
> Maybe it helps.
>
>
>
> Greetings
>
> Heinz
>
>
>
> *_______________________________________*
>
> *Heinz Schmidinger*
> Certified Senior Application Consultant **
>
> Oerlikon Solar AG, Trübbach
>
> Hauptstrasse 1a
>
> 9477 Trübbach
>
> Schweiz
>
> P +41 58 356 8626
> F +41 58 356 8826
> heinz.schmidinger at oerlikon.com
>
> www.oerlikon.com/solar
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient or have received this e-mail in error, please
> notify the sender immediately and destroy this e-mail. Unauthorised copying,
> disclosure and distribution of the material in this e-mail are strictly
> prohibited.
>
>
>
> Diese E-Mail enthaelt vertrauliche und/oder geschuetzte Informationen. Wenn
> Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese
> Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
> sind nicht gestattet.
>
> *Please consider our environment before printing this e-mail.*
>
> *Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail ausdrucken.*
>
>
>  ------------------------------
>
> *Von:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *Im
> Auftrag von *Tor Magne Refsland
> *Gesendet:* Dienstag, 24. März 2009 09:02
> *An:* SAP WUG list
> *Betreff:* RE: AW: Problems with Event Creator step
>
>
>
> Thanks for your reply, Heinz.
>
> I am passing field values in the t-code HRASR_DT -> "transfering field
> values", which decides the transfering of fields between forms.
>
> The only container element I am passing from Workflow A to Subworkflow B is
> PROCESS_OBJECT (Container-binding A-> B).
>
> This works perfectly well in all the approve/reject steps which displays a
> form with field values from Workflow A, besides the "Send reminder to
> manager" step.
>
> As I wrote in the previous mail, "Send reminder to manager" step, works
> fine when I execute Subworkflow B as a main workflow.
>
> Any suggestions?
>
> Thanks in advance.
>
> Best regards,
>
> Tor
>
>
>  ------------------------------
>
> Subject: AW: Problems with Event Creator step
> Date: Mon, 23 Mar 2009 11:36:25 +0100
> From: heinz.schmidinger at oerlikon.com
> To: sap-wug at mit.edu
>
> Hi Tor,
>
>
>
> do you pass the field values from Workflow A to Sunworkflow B by using
> container-declarations in Workflow B and Container-Bindings from A -> B?
>
>
>
> Hope it helps.
>
>
>
> Greetings
>
> Heinz
>
>
>
> *_______________________________________*
> *Heinz Schmidinger*
> Certified Senior Application Consultant
>
> Oerlikon Solar AG, Trübbach
>
> Hauptstrasse 1a
>
> 9477 Trübbach
>
> Schweiz
>
> P +41 58 356 8626
> F +41 58 356 8826
> heinz.schmidinger at oerlikon.com
> www.oerlikon.com/solar
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient or have received this e-mail in error, please
> notify the sender immediately and destroy this e-mail. Unauthorised copying,
> disclosure and distribution of the material in this e-mail are strictly
> prohibited.
>
>
>
> Diese E-Mail enthaelt vertrauliche und/oder geschuetzte Informationen. Wenn
> Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten
> haben, informieren Sie bitte sofort den Absender und vernichten Sie diese
> Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
> sind nicht gestattet.
>
> *Please consider our environment before printing this e-mail.*
>
> *Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail ausdrucken.*
>
>
>  ------------------------------
>
> *Von:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *Im
> Auftrag von *Tor Magne Refsland
> *Gesendet:* Montag, 23. März 2009 11:22
> *An:* SAP WUG list
> *Betreff:* RE: Problems with Event Creator step
>
>
>
> Hi all,
>
> can anyone please give me som input on this matter?
>
> I am totally stuck atm.
>
> Thanks in advance.
>
> Best regards,
>
> Tor
>
>  ------------------------------
>
> From: fallenblake at hotmail.com
> To: sap-wug at mit.edu
> Subject: Problems with Event Creator step
> Date: Wed, 18 Mar 2009 08:50:51 +0000
>
> Dear experts,
>
> I have a main process A which is connected to workflow A and a secondary
> process B which is connected to workflow B.
>
> Workflow A will call workflow B as a subworkflow.
>
> The passing of field values between forms in process B has been declared in
> Process A. This due to it seems like workflow B is ignoring the field value
> passing declared in process B, when workflow B is called as a subworkflow.
>
> Workflow B contains a Event Creator step, "Send reminder to manager". The
> step basically sends a work item in the managers UWL, which contains a form
> with values
>
>
> The step works perfectly when I start workflow B as a main workflow.
>
> *The problem is:*
> "When I start workflow A which contains subworkflow B, the Event Creator
> step in subworkflow B doesn`t work. The form is displayed, but with no
> values.
>  How can I fix this?"
>
> The workflow A displays other forms in subworkflow B, so the fieldpassing
> from process A to B works fine.
>
> Best regards,
>
> Tor
>
>
>
>
>
>
>
>  ------------------------------
>
> Get news, entertainment and everything you care about at Live.com. Check
> it out! <http://www.live.com/getstarted.aspx>
>  ------------------------------
>
> check out the rest of the Windows Live™. More than mail–Windows Live™ goes
> way beyond your inbox. More than messages<http://www.microsoft.com/windows/windowslive/>
>
>
>  ------------------------------
>
> See all the ways you can stay connected to friends and family<http://www.microsoft.com/windows/windowslive/default.aspx>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090324/6b0f57f8/attachment.htm


More information about the SAP-WUG mailing list