Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix /SCMTMS/TOR_OH021 - Hierarchy type must not be self-referential


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SCMTMS/TOR_OH -

  • Message number: 021

  • Message text: Hierarchy type must not be self-referential

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message /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:

    1. A hierarchy type is defined in such a way that it points back to itself, creating a circular reference.
    2. 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:

    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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:

    • SAP Notes: Check for any relevant SAP Notes that might provide additional insights or patches related to this error.
    • Transaction Codes: Familiarize yourself with transaction codes related to TMS configuration, such as /SCMTMS/CONFIG for configuration settings.
    • Community Forums: Engage with SAP community forums or support channels for shared experiences and solutions from other users who may have encountered the same issue.

    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.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker