Issue with terminating event

David Trant david_trant at hotmail.com
Mon Jul 20 19:27:28 EDT 2009


I had a similar issue a fewl years ago -- I believe it was on 4.6C -- and SAP suggested putting in a wait step (wait for 20 seconds) after the "wait for" step.  It had something to do with locking.  In fact, I just checked and I still have some design notes on the delay step:

 

This work item executes a method in the background, ZDELAY20SECONDS, which invokes function module Z_DELAY20SECONDS which has a command to wait 20 seconds.  This has been implemented per SAP’s instructions to avoid locking issues that were encountered in the original implementation.  It is invoked after each “wait for event” step in the workflow definition.
 

Not sure if this is the same issue or not, but if so, give it a try.

 

Enjoy,

David
 


Date: Wed, 15 Jul 2009 11:25:10 +0400
Subject: Issue with terminating event
From: ikhansap at gmail.com
To: SAP-WUG at mit.edu



Hi friends,
we are having an issue in the custom Purchase order workflow. When the approver's releases the PO from his inbox, the workflow is not proceeding further and the work item remains in is inbox with status "In process" .I checked the table SWFDEVINST and there is an entry for this PO. I tried creating a terminating event directly from SWUE but in this case the workflow is moving to next step but the work item still lies in the approver's inbox and in workflow log that approval task is in status "In process". One weird thing in this workflow is there are both wait for event and the terminating event is used, it could be a problem but this issue is occuring very rarely. Please advice what could be the issue. I tried to complete the work item manually from tcode SWIA but the workflow went into error.
_________________________________________________________________
Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090720/4ec4cb00/attachment.htm


More information about the SAP-WUG mailing list