Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a transaction to delete an article (Material Number) from SAP?

0 Kudos

Hello SAPients!

Does anybody know: Is there a transaction (or FM) to delete an article (material number from SAP ?

Thanks!

6 REPLIES 6

Former Member
0 Kudos

First you have mark the article for deletion using MM06 and then you can archive and delete using MM71.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can only flag the material for deletion. You do this via MM02, or you can do it via BAPI_MATERIAL_SAVEDATA. THe material can only be fully deleted when the archive process has been ran for the object.

Regards,

Rich Heilman

0 Kudos

Is it the same procedure to delete a Vendor? Do you know the transaction code?

Thanks!

0 Kudos

I believe that most objects in the system only allow you to flag for deletion, not all, but most. You can delete a vendor(or flag for deletion) using the transaction XK02.

Regards,

RIch Heilman

0 Kudos

Yes it is the same procedure but the tcodes are different. For vendors it will be XK06 for marking for deletion. The generic archiving transaction is SARA and the archive object for vendors is FI_ACCPAYB.

0 Kudos

Thanks!