How To Fix MSG_UH191 - Line &1: Contra item &2 does not exist in hierarchy.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: MSG_UH - Universal Hierarchy Message Class

  • Message number: 191

  • Message text: Line &1: Contra item &2 does not exist in hierarchy.

  • 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 MSG_UH191 - Line &1: Contra item &2 does not exist in hierarchy. ?

    The SAP error message MSG_UH191 with the description "Line &1: Contra item &2 does not exist in hierarchy" typically occurs in the context of hierarchical data structures, such as when working with cost centers, profit centers, or other organizational units in SAP. This error indicates that the system is unable to find a specified contra item in the defined hierarchy.

    Cause:

    1. Missing Hierarchy Entry: The contra item specified in the error message does not exist in the hierarchy that is being referenced. This could be due to:

      • The item not being created or activated in the hierarchy.
      • The item being deleted or deactivated.
      • A mismatch in the hierarchy levels or structure.
    2. Incorrect Configuration: The configuration settings for the hierarchy might be incorrect, leading to the system not recognizing the contra item.

    3. Data Entry Errors: There may be a typographical error in the contra item number or line number being referenced.

    Solution:

    1. Check Hierarchy Configuration:

      • Navigate to the relevant hierarchy in SAP (e.g., cost center hierarchy, profit center hierarchy).
      • Verify that the contra item exists and is active in the hierarchy.
      • If it does not exist, you may need to create it or activate it.
    2. Review Data Entry:

      • Double-check the contra item number and line number for any typographical errors.
      • Ensure that the correct hierarchy is being referenced in your transaction.
    3. Hierarchy Maintenance:

      • If you have the necessary authorizations, you can maintain the hierarchy by adding the missing contra item.
      • Use transaction codes like KSH1 (Create Cost Center) or KSH2 (Change Cost Center) to manage cost centers, or similar transactions for other organizational units.
    4. Consult Documentation:

      • Review SAP documentation or help files related to the specific module you are working with to understand the hierarchy structure better.
    5. Contact Support:

      • If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting with an SAP expert for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for managing hierarchies, such as:

      • KSH1: Create Cost Center
      • KSH2: Change Cost Center
      • KSH3: Display Cost Center
      • KCH1: Create Profit Center
      • KCH2: Change Profit Center
      • KCH3: Display Profit Center
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.

    • User Authorizations: Ensure that you have the necessary authorizations to view and modify the hierarchy settings.

    By following these steps, you should be able to identify and resolve the issue related to the MSG_UH191 error in SAP.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant