Symptom
Error message: 'There is still a stock in Warehouse' while attempting to remove the plant from the supplier.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Maintain Business Partner app.
- Open the Business Partner.
- Change display in Business Partner role to supplier.
- Navigate to supplier general data.
- Attempt to remove the assigned plant.
Cause
The plant cannot be removed from the supplier due to existing stock in the warehouse.
Resolution
Clear all stock for the specified Plant and Storage Location (Warehouse).
- Go the application 'Stock - Multiple Materials'.
- Use plant and storage location as filters to identify all materials in the warehouse.
- Clear stock for all identified materials.
Keywords
error message, stock in warehouse, plant removal, supplier, business partner, plant assignment, warehouse stock, public cloud, plant master, stock clearing, supplier general data , KBA , LO-MD-PL-2CL , Plant Master (Public Cloud) , LO-MD-BP-2CL , Business Partners for Public Cloud , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public