How To Fix RH104 - The Hierarchy '&2' is Currently Locked by User &1


SAP Error Message - Details

  • Message type: E = Error

  • Message class: RH - BW: Hierarchies ( basic functions )

  • Message number: 104

  • Message text: The Hierarchy '&2' is Currently Locked by User &1

  • Show details Hide details
  • What causes this issue?

    The hierarchy is currently locked by user &V1&.

    System Response

    The selected action could not be executed.

    How to fix this error?

    Please inform user &V1&. After he or she has finished editing you can
    execute action.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message RH104 - The Hierarchy '&2' is Currently Locked by User &1 ?

    The SAP error message RH104 indicates that a specific hierarchy (identified by '&2') is currently locked by a user (identified by '&1'). This typically occurs in the context of SAP HR (Human Resources) or SAP Organizational Management (OM) when a user is trying to access or modify a hierarchy that is already being edited or processed by another user.

    Cause:

    1. User Locking: The hierarchy is locked by another user who is currently making changes or has opened the hierarchy for editing.
    2. Session Timeout: Sometimes, a user may have left a session open, causing the hierarchy to remain locked even after they have stopped working on it.
    3. System Error: Occasionally, system errors or crashes can lead to a hierarchy being left in a locked state.

    Solution:

    1. Wait for Release: The simplest solution is to wait until the user who has locked the hierarchy completes their work and releases the lock.
    2. Identify the User: If you have the necessary permissions, you can identify the user who has locked the hierarchy using transaction code SM12 (Display and Delete Locks). This will show you the list of locks and the users associated with them.
    3. Contact the User: If possible, contact the user who has the hierarchy locked and ask them to release it.
    4. Force Unlock: If the user is unavailable and the lock is causing significant issues, a system administrator can use transaction code SM12 to delete the lock entry. However, this should be done with caution, as it may lead to data inconsistencies if the user was in the middle of making changes.
    5. Check for Background Jobs: Sometimes, background jobs may also lock hierarchies. Check if there are any running jobs that might be causing the lock.

    Related Information:

    • Transaction Codes:

      • SM12: To view and manage lock entries.
      • SM21: To check system logs for any related errors or issues.
      • SU01: To manage user accounts and check user activity.
    • Best Practices:

      • Encourage users to log out of sessions when they are done to prevent unnecessary locks.
      • Implement a policy for handling locks, especially in environments where multiple users may need to access the same hierarchies.
    • Documentation: Refer to SAP Help documentation for more details on handling locks and managing user sessions effectively.

    By following these steps, you should be able to resolve the RH104 error and manage hierarchy locks in SAP effectively.

    • 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:
  • RH103 Error & when reading the hierarchy
    What causes this issue? When reading the hierarchy, error &V1& occurred.System Response The system could not read the hierarchy and the acti...

  • RH102 Inconsistent hierarchy data
    What causes this issue? The hierarchy data is not consistent on the database.System Response The system could not carry out the selected action.How ...

  • RH105 The hierarchy is currently locked
    What causes this issue? The hierarchy is currently locked.System Response The selected activity could not be executed.How to fix this error? Attemp...

  • RH106 Enter an InfoObject
    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.


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