I am trying to create the PO via BAPI manually, but not successful. Following are the steps:
1) In SE38, click on Function Module ->Test ->Test Sequences.
2) Enter BAPI_PO_CREATE and BAPI_TRANSACTION_COMMIT in the pop-up window. Click Execute.
3) Under Input Parameters, click on the PO Header icon.
4) Specify all the parameters and click the Green Arrow back to the BAPI screen.
5) Click Execute.
6) I got the Test Function Module: Result Screen. But I donu2019t get to see the PO is actually created and store in EKKO table
7) I checked the Return table now and it says:
A ME159 Function modules invoked in wrong sequence
What is wrong?