on 04-24-2012 3:40 PM
Hi Experts,
We have to reject the purchase requisition using abap code.
Can you please tell me how to achieve this?
Thanks in advance.
You can use BAPI_REQUISITION_RESET_REL_GEN if you reject all positions.
For your coding you first need to read the current status via BAPI_REQUISITION_GETRELINFO and then call BAPI_REQUISITION_RESET_REL_GEN in order to reject a distinct releasecode.
Regards, Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right, the Reject function is another thing. I also do not know of any simple way to achieve this.
There is an old version of a wiki page (now deleted!?) that contains some background information for the Enjoy MM transactions, maybe it can help:
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=68747607
Also this code could work out for you:
Message was edited by: Mark Teichmann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.