Hello Experts,
I am running the BAPI BAPI_PO_CREATE1 multiple times to create multiple PO's. But the material number is not getting updated properly and hence causing wrong material number in PO.
Suppose a PO got created with materials with four line items.
Material Quantity
100001 100
100001 150
100001 200
100001 110
and then i need a PO with a single line item with material 100002, the PO is getting created with the material 100001. I notice that the material which goes into the BAPI is correct(100002) but after the BAPI runs, it is giving the wrong material number(100001) and creating a PO.
B.R.