<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I had a similar issue a fewl years ago&nbsp;-- I believe it was on 4.6C -- and SAP suggested putting in a wait step (wait for 20 seconds) after the "wait for" step.&nbsp; It had something to do with locking.&nbsp; In fact, I just checked and I still have some design notes on&nbsp;the delay step:<BR>
&nbsp;<BR>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN lang=EN-GB><FONT color=#000000 size=2 face=Arial>This work item executes a method in the background, ZDELAY20SECONDS, which invokes function module Z_DELAY20SECONDS which has a command to wait 20 seconds.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This has been implemented per SAP’s instructions to avoid locking issues that were encountered in the original implementation.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>It is invoked after each “wait for event” step in the workflow definition.</FONT></SPAN></P>
&nbsp;<BR>
Not sure if this is the same issue or not, but&nbsp;if so, give it a try.<BR>
&nbsp;<BR>
Enjoy,<BR>
David<BR>&nbsp;<BR>
<HR id=stopSpelling>
Date: Wed, 15 Jul 2009 11:25:10 +0400<BR>Subject: Issue with terminating event<BR>From: ikhansap@gmail.com<BR>To: SAP-WUG@mit.edu<BR><BR>
<DIV dir=ltr>
<DIV class=EC_jive-message-body>Hi friends,<BR>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.</DIV></DIV><br /><hr />Windows Live™ Hotmail®: Celebrate the moment with your favorite sports pics. <a href='http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_photos_072009&cat=sports' target='_new'>Check it out.</a></body>
</html>