Symptom
- Unable to remove class in Material Master due to error 'Assignment & cannot be deleted' CL551
- Stock of material has been reduced to zero but still unable to remove class of class type 023 in the Material Master
Environment
SAP S/4HANA Public Cloud
Reproducing the Issue
- Open the app Change Material.
- Input Material Number.
- Go to Classification view.
- Select the class and press delete button.
- System shows error 'Assignment & cannot be deleted' CL551.
Cause
The material still has classified batches.
Resolution
There are two options.
Option 1: Delete the relevant classification used in classified batch with this class.
- Delete the classification in Change Batch app (MSC2N) under 'Classification' tab for all classified batches with this class.
- Delete the classification assignment from material master in the change material app
Option 2: Archive all the classified batch with this class.
- Make the inventory at the batch level to zero.
- Archive the batch using the archiving object LO_BATCH
- Delete the classification assignment from material master.
Keywords
KBA , CA-CL-2CL , Classification (Public Cloud) , How To
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public