Storage Location Flag for Deletion

Once posting is done, storage location should not be deleted.   You should just Flag it for deletion so that user can still know what is the storage location use for when they check the past posting.  This can also help prevent it from being reused accidently in the future.
 
TCode: MM06
 
Tick the Storage Location
 
Save
 
Storage Location Flag for Deletion
 
However, user can still transact the flag for deletion storage location as the default is “Warning” message.  Therefore, you need to change the message to Error so that user cannot do any further posting.

Material ND2#SE SXXX XXC1 flagged for deletion

Message No. M7127

Diagnosis
The material master record V has been flagged for deletion.

System Response

Depending on the system setting, the system issues either a warning or an error message.
If the message is a warning (W), the system will accept your entry, but simultaneously issues a warning to prevent you from making the wrong entry.
If the message is an error message (E), the system will not accept your entry.

Procedure

Make sure your entries are correct.
Do you want to display the material master record?
Change the default Warning to Error
 
Tcode: OMCQ
 
Scroll to the item line as provided by the system which is M7 127
 
Change the Message Category from “W” to “E”.
 
Test it and then transport to your live system.
 
System Messages Flagged for Deletion
 
You are done.

SAP MM Tips

See also

Get help for your SAP MM problems
SAP MM Forums - Do you have a SAP MM Question?

SAP MM Books
SAP Material Management Certification, Interview and Configuration Reference Books

SAP Material Management Tips
SAP MM Configuration Tips and Materials Management Discussion Forum

Main Index
SAP ERP Modules, Basis, ABAP and Other IMG Stuff

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.