cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting Material using BAPI

former_member192892
Active Contributor
0 Kudos

Hi Guys,

I'm trying to delete a material, using BAPI_MATERIAL_SAVEDATA. The inputs i gave are the material number(Under Headdata Structure) and the Deletion Flag field as "X" (under ClientData structure). I'm also commiting the transaction..

But my material in SAP doesn't show a deletion flag to be set.

The doubt i have is, am i missing someother important field to do this??I tried using BAPI_MATERIAL_DELETE to achieve the same, but it is throwing me a weird exception when i make a call to the RFC.

Pls help me on this guys

Thanks

Varun

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member192892
Active Contributor
0 Kudos

The field MANUF_PROF was mandatory