Symptom
- An error occurs when attempting to delete empty storage bins.
- Error message: /SCWM/LC1224 - "Bin is still used in dependent objects (Define Resource Types) and cannot be deleted."
Environment
- Product: SAP S/4HANA Cloud Public Edition
- Master Data (Public Cloud)
Reproducing the Issue
- Open the app Edit Storage Bin.
- Select the warehouse.
- Enter the storage type and storage bin.
- Choose Delete.
Cause
- The storage bin is still used in dependent objects defined under Define Resource Types (a resource assignment exists that references the bin).
Resolution
- Identify the resource that still references the bin:
- 1. In the Warehouse Monitor, filter with Source Resource not empty and Destination Bin equal to the bin to be deleted.
- Reassign the resource:
- 1. Create and confirm a Warehouse Task for that resource to move it to a different bin.
- Retry deleting the bin using the Edit Storage Bin app.
- If the resource cannot be located via the monitor, please raise a ticket to SAP on component SCM-EWM-MD-2CL, SAP can help identify the blocking assignment by checking the relevant backend data for resource-to-bin references, then repeat steps 2–3.
SAP development has confirmed this resource check will be removed in the next release, preventing this situation from occurring again in the future.
See Also
Refer to: Information about support platforms
Keywords
/SCWM/LC1224, storage bin, delete bin, cannot delete bin, dependent objects, Define Resource Types, Warehouse Monitor, resource assignment, EWM, Edit Storage Bin, Warehouse Task, bin deletion error, storage type, destination bin, resource blocking , KBA , SCM-EWM-MD-2CL , Master Data (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public