How To Fix CMMD047 - Hierarchy & is locked by user &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: CMMD -

  • Message number: 047

  • Message text: Hierarchy & is locked by user &

  • Show details Hide details
  • What causes this issue?

    The article hierarchy is locked by a user, who is creating the
    hierarchy with the same hierarchy ID.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    The user who set the lock, must also remove it.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message CMMD047 - Hierarchy & is locked by user & ?

    The SAP error message CMMD047 indicates that a hierarchy is locked by a specific user. This typically occurs in the context of SAP's Master Data Management, particularly when dealing with hierarchies in areas such as Cost Center Accounting, Profit Center Accounting, or other modules that utilize hierarchical structures.

    Cause:

    1. User Locking: The hierarchy is currently being edited or processed by another user, which prevents other users from making changes to it.
    2. Transaction in Progress: A transaction that involves the hierarchy is still in progress, and the system locks it to maintain data integrity.
    3. System Error: Occasionally, a system error or an unexpected termination of a session can leave a hierarchy in a locked state.

    Solution:

    1. Wait and Retry: If the hierarchy is locked by another user, the simplest solution is to wait until that user has completed their work and released the lock.
    2. Identify the Locking User: You can use transaction codes like SM12 (to view and manage locks) to identify which user is holding the lock. Once identified, you can contact that user to see if they can release the lock.
    3. Release the Lock: If the locking user is unavailable and you have the necessary authorizations, you can manually release the lock using transaction SM12. Be cautious with this approach, as it may lead to data inconsistencies if the other user is still working on the hierarchy.
    4. Check for Background Jobs: Sometimes, background jobs may hold locks. You can check for any running jobs using transaction SM37 and see if any jobs are related to the hierarchy in question.
    5. System Restart: In rare cases, if the lock persists and cannot be resolved through the above methods, a system restart may be necessary to clear any lingering locks.

    Related Information:

    • User Authorizations: Ensure that you have the necessary authorizations to view and manage locks in the system.
    • Documentation: Refer to SAP documentation or help resources for more detailed information on managing locks and hierarchies.
    • Support: If the issue persists and cannot be resolved, consider reaching out to your SAP support team or consulting SAP Notes for any known issues related to this error message.

    By following these steps, you should be able to address the CMMD047 error and regain access to the locked hierarchy.

    • 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'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