Do you have any question about this error?
Message type: E = Error
Message class: COM_HIERARCHY - Hierarchy
Message number: 021
Message text: 'Automatic no. assignment' cannot be changed as categories exist
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
COM_HIERARCHY021
- 'Automatic no. assignment' cannot be changed as categories exist ?The SAP error message COM_HIERARCHY021 indicates that there is an issue with the automatic number assignment for a hierarchy in the SAP system. Specifically, it means that the system is unable to change the automatic number assignment setting because there are existing categories that depend on this setting.
Cause:
The error occurs when you attempt to change the automatic number assignment for a hierarchy (such as a cost center hierarchy or a profit center hierarchy) while there are already existing categories or elements that have been assigned numbers based on the current settings. The system prevents this change to maintain data integrity and consistency.
Solution:
To resolve this error, you can follow these steps:
Check Existing Categories: Review the existing categories or elements in the hierarchy to understand which ones are currently using the automatic number assignment.
Remove Dependencies: If possible, remove or reassign the existing categories that are dependent on the automatic number assignment. This may involve:
- Deleting the categories if they are no longer needed.
- Changing the number assignment method for these categories to a manual assignment if applicable.
Change the Setting: Once there are no existing categories that depend on the automatic number assignment, you can proceed to change the setting in the configuration.
Recreate Categories: If you need to keep the existing categories, consider recreating them after changing the automatic number assignment setting.
Consult Documentation: Refer to SAP documentation or help resources for specific steps on how to manage hierarchy settings in your version of SAP.
Seek Help from SAP Support: If you are unable to resolve the issue, consider reaching out to SAP support or your internal SAP team for assistance.
Related Information:
By following these steps, you should be able to address the COM_HIERARCHY021 error and successfully change the automatic number assignment setting.
Get instant SAP help. Start your 7-day free trial now.
COM_HIERARCHY020
Enter a numbering scheme; automatic number assignment is active
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
COM_HIERARCHY019
Standard scheme &1 does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
COM_HIERARCHY022
'Multi Systems' cannot be deleted as categories exist with same ID
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
COM_HIERARCHY023
Enter a root category for hierarchy &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.