<html><body>
<p>Hi Shai,<br>
<br>
>From what  little I know there is not reject method.<br>
<br>
The issue is what do you want to do if the document is rejected?<br>
I would generate the event &quot;Rejected&quot; and have a leg in the workflow that would wait for the event &quot;Rejected&quot; and you can perform the action you want to do when the document is rejected, like sending it back to the creator to the document and allowing them to change and start the process from the start.<br>
<br>
<b><font size="4" color="#483D8B"><br>
Regards</font></b><font size="4"><br>
Nat Govender<br>
Toyota South Africa<br>
IT - SAP Workflow Specialist<br>
Internal Ext.   :  32645<br>
Direct Line    :  +27 031 910 2645<br>
Fax               :  086 607 0414<br>
E-mail           :  </font><a href="mailto:ngovender4@toyota.co.za"><u><font size="4" color="#0000FF">ngovender4@toyota.co.za</font></u></a><font size="4"><br>
</font><font size="4" color="#FF00FF"><br>
If you tell the truth, you don't have to remember anything. </font><br>
<img width="16" height="16" src="cid:1__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt="Inactive hide details for Shai Eyal &lt;shai.eyal@yahoo.com&gt;">Shai Eyal &lt;shai.eyal@yahoo.com&gt;<br>
<br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Shai Eyal &lt;shai.eyal@yahoo.com&gt;</font></b><font size="2"> </font><br>
<font size="2">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size="2">22-07-2009 09:45 AM</font>
<table border="1">
<tr valign="top"><td width="168" bgcolor="#FFFFFF"><div align="center"><font size="2">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></td></tr>
</table>
</ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<font size="2">sap-wug &lt;sap-wug@mit.edu&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""><br>
<font size="2">BAPI to reject purchase requisiiton</font></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=CDBBFF68DFBF01FC8f9e8a93df9@toyota.co.za" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<font face="Verdana">Hello experts,</font><br>
<font face="Verdana"> </font><br>
<font face="Verdana">Ever since SAP introduced purchasing &quot;Enjoy&quot; transaction it is possible also to reject release of purchase requisition.</font><br>
<font face="Verdana">I've created a decision step with the following options:</font><br>
<font face="Verdana">1. Approve - in this case the workflow release using standard method &quot;Release&quot; of BUS2105.</font><br>
<font face="Verdana">2. Reject - in this case the workflow suppose to reject release. The problem is I could not find any BAPI nor standard function to execute reject (surprise surprise!!). I've tried to create FM based BDC - it works when testing the method but does not work through task (probably because of the RFC background call).</font><br>
<font face="Verdana"> </font><br>
<font face="Verdana">Any ideas? anyone fronted the issue?</font><br>
<font face="Tahoma"> </font><br>
<font face="Verdana">Thanks in advance,</font><font face="Tahoma"><br>
 </font>
<p><b><font color="#00007F" face="Verdana">Regards,<br>
Shai Eyal</font></b>
<p><b><font color="#000080" face="Verdana">SAP Logistics senior consultant<br>
SAP Workflow &amp; BPM specialist</font></b>
<p><a href="http://www.linkedin.com/in/shaieyal" target="_blank"><b><u><font color="#0000FF" face="Verdana">http://www.linkedin.com/in/shaieyal</font></u></b></a><b><font color="#000080" face="Verdana"><br>
Mobile: 972-52-5816633</font></b>
<p><font size="4"><br>
</font><hr width="100%" size="2" align="left"><a href="http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/aa/"><u><font size="4" color="#0000FF">Get your new Email address! </font></u></a><font size="4"><br>
Grab the Email name you've always wanted before someone else does!</font><tt>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
</tt><tt><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></tt><tt><br>
</tt>
<p></body></html>