Symptom
It's not being possible to delete Units of Measure due to error:
'Cannot change status of UoM X to In Preparation; it might be in use'.
'Save failed'
X represents Unit ID.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Business Configuration work center.
- Go to the Overview view.
- Search for Quantities and Units of Measure and open it.
- Click Create and Maintain Physical Units.
- Select the Unit and click Remove button.
- Save it.
Error occurs.
Cause
It's a product limitation.
It's worthy to note that Delete button will only be available for custom created Units of Measure. In order to enable the button you need to change Activation Status to In-Preparation and save it.
Resolution
As workaround, ignore the error message and proceed with deletion.
- Go to the Business Configuration work center.
- Go to the Overview view.
- Search for Quantities and Units of Measure and open it.
- Click Create and Maintain Physical Units.
- Select the Unit and change the status to In Preparation and click Save.
- The following error will occur:
'Cannot change status of UoM X to In Preparation; it might be in use'.
'Save failed'
- Ignore the error message and click Save and Close button.
- Open Quantities and Units of Measure again.
- It's possible to see that the status has changed to In-Preparation.
- Select the Unit, click Delete button and save it.
The Unit will be deleted.
Keywords
UoM, Remove button, In-Preparation, Custom, Remove , KBA , LOD-LE-RC-QC , Quantity Conversion , How To