Skip to Content
0
May 20, 2018 at 07:04 AM

How to change a PO Item using bapi_po_change

1534 Views

HI Abapers,

I encountered some problems: when I use "BAPI_PO_CHANGE" to change the Prod. Storage location in the component of the PO item (CH88 is changed to CH40).

(1) If I pass RSPOS(select from RESB) to ITEM_NO in the POCOMPONENTX,the Prod. Storage location would not change. If I pass POSNR(select from RESB)to ITEM_NOin the POCOMPONENTX,the Prod. Storage location would be changed,but if there is more than one same item number(POSNR),the first line in the component with the same item number will be changed even if its Prod. Storage location is not CH88.

(2)when I run this bapi,even if I only change the

Prod. Storage location ,the BOM item in the component will be change to

0010.0020.0030....

Looking forward for your help.

best Regards!

Ruhua.Chen