Skip to Content
author's profile photo Former Member
Former Member

how to delete master data of materials from sap tables

how to delete master data of materials from sap tables...its needed now.

i know its not recommended but still we need to do this. give me the best possible approach.

regards,

suneetha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:05 AM

    Consider using archive object: <b>MM_MATNR</b>.

    Transaction: <b>SARA</b>.

    Please do not try to use the object if you are not totally sure...

    Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:31 AM

    Hi,

    I would suggest you not to write your own code to delete the entries.

    BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.

    Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.

    Regards

    Subramanian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.