11 Replies Latest reply: Nov 12, 2013 2:35 PM by kaleem s RSS

how to delete material

krishna mohan
Currently Being Moderated

hi gurus,

i want to delete one material whixh not using now.

want to know the process for that.


points will be awarded



  • Re: how to delete material
    buddi chidambareswararao
    Currently Being Moderated


    We can not delete existing material totally but we can put deletion indicator to it


  • Re: how to delete material
    Gianluca Liguori
    Currently Being Moderated

    Hi Rama,


    actually you can't delete a material code. You can only flag it for successive deletion. To set this indicator use T-code MM02 and then select from the menù: 'Material --> flag for deletion'


    See also 'Archiving Material Master Records (LO-MD-MM)' in the SAP library documentation .




  • Re: how to delete material
    Ahmad Ali Shaik
    Currently Being Moderated

    Hi Kishore,


    To delete a material Go to MM02 and in the Material tab page select flag for deletion. There you find two ways to set deletion flag to the material.


      1. Immediately

      2. Schedule


      If you select first option, you can set deletion flag immediately to the material.

      and by selecting second option you can schedule a date from which the material

      will be set an deletion flag.





  • Re: how to delete material
    sriram kiran
    Currently Being Moderated


        By going transaction MM06 you can have deletion indictor  to that particular material with that it cant be used in the Transactional data like VA01 ..........


    Reward points if helpful



  • Re: how to delete material
    Govind A
    Currently Being Moderated

    Hi Kishore,


    Delete materials permanently:

    How can we delete materials permanently from Material master?

    A: 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.


    Reward points if u helpful




  • Re: how to delete material
    Jayachandran Kasaragod Pallath
    Currently Being Moderated

    Hi Kishore


    we can only set delition indicator for the material. and master data like Material and customer cannot be deleted. both of the data cosume number range which cannot be re used.



  • Re: how to delete material
    Naveen Bathini
    Currently Being Moderated

    Dear Kishore,


    You cannot delete the material from material master until archiving. To archive the material master, first goto transaction MM71.


    Archiving Material Master:

    Transaction SARA contains all the SAP archiving objects for all the SAP R/3 applications modules.  All the SAP archive functions are shown in SARA.  Choose the corresponding SAP archive object, hit enter and the archive administration menu will be shown.  Provided here will be an example on how to archive the SAP Material Master.


    Archive a Material Master Record


    When a material is no longer required in a company or plant, you can archive and delete the material master record. 


    You have to Flag the material master record for deletion. This is known as logical deletion. 


    Before a material master record can be archived and deleted, other objects (such as purchasing documents) that refer to this material must themselves be archived. You can see which objects these are and the dependencies between them in the network graphic.


    If a material master record cannot be archived and deleted at a given organizational level, the reason is given in the log (for example, a purchase order exists for the material). The log also contains technical data such as the number of material master records read and the number deleted.


    Some of the archive error log message :-


    Costing data exists

    Use in routing

    Use in sales and distribution

    Use in bill of material

    Delivery exists

    Costing data exists

    Info record exists

    Purchase order exists

    The Archiving steps :- 

    Archiving object MM_MATNR for archiving material master records.


    You can display the archived data, but not reload it.


    To archive the material master, first goto transaction MM71.


    Type in a variant name and click Maintain.  (Tick the Test Mode for archive simulation).


    Save the variant.


    Maintain the Start date and Spool parameters and click execute.


    Click Goto Job Overview to check the archive status.



    To do a permanent delete, goto transaction SARA and click Delete button.


    Maintain the Archive Selection, Start date and Spool parameters.


    Click Test Session for testing or click execute to start the deletion program.


    Click Goto Job Overview to check the delete status.


    Now, if you goto MM02/MM03, you will not be able to find the record in the material master.




  • Re: how to delete material
    karthik karthik
    Currently Being Moderated



        Master data in sap can't be deleted how ever we can block the material and we can set the deletion flag for a particular material in the edit mode.




  • Re: how to delete material
    Currently Being Moderated

    u can't delete the material already created. But u can set the deletion flag to that material


    Tcode is mm02 amd goto material overview screen and then goto -->se deletion flag.

  • Re: how to delete material
    kaleem s
    Currently Being Moderated

    Hi Krishna,


    You can delete the material in MM02 click on material option in sap menu select the flag for deletion as per the business requirement immediate or scheduled and block the material as well.


    All the best