Symptom
Unable to restrict Storage Location for business user in Goods Movements posting.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open Post Goods Movement app.
- Select Goods Receipt / Other / Movement type 561.
- Enter in material, plant, storage location and quantity fields.
- For field Storage Locations, all values are available.
However the user should have access only to certain Storage Locations, not all of them.
From the Business role that the user is assigned to, it is not possible to restrict on the Storage Locations level.
Cause
The majority of the catalogs within Inventory/Warehouse, the restriction is based on "Plant" and "Movement Type" fields. There are no restrictions on Storage Location.
Within the Public Cloud, the authorization object for the Storage Location 'M_MSEG_LGO' is not included in the business roles / catalogs. Currently there is no SSCUI / CBC available to change this setting.
Resolution
There is a workaround via customization. From MIGO, we can use the check BAdi "MMIM_ITEM_CHECK_DATA". The parameter STORAGELOCATION is available here. You can code a check and raise an error regarding the Storage Location value during the Post Goods Movement posting.
See Also
- Help Portal: App Extensibility: Post Goods Movement
Keywords
Storage Location, restrict, Business User, Goods movements, Post Goods Movement app, Plant, M_MSEG_LGO, MIGO, MMIM_ITEM_CHECK_DATA, STORAGELOCATION , KBA , MM-IM-GR-MIGO-2CL , Goods Receipt from External Procurement (MIGO) (Public Cld) , How To
SAP Knowledge Base Article - Public