How to add items to PO (with BAPI?)?
Hello!
Does anyone know how I can add items to an exsisting PO? With BAPI_PO_CHANGE I can change the current items, but we wish to delete the current item, and add a new item with a replacement material. This item should have a new item number as well.
Thanks already for all your suggestions!
Elvis
You may want to try a BDC.
You can use DELETE_IND of BAPIMEPOITEM to delete an item.
_________________
Cheers!
Sgabaper
Cheers.
Will try the BDC. Using the BAPI to add the itmes on the PO is driving me mad!
Setting the deletion indicator is also still not working. The BAPI can find the correct purchase order item, however the deletion indicator is not set. I'll use the BDC for this as well.
Did you also provide X for BAPIMEPOITEMX? Only then it will set the deletion indicator!
_________________
Cheers!
Sgabaper
Did you also provide X for BAPIMEPOITEMX? Only then it will set the deletion indicator!
_________________
Cheers!
Sgabaper