BAPI/FM to Reject/Approve PO
source link: https://answers.sap.com/questions/6110445/bapifm-to-rejectapprove-po.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Hi All,,
We have a workflow senario in which user has to approve / reject the PO ....thru web application ....Accordingly SAP RFCu2019s can be triggered to perform this task...
So i need a BAPI for that senario.....
Please suggest...
Rahul
I am using following Fm in my PO Approval workflow. Try with the same.
FM name is ME_RELEASE_PURCHASE_DOCUMENT and BAPI_PO_RELEASE .
Regards,
hi Schadler
Please let me know the FM for rejection PO
Thanks in advance.
saikumar
Try using FM
BAPI_ACC_PURCHASE_ORDER_POS
Best of Luck!!
thanks
Hello,
I've the same thing to do. The decision approval or rejection will be done in a web-application in combination with a workflow.
To release a purchaseorder I use BUS2012 method release = FM BAPI_PO_RELEASE (Input-param. purchaseorder, releasecode).
To reject a purchaseorder (like in transaction ME29N) - I haven't found a function (FM, method) to do this.
A FM like BAPI_PO_REJECT (input-param. purchaseorder, releasecode) or something similar I haven't found in SAP-Standard...FM BAPI_PO_RESET_RELEASE is not useable to reject a PO.
I would be very happy, if somebody could give me a hint about existing codings/functions that helps me to develope an own function to reject a PO (Input-param. purchaseorder, releasecode).
@Rahul: you said 'i got it...' ... please let me know what 😊 !
Best regards,
Dieter
Edited by: Dieter Schadler on Jun 17, 2009 1:42 PM
Hai Rahul,
Try this BAPI
BAPI_PO_CHANGE.
Hope this helps,
Cheers,
Suvendu
Dear Rahul,
Can you please tell the FM for PO Rejection.
Regards,
Senthil
HI all,
We had a requirement only for rejection ...so we did BDC of ME29N.....
Thanks
Rahul
a little bit late....but my experience regarding this topic
At the moment there is only ME29N in SAP-standard available to reject a PO...
This means two possibilities to solve it:
- like Rahul above with BDC-technique for ME29N
- or maybe directly in table EKKO (the only changed table I found out - tests afterwards were positive) - but usually not compliance conform ... and not really to recommend
If somebody has another solution...please let us know.
Before answering
You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK