‎2007 Apr 22 3:40 AM
Hi Experts ,
I am trying to create Purchase Order from Purchase requisition using BAPI_PO_CREATE1.I nvr worked on BAPI'S earlier, i would appreciate if anyone can post a sample BAPI program or a sample prg to create PO using bapi_po_create1.
Thx ,
~R
‎2007 Apr 22 1:53 PM
The BAPI you are using is for PO creation, not Purchase REQ.
For this purpose you should be using one of the following:
BAPI_REQUIREMENT_CREATE
or
BAPI_REQUISITION_CREATE
or
BAPI_PR_CREATE.
Go to transaction BAPI and get all the documentation about it there. You can also get extensive documentation of the bapi in SE37 - DOCUMENTATION
In a program, you just need to call the BAPI as a normal function module, passing the required parameters.
Check the returning messages and if it all ok, call BAPI_TRANSACTION_COMMIT after.
Good Luck,
Leonardo De Araujo
‎2007 May 01 4:07 PM
See this blog
/people/sap.user72/blog/2005/03/22/sample-code-to-create-purchase-order-using-bapi-in-r3
If it is useful award points