Skip to Content
Sep 08, 2010 at 04:59 PM

Issue while createing PO using BAPI_PO_CREATE1


Hello Experts,

I am creating PO's from the se38 program where in i have the option to select either simulation or a PO creation on the screen. In simulation i am checking the test run flag and giving the bapi return as output. So when i am doing a test run i am able to see the success message that the Function "Create purchse Order " performed in test run. But when i hit the create PO for the same details it is giving me a error message "No instance of Object type Purchase Order has been created. External referance:". There is field by name acknowl_no in poitem table of the FM by passing which i used to get the PO created prviously but now it should not be populated from the program for creating create On Hold PO. I am passing the all the check tables properly, (i hope that the field is not mandatory as in the FM documentation it was not mentioned so)

Any help is aprpreciated.

I guess there are several questions asked on this and i also searched for the same but i didnt found any one matching my requirement which made me to rise this question.