Do you have any question about this error?
Message type: E = Error
Message class: MM - Messages for material master maintenance and Customizing
Message number: 021
Message text: The unit & is still used as the issue unit for material & in plant &
The unit of measure &V1& is still used as the
<DS:GLOS.unit_of_issue>unit of issue</> in at least one plant and may
not therefore be deleted.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
If you want to delete the unit of measure nevertheless, change the unit
of issue to another unit in the plants concerned.
Error message extract from SAP system. Copyright SAP SE.
MM021
- The unit & is still used as the issue unit for material & in plant & ?The SAP error message MM021 indicates that a specific unit of measure (UoM) is still being used as the issue unit for a material in a particular plant. This typically occurs when you attempt to delete or change the unit of measure in the material master data, but the system prevents this action because the unit is still actively linked to transactions or configurations.
Cause:
- Active Transactions: The unit of measure is currently being used in stock movements, purchase orders, sales orders, or other transactions.
- Material Master Configuration: The unit of measure is defined as the issue unit in the material master, and the system does not allow changes if it is still in use.
- Dependencies: There may be dependencies in the configuration or other related master data that prevent the change.
Solution:
To resolve the MM021 error, you can follow these steps:
Check Active Transactions:
- Review any open purchase orders, sales orders, or stock movements that may be using the unit of measure in question.
- If there are active transactions, you may need to complete or cancel them before making changes.
Review Material Master Data:
- Go to the material master record (transaction code MM03) and check the unit of measure settings.
- Ensure that the unit you are trying to delete or change is not set as the issue unit.
Change Unit of Measure:
- If you need to change the unit of measure, you may need to first change the issue unit in the material master to another valid unit.
- After changing the issue unit, you can then proceed to delete or modify the original unit of measure.
Use Transaction Codes:
- Use transaction code MM02 to change the material master data.
- Use transaction code MM03 to view the current settings and dependencies.
Consult Documentation:
- Review SAP documentation or help files for additional guidance on managing units of measure in the material master.
Check for Customizations:
- If your organization has custom developments or enhancements, check with your SAP support team to see if there are any specific rules or processes in place that might affect unit of measure changes.
Related Information:
If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant for further assistance.
Get instant SAP help. Start your 7-day free trial now.
MM020
The unit & is still used as the order unit for supplier &
What causes this issue? The unit of measure &V1& is still used as the <DS:GLOS.order_unit>order unit</> in at least one <DS:GL...
MM019
The sales unit for the material & may not be deleted
What causes this issue? The unit of measure is used as the <DS:GLOS.3526C7F2AFAB52B9E10000009B38F974>sales unit</> and cannot therefore b...
MM022
& is still used as the sales unit for material & in distr. chain &/&
What causes this issue? The unit of measure &V1& is still used as the <DS:GLOS.sales_unit>sales unit</> in at least one <DS:GL...
MM023
& is still used as the production unit for material & in plant &
What causes this issue? The unit of measure &V1& is still used as the <DS:GLOS.production_unit>production unit</> in at least one...
Click on this link to search all SAP messages.