Material Master Archiving in Simple Method

 Material Master Archiving in Simple Method

Prerequisite

The Knowledge of SAP MM and program names are required to make use of this document in real practice.

Overview

For a material master record to be deleted by the archive and delete program, it must be flagged for deletion. All the information your company needs to manage a material is stored in a data record in the material master, sorted by various different criteria. When a material is no longer required in a company or plant, you can archive and delete the material master record.

Purpose

The aim of the document is to provide an understanding of the Simple method for Material Master archiving in SAP Materials Management.
If you created a material by error and you want to delete that material from the data base you can do it in simple 4 steps. The only condition is that the material has to have no material movement recorded. All the documents are closed to the particular material at the time only we can able to delete that material otherwise it will not allow deleting for the material.

Material Master Archiving Settings

Flag Material for Deletion

Flag Material for deletion in MM06 transaction. In this transaction give the material number alone.
Select the Material Check box and system automatically activate all the check boxes.
Press Save Icon

Selection of Materials Flagged for Deletion

Go to SE38 Transaction code and give the program name MMREO001
Execute the Program or Press F8
After Execution of the program give the material number and activate the select via status table check box deactivate Display without description and create output file check boxes.
Execute the Program or Press F8
Remember the material has to have no material movement recorded like no open PR, PO, Production order, Reservation, Stock etc….

Archive Materials

Go to SE38 Transaction code and give the program name MMREO050
Execute the Program or Press F8
Give the material number and activate the Test mode check box and execute it.
In test mode there is no error
Remove the Test mode check box and execute it.

Deletion Program for Archiving Materials

Go to SE38 Transaction code and give the program name MMREO110
Execute the Program or Press F8 Select the test mode check box and execute it.
Select first check box and continue
We can able to find the material up to test run of the deletion program
Remove the Test mode check box and execute
Press ok
Once the program is executed we will get a below message

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

Comments