delete and create PLAN/PPM

Question: hi folks..

i need to build a batch program for PPM conversion and if it does exists, i should replace it with the new PPM. therefor i need bapi/fm to delete and also for creating new PPM.

i tried both bapi : BAPI_PPMSRVAPS_DELMULTI_PLAN & BAPI_PPMSRVAPS_DELMULTI_PPM for deletion but both of them do not work.
i tried BAPI_PPMSRVAPS_SAVEMULTI_30A either to create a new PPM but i think i miss something and passed incorrect parameters perhaps

anybody knows how to do both delete and create PPM?
your feed back are valuable for me...
thank you

Answer:
Hi BetBoy,

Do you really need to delete and recreate the PPM ? Could you not simply make changes to the existing PPM ? If you can make the changes in R/3 and use CFP3 to send these changes to APO. This is also possible within the background program RSPPMCHG and this can be scheduled. This function DOES NOT delete the original PPM, only updates it.

Mark

Answer:
Try and use your Bapi in A program.
Add Commit Work after the call of the bapi
Copyright ?2007 - 2008 www.jt77.com