Skip to Content
Former Member
Aug 03, 2009 at 10:30 PM

Changing a Purchase Order with "BAPI_PO_CHANGE"


Hi Experts,

I am trying to change the Confirmation data for an existing PO using the BAPI "BAPI_PO_CHANGE".

I am filling the PO Number in the "PURCHASEORDER" Import parameter.

I am also filling the "CONF_TYPE", "DELIV_DATE" and "QUANTITY" fields in the "POCONFIRMATION" Table parameter which is specifically the data i need to add to the existing PO under the "Confirmations" tab of the PO.

I am getting all the input data for the BAPI from a file on the presentation server. The file has details of Material Number, Purchase Order Number, Ship to Address, Delivery Date and Quantity.

But i am not able to change any data in the Purchase Order when i test the BAPI. I am getting the following messages in the "RETURN" Tables parameter:



W ME 667 Max. line number reached (Please always first enter line number manually)

E BAPI 003 Instance 45317399 of object type PurchaseOrder could not be changed

W ME 178 Batch SURE not maintained for material 10013537 (please check your input)

E 06 218 Net price must be greater than 0

I am not sure if i am missing to fill any parameter here.

Kindly help me in resolving this issue.

Thanks in advance.