05-17-2005 8:03 AM
Hi all.
I need some help deleting services from a PO. I have tried BAPI_PO_CHANGE but it specifically says that it can not be used for deleting services only creating new ones. Does anybody know another way to delete services, is there a function module another BAPI or mabye another solution?
Regards
Liselotte Hjelmbjerg
05-17-2005 4:03 PM
Hi Liselotte,
You must use the customer exit 002 (actually function module EXIT_SAPL2012_002).
Inside you will find an Include (ZXMEWU09). This include you must create (if it doesn't exist already).
Now to delete any service you go to the table structure POSERVICES and set the field DELETE_IND to 'X' for each service you want to remove.
That's all.
Regards,
Rob.
05-25-2005 7:58 AM
Hi Rob.
I have tried the approach you suggested, but it does not seem to work. I set the delete_ind to 'X' for all the dervices i want to delete, and afterwards i call BAPI_TRANSACTION_COMMIT but nothing changes. What am i doing wrong?
Regards
Liselotte