How to add items to PO (with BAPI?)?

Question:
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
Answer:
You may want to try a BDC.
Answer:
You can use DELETE_IND of BAPIMEPOITEM to delete an item.
_________________
Cheers!
Sgabaper
Answer:
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.
Answer:
Did you also provide X for BAPIMEPOITEMX? Only then it will set the deletion indicator!
_________________
Cheers!
Sgabaper
Answer:
Did you also provide X for BAPIMEPOITEMX? Only then it will set the deletion indicator!
_________________
Cheers!
Sgabaper

More Articles:

How to send mail to external user with PDF Attachement?
HELP! SCROLLING IN BDC?
Require Help?
WRITE_TEXT?
interactive report!?
problem in BAPI_GOODSMVT_CREATE?