<div>Brenda, </div>
<div> </div>
<div>You can use SAP_WAPI_WORKITEM_DELETE in your batch program to delete specific workitems.</div>
<div> </div>
<div>Regards,</div>
<div>Shaurya Jain<br><br></div>
<div class="gmail_quote">On Fri, Mar 27, 2009 at 11:31 AM, Brenda Raubenheimer <span dir="ltr">&lt;<a href="mailto:braubenheimer@telkomsa.net">braubenheimer@telkomsa.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-ZA" vlink="purple" link="blue">
<div>
<p>My new client has a large number of workflow instances active on the system and many users have inboxes full of work items.  The majority of these are highly customised purchase requisition release and purchase order release workflows.  For some reason, these workflows were not designed with wait for event steps to trap the event when the requisition or order is released or significantly changed, so the users have performed the necessary steps outside workflow and the workflows have not been terminated correctly.  We now need to remove these work items from the inboxes of these users, but obviously a manual trawl through all the workflows is not a preferred option.  Is there a function module or BAPI which I can use to logically delete a workflow instance in the background from a batch program?</p>

<p> </p>
<p>Many thanks in advance,</p>
<p>Brenda Raubenheimer.</p>
<p><span style="FONT-SIZE: 10pt; COLOR: #017086"> </span></p>
<p><span style="FONT-SIZE: 10pt; COLOR: #017086"> </span></p>
<p> </p>
<p> </p></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br>