How To Fix PE872 - Person &1 &2 is locked by &3 and cannot be edited


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PE - Shift Planning: Messages

  • Message number: 872

  • Message text: Person &1 &2 is locked by &3 and cannot be edited

  • 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 PE872 - Person &1 &2 is locked by &3 and cannot be edited ?

    The SAP error message PE872 indicates that a specific personnel record (identified by the person ID and the personnel number) is currently locked by another user or process, preventing you from editing it. This is a common issue in SAP systems, especially in Human Capital Management (HCM) modules, where multiple users may attempt to access or modify the same data simultaneously.

    Cause:

    1. User Lock: The personnel record is locked by another user who is currently editing it.
    2. Background Jobs: A background job or process may be running that is accessing the same personnel data.
    3. Transaction Lock: The record may be locked due to a previous transaction that has not been completed or has encountered an error.
    4. System Configuration: Certain configurations in the system may lead to locks being held longer than necessary.

    Solution:

    1. Wait and Retry: If the lock is temporary (e.g., another user is editing the record), wait for a few moments and then try again.
    2. Identify the Locking User: Use transaction code SM12 to check for locks. You can enter the personnel number to see which user is holding the lock. If necessary, you can contact that user to coordinate access.
    3. Release the Lock: If you have the necessary authorizations, you can manually release the lock in transaction SM12. However, be cautious with this approach, as it may disrupt the work of the user who is currently editing the record.
    4. Check Background Jobs: Use transaction SM37 to check if there are any background jobs that might be locking the record. If you find any, you may need to wait for them to complete or contact the job owner.
    5. System Configuration Review: If this issue occurs frequently, it may be worth reviewing the system configuration and user access patterns to minimize locking issues.

    Related Information:

    • Transaction Codes:
      • SM12: To view and manage locks.
      • SM37: To monitor background jobs.
    • User Communication: If you identify the user who is locking the record, communicate with them to understand their needs and coordinate access.
    • SAP Notes: Check SAP Notes for any known issues or patches related to locking behavior in your specific version of SAP.
    • Documentation: Review SAP documentation for best practices on managing user access and minimizing locking issues.

    If the problem persists after trying these solutions, it may be necessary to involve your SAP Basis team or technical support for further investigation.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author