‎2009 Feb 23 11:40 AM
BAPI_PO_CREATE
if we r calling this BAPI in the program and pass the value to its parameters then the PO will be created.
Question is can we try to call this BAPI manually ,specify its parameter and execute it manually so that PO will be created also?
Please advice .Thank you in advance.
‎2009 Feb 23 11:50 AM
Hi Saurabh
You mean calling it via se37? i belive you can create a PO doc assuming you supplied the required parameters.And make sure you execute it using se37 menu function module -> test -> test sequence->so that you can also specify BAPI_TRANSACTION_COMMIT which you'll need.
Regards
Sachin
‎2009 Feb 23 11:45 AM
‎2009 Feb 23 11:50 AM
Hi Saurabh
You mean calling it via se37? i belive you can create a PO doc assuming you supplied the required parameters.And make sure you execute it using se37 menu function module -> test -> test sequence->so that you can also specify BAPI_TRANSACTION_COMMIT which you'll need.
Regards
Sachin
‎2009 Feb 23 11:52 AM
Yes you can call the BAPI manually.
it will get creted your PO, only if after calling you need to do the commit.
for that you have to do one thing.
Go to SE37 ( dont go inside the FM)
1) Funtion module ---> Test --->Test Sequeance.
2) there you have to giive the BAPI_PO_CREATE and BAPI_TRANSACTION_COMMIT.
so that once that FM it will excecute both the BAPI's and your PO will be created
Regards!
‎2009 Feb 23 12:11 PM
Yes the Bapi will create the purchase order
Go to se37 and execute the function module
The data which you normally give for the creation of a PO pass all those.
Also give commit work as 'X'.
‎2009 Feb 24 11:04 AM