Hi guys,
I have come to crucial point.
I need to delete all those materials from the master tables
which no PO ,Material Document and no STOCK is there and some
other criteria.
Kindly somebody give me some light for this query.
If its not advisable how to approch for it and what
will be strategy?
Thanks a million.
Hi,
For deleting the material use the BAPI BAPI_MATERIAL_SAVEDATA...
In the parameter HEADDATA-MATERIAL pass the material number.
In the parameter CLIENTDATA-DEL_FLAG = 'X'
In the parameter CLIENTDATAX-DEL_FLAG = 'X'.
Then give COMMIT WORK..
Thanks,
Naren
Add a comment