We tried a scenario as mentioned in the subject line. Here we used BAPI_PO_CREATE function module. All the configuration part ismok. When executed in the return parameter we are getting error message as Purchase Org not found. However when executed the same in SAP server with this data the Purchase order is getting created. I hard coaded all the Header data , this time I got a strange message saying Vendor data is not maintained in Vendor MAster.
Could anybody guide me how to go ahead.