You are on page 1of 13

How To Deactivate Storage Location In S/4

HANA
18207,759

Introduction: To initiate, it’s worth considering how often clients have asked you to deactivate storage
locations within a plant during your SAP career. This may have happened numerous times, prompting the
following question: what’s the solution for deactivating them? Deleting the storage location after it’s been
created isn’t the best because it can lead to database inconsistencies (Table: MARD has Material, Plant,
and Storage Location combination). Therefore, one possible solution is to rename the storage location
name as “DON’T USE,” which will make it clear to users that it’s no longer in use. After renaming it to
“DON’T USE,” the storage location will still appear in the dropdown list, and the possibility that the user
will create/extend materials to a storage location.

The configuration in S/4 HANA now allows for the deactivation of storage locations, a functionality not
previously available in SAP. Note: This is performed on S4HANA ON PREMISE – 2021 Version.

Configuration:

IMG SPRO –> IMG –> Enterprise Structure –> Definition –> Materials
Path Management –> Maintain storage location (T-code: OX09)

Validity

As shown above, SAP has now introduced Validity Field with Dropdown Value as
 Blank – Valid. This means the entry is valid and is displayed in input help. The user can select this
valid entry.
 E – No Longer Valid. The entry is invalid and is no longer displayed in input help.
 W – Deprecated. The entry will no longer be used in the future but is still displayed in input help.
The system warns if the user selects this entry in input help.

Scenario 1: Change Validity from Blank to E – No Longer Valid

T-code: OX09

Configuration Change
Configuration Change
Configuration Change to E
Validity E
 Create New Material using T-code: MM01.

MM01 Validation

 If we tried to extend the material to the storage location using T-code: MMSC, then values don’t
appear.
MMSC Validation

Scenario 2: Change Validity from Blank to W – Deprecated

T-code: OX09
Configuration Change
Configuration Change
Configuration Change to W
Validity W

 Create New Material using T-code: MM01.


MM01 Validation
MM01 Validation for SL

 If we try to extend the material to the storage location using T-code: MMSC, it will show a
warning message.
MMSC Validation

Conclusion:

 With SAP S/4 HANA, we can now use validity functionality to control the storage location
validity Vs. just using a description.

You might also like