This website is not affiliated with, sponsored by, or approved by SAP AG.

Wait Event not being picked up

Business WorkFlow

Moderators: Snowy, thx4allthefish

Wait Event not being picked up

Postby RobbieM » Tue Sep 30, 2008 8:47 am

Hi,

We have a purchase order workflow that has a parallel branch with a wait for event of 'Released' on it. The theory is that if a PO is released the workflow will finish. We have a situation where POs are created then released straight away by an idoc. In the event log we can see the release step created event and it correctly starts the workflow however the released event follows at exactly the same time and the workflow does not seem to notice this so it sends a released PO to a user to be released. I hope this makes sense. Can anyone think of a reason why this might be happening? Does it need a slight delay between the two events? In SWEINST the linkage is active and when I look at the entry for one of these POs it tales me to the correct workflow.

Thanks

Rob
RobbieM
 
Posts: 90
Joined: Tue Mar 07, 2006 10:05 am
Location: London UK

Re: Wait Event not being picked up

Postby jackjack » Tue Nov 11, 2008 10:57 pm

First of, turn on the event trace (tcode SWELS).
Then create a PO and approve it through IDOC.
Then, go to SWEL and see the event trace.
Make sure Released event comes after ReleasedStepCreated.

If the Released event is indeed comes after ReleasedStepCreated, then make sure the binding in the workflow is correct.
You can check the status of the event from SWEL as well.
See if any message there could give u a hint on what's going wrong.
jackjack
 
Posts: 24
Joined: Sun Oct 15, 2006 9:08 pm

Re: Wait Event not being picked up

Postby shaikymulla » Mon Mar 19, 2012 10:23 am

hi robbie,
it seems you need to introduce some delay between the two events
is the idoc independent of the workflow? , if yes then when the PO is created the release step event is triggered.
then if the idoc is triggering after this make sure u introduce few seconds delay in the FM which handles the IDOC so that released event is
triggered seconds after the releasestepcreated event. then the workflow would recognise the event and would
eventually solve the problem.

reward any points if it makes sense.

thanks,
shaik
shaikymulla
 
Posts: 2
Joined: Mon Mar 19, 2012 10:13 am

Re: Wait Event not being picked up

Postby Gothmog » Mon Mar 19, 2012 10:34 am

shaikymulla wrote:hi robbie,
it seems you need to introduce some delay between the two events
How about three and a half years ? :roll:
shaikymulla wrote:reward any points if it makes sense.
You know that begging for points is forbidden even on SDN, a site that does have points?
Here, we offer beers...

Locked for necroposting - please read the forum rules.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1943
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home


Return to Business WorkFlow

Who is online

Users browsing this forum: No registered users and 2 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.