<DIV>Thanks <STRONG><EM>Jeffrey, </EM></STRONG></DIV>  <div><FONT face="Bookman Old Style" color=#0000ff></FONT>&nbsp;</div>  <div><FONT face="Bookman Old Style" color=#0000ff>I've tested and the function&nbsp;SWP_WORKFLOW_INSTANCE_DELETE worked right but it eliminate all the wf instance.</FONT></div>  <div><FONT face="Bookman Old Style" color=#0000ff></FONT>&nbsp;</div>  <div><FONT face="Bookman Old Style" color=#0000ff>I saw in another forum and a friend said me to use the SWWL&nbsp; transaction and I think it worked properly. I've created a SWWL's SHDB to do that and I think it solves my problem.</FONT></div>  <div><FONT face="Bookman Old Style" color=#0000ff></FONT>&nbsp;</div>  <div><FONT face="Bookman Old Style" color=#0000ff>tanks a lot!</FONT></div>  <div><FONT face="Bookman Old Style" color=#0000ff>Glauco</FONT></div>  <DIV><BR><BR><B><I>Jeffrey Rappaport &lt;Jeff@business-workflow.com&gt;</I></B> escreveu:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px;
 MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.2900.2802" name=GENERATOR>  <STYLE></STYLE>    <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>Glauco,</FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT>&nbsp;</DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>&nbsp;&nbsp; Depending on what you mean by 'Delete' &amp; what version you're on, try:</FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2></FONT>&nbsp;</DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>SAP_WAPI_WORKITEM_DELETE, </FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>SAP_WAPI_ADM_WORKFLOW_CANCEL, </FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>SWP_WORKFLOW_INSTANCE_DELETE, </FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff size=2>SWP_WORKFLOW_INSTANCE_CANCEL,</FONT></DIV>  <DIV><FONT face="Bookman Old Style" color=#0000ff
 size=2>SWP_WORKFLOW_ITEM_CANCEL.</FONT></DIV>  <DIV><BR>Jeffrey A. Rappaport<BR>Business Workflow, LLC<BR>Voice: (732) 355-0123<BR>Fax:&nbsp;&nbsp;&nbsp; (509) 757-4144<BR>Email: <A href="mailto:Jeff@Business-Workflow.com">Jeff@Business-Workflow.com</A><BR>Web:&nbsp; <A href="http://www.business-workflow.com/">www.Business-Workflow.com</A></DIV>  <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>  <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=glaucokubrusly@yahoo.com.br href="mailto:glaucokubrusly@yahoo.com.br">Glauco Kubrusly</A> </DIV>  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=sap-wug@mit.edu href="mailto:sap-wug@mit.edu">Process Control Step</A> </DIV>  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 02, 2006 11:16 AM</DIV>  <DIV style="FONT: 10pt arial"><B>Subj!
 ect:</B>
 How to delete a work item by ABAP ?</DIV>  <DIV><BR></DIV>  <DIV id=RTEContent>Hi Friends,<BR><BR>I want to delete a work item by abap program, because the user can execute some actions by calling the transaction without execute its work item.<BR><BR>I think it can be possible by exit.<BR><BR>Is it really possible ?<BR><BR>Glauco<BR>MSN: <A href="mailto:glaucokubrusly@hotmail.com">glaucokubrusly@hotmail.com</A></DIV>  <div>  <HR SIZE=1>  Yahoo! doce lar. <A href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.yahoo.com/homepageset.html">Faça do Yahoo! sua homepage.</A>   <div>  <HR>    <div></div>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE>  <DIV><BR></DIV><p>
                <hr size=1> 
Yahoo! doce lar. <a href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.yahoo.com/homepageset.html">Faça do Yahoo! sua homepage.</a>