SAP Knowledge Base Article - Public

3320557 - Unable to Delete Custom Unit of Measure

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

  1. Go to the Business Configuration work center.
  2. Go to the Overview view.
  3. Search for Quantities and Units of Measure and open it.
  4. Click Create and Maintain Physical Units.
  5. Select the Unit and click Remove button.
  6. 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.

  1. Go to the Business Configuration work center. 
  2. Go to the Overview view.  
  3. Search for Quantities and Units of Measure and open it. 
  4. Click Create and Maintain Physical Units. 
  5. Select the Unit and change the status to In Preparation and click Save.
  6. The following error will occur: 

    'Cannot change status of UoM X to In Preparation; it might be in use'.

    'Save failed'

  7. Ignore the error message and click Save and Close button.
  8. Open Quantities and Units of Measure again. 
  9. It's possible to see that the status has changed to In-Preparation.
  10. 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

Product

SAP Cloud for Customer add-ins all versions