Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: /SCMTMS/TOR_OH -
Message number: 021
Message text: Hierarchy type must not be self-referential
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.
/SCMTMS/TOR_OH021
- Hierarchy type must not be self-referential ?The SAP error message
/SCMTMS/TOR_OH021
indicates that there is an issue with the hierarchy type configuration in the Transportation Management System (TMS). Specifically, it states that the hierarchy type must not be self-referential, meaning that a hierarchy cannot reference itself directly or indirectly.Cause:
This error typically occurs when:
- A hierarchy type is defined in such a way that it points back to itself, creating a circular reference.
- The configuration of the hierarchy types in the TMS is incorrect, leading to self-referential relationships.
Solution:
To resolve this error, you can follow these steps:
Check Hierarchy Configuration:
- Go to the TMS configuration settings in your SAP system.
- Navigate to the hierarchy type definitions and review the relationships defined for each hierarchy type.
- Ensure that no hierarchy type is set to reference itself directly or indirectly.
Modify Hierarchy Types:
- If you find a self-referential hierarchy, modify the configuration to remove the self-reference.
- Ensure that each hierarchy type has a clear parent-child relationship without looping back to itself.
Test Changes:
- After making the necessary changes, test the configuration to ensure that the error no longer occurs.
- You can do this by trying to execute the process that previously triggered the error.
Consult Documentation:
- Refer to SAP documentation or help resources for guidance on configuring hierarchy types correctly.
- If needed, consult with your SAP Basis or TMS consultant for assistance.
Transport Changes:
- If you are working in a development environment, ensure that any changes made are transported to the production environment after thorough testing.
Related Information:
/SCMTMS/CONFIG
for configuration settings.By following these steps, you should be able to resolve the /SCMTMS/TOR_OH021
error and ensure that your hierarchy types are configured correctly in SAP TMS.
Get instant SAP help. Sign up for our Free Essentials Plan.
/SCMTMS/TOR_OH020
Enter a grouping category
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SCMTMS/TOR_OH019
Cannot save data; consecutive hierarchy levels have same object type
What causes this issue? You have attempted to create two consecutive hierarchy levels with the same object type.System Response The system cannot sa...
/SCMTMS/TOR_OH022
Hierarchy type can only be specified once
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SCMTMS/TOR_OH023
Hierarchy type &1 not found
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.