<P>
Hi Michael,<BR>
<BR>
Thanks a lot for the help. It works perfectly... <BR>
<BR>
Regards,<BR>
Amit<BR>
<BR>
--------<BR>
Hi Amit,<BR>
<BR>
You can built a parallel processing in Your workflow, which ends, <BR>
if one of the both branches is completed. One branch includes Your <BR>
current workflow and the other consits of a Wait Step , which waits <BR>
for the event 'CHANGED' of BUS2012.<BR>
<BR>
<BR>
Best regards<BR>
Michael Ludwig<BR>
rku.it GmbH<BR>
<BR>
-----Ursprüngliche Nachricht-----<BR>
Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] Im Auftrag von Amit Moghe<BR>
Gesendet: Donnerstag, 2. Juni 2005 08:34<BR>
An: sap-wug at mit.edu<BR>
Cc: amitpmoghe at rediffmail.com<BR>
Betreff: Cancelling the previous workitem<BR>
<BR>
<BR>
<BR>
Hi Workflow Gurus,<BR>
<BR>
I am new to workflow and need some help.<BR>
<BR>
I have a workflow for which I am using 'CHANGED' event of the business object BUS2012 (Purchase Order) as the triggering event. When a user changes a particular PO, this workflow starts. But before it is completed if there is another change to the same PO, then, one more workitem is started.<BR>
<BR>
My requirement is that if there is change to the PO, then, it should delete the previous workitem and start a new workitem. Can you please advise me as to how this can be achieved?<BR>
<BR>
Thanks in advance.<BR>
<BR>
Regards,<BR>
Amit<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>