03-12-2008 5:01 PM
Hi,
I am using BAPI_MATERIAL_DELETE for deleting a material, but when I pass a material number to bapi in a program, it opens MM06 transaction , I do not want the screen to popup, the material should be marked in background. Please suggest how to do the above
thanks
bobby
03-12-2008 5:22 PM
BAPI_MATERIAL_DELETE
It does a call transaction from within a BAPI.
Try MATERIAL_UPDATE_LVORM
To delete materials permanently from Material master
Use transaction MM70 -
Material Master->Other->Reorganization->Material->Choose.
Build variant with selection range of material master records to be selected for deletion and maintain run parameters. Execute.
Use transaction MM71 -
Material Master-> other->Reorganization->Material
->Reorganization
Build a second variant
Maintain run parameters and execute.
It is also important to remove the records manually from info record, POs, PRs, reservation etc for successful deletion of the material.
Hope this helps.
Thanks,
Balaji
03-12-2008 5:22 PM
BAPI_MATERIAL_DELETE
It does a call transaction from within a BAPI.
Try MATERIAL_UPDATE_LVORM
To delete materials permanently from Material master
Use transaction MM70 -
Material Master->Other->Reorganization->Material->Choose.
Build variant with selection range of material master records to be selected for deletion and maintain run parameters. Execute.
Use transaction MM71 -
Material Master-> other->Reorganization->Material
->Reorganization
Build a second variant
Maintain run parameters and execute.
It is also important to remove the records manually from info record, POs, PRs, reservation etc for successful deletion of the material.
Hope this helps.
Thanks,
Balaji
02-05-2009 6:14 AM