Purpose
This content was written to explain the process of deleting a material in material master.
Overview
Materials cannot be just deleted and instead must be deleted and then archived in your system. The recommended way to do this in Material Master is to complete the following steps:
Step 1 - Firstly set the deletion flag for the material:
This step is not mandatory however it would be recommended so as to avoid deleting materials by mistake. See point number two of the "Write"job below for further details.
1. | => Run transaction MM06 | |
---|---|---|
2. | => Select the levels that you wish to delete the material on. You can set deletion |
Step 2 - Secondly run an archive "Write" job:
This job can be run in a number of ways including using transactions SARA, MM71 & running report MMREO050N directly.
Running an archive "Write" job directly using report MMREO050N: | ||
---|---|---|
1. | => Run transaction SE38 | |
2. | => Enter the material name. |
Running an archive "Write" job using transactions SARA and MM71 | ||
---|---|---|
1. | => Run transaction SARA => Archiving Object MM_MATNR => Return. | |
2. | => Select "Write". => Variant field: Add a name for your reference. => Select "Maintain". Note that transaction MM17 will bring you straight to this step. | |
3. | => Select "For all selection screens". => Select "Continue". | |
4. | => Enter the material name. => ILM Actions: Select "Archiving". => Processing Options: Select "Production mode". => Detailed log: Select whatever log is required. However a "Complete” => Log output: Select whatever log output is required. => Archiving Session Note: Add a note here for your own future => Selact "Variant Attributes". | |
5. | => Description field: Add a name for your reference. => Select the "Save" icon. => Select the "Back" icon. | |
6. | => Select "Start Date". => Select time as required (Immediate for example). => Save. | |
7. | => Select "Spool Params." => Select "Ok".
| |
8. | => Select "Execute".
|
Step 3 - Finally run an archive "Delete" job:
This job can be run in a number of ways including using transactions SARA, MM72 & running report MMREO110N directly.
Running an archive "Delete" job directly using report MMREO110N | ||
---|---|---|
1. | => Run transaction SE38 | |
2. | => Processing options: Select “Production mode”. | |
3. | => Highlight the created archive write job |
Once these steps have been completed the material has been fully deleted & archived in your system.
Please note that the same checks are run in both archive "Write" and "Delete" jobs. This is to make sure that the material has not been used between running them. However, it is recommended to run the archive "Write" and "Delete" jobs after each other.