Multiple Events triggered - 'No receiver entered' message for one of them in SWEL

David Weston weston at clockwork.ca
Mon Dec 10 20:32:17 EST 2001


Hi group,
 
I have a tricky question for the group. Using table T779X to trigger a =
function module when an org unit
is created to trigger a workflow, the function module does the following =
:-
 
1. Uses SWE_EVENT_CREATE to trigger the event 'Created' and a WS =
workflow is started. In this workflow there is a wait step based on an =
event called 'Responsibility'.
2. The function module could also trigger the event 'Responsibility' =
using SWE_EVENT_CREATE immediately after the 'Created' event.
 
Here's the issue: the wait step for the event 'Responsibility' does not =
find a receiver because the 2 events are almost triggered simultaneously =
and the wait step in the workflow has not been created yet !
 
I have put in the ABAP code the command 'WAIT UP TO n SECONDS' after the =
event 'Created' is triggered but hate this as it slows the dialog =
transaction !! I have tried using SWE_EVENT_CREATE_IN_UPD_TASK but that =
doesn't help either.
 
Has anyone else had this sort of problem, if so how did you go about =
solving it ?.
 
Cheers
Dave Weston
Clockwork.ca =20
  =20
=20
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20011210/2011374e/attachment.htm


More information about the SAP-WUG mailing list