<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML 
dir=ltr><HEAD><TITLE>How to Reject a Purchase Requisition programatically</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.2817" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=039425016-10012007><FONT face=Arial 
color=#0000ff size=2>Thanks for the reply Alon.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=039425016-10012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=039425016-10012007><FONT face=Arial 
color=#0000ff size=2>In ECC there is a nice little reject button, and an undo 
reject button.&nbsp; I was hoping someone may have done the legwork to find out 
what is happening behind the scenes.&nbsp; I may have to get&nbsp;someone who is 
a&nbsp;much better debugger than myself to have a look!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Alon Raskin<BR><B>Sent:</B> 
Tuesday, January 09, 2007 6:00 PM<BR><B>To:</B> SAP Workflow Users' Group; 
sap-wug@mit.edu<BR><B>Subject:</B> RE: How to Reject a Purchase Requisition 
programatically<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText5583 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Mark,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Happy Birthday for August! </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I never did find a way of doing this. I got 
the impression that there really is no rejection functionality. All there is 
that the PR simply never gets released and that is basically what stops it from 
being included in a PO. There is a BAPI for Deleting a PR called 
BAPI_REQUISITION_DELETE which could be used to delete PRs that were never 
released.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Of course, I am not a functional expert in 
this area so I would love some feedback from others on this.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Regards,</FONT></DIV><FONT face=Arial 
size=2></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT><FONT face=Arial 
size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Alon</FONT> 
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on 
behalf of Griffiths, Mark<BR><B>Sent:</B> Tue 1/9/2007 12:52<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> How to Reject a Purchase Requisition 
programatically<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>Hello All,<BR><BR>A google of the WUG shows that last August (on 
my birthday<BR>coincidentally) Alon was looking for a way of programmatically 
rejecting<BR>a Purchase Requisition, Richard Marut said he had a way of doing 
this<BR>but he couldn't find it!&nbsp; I couldn't find any subsequent posts - 
Alon<BR>did you manage to get this worked out?<BR><BR>Similarly on SDN there is 
an 18 month old thread searching for a way of<BR>doing this with no answer 
(opportunity for someone to earn some points).<BR><BR>Did anyone ever come up 
with an answer? I tried debugging the ME54n<BR>transaction but have had no luck 
so 
far.<BR><BR>Regards,<BR><BR><BR>Mark<BR><BR>_______________________________________________<BR>SAP-WUG 
mailing list<BR>SAP-WUG@mit.edu<BR><A 
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></FONT></P></DIV></BODY></HTML>