How To Fix HRPADRU_ETK021 - Employee &1 is not locked


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPADRU_ETK - ETK message class

  • Message number: 021

  • Message text: Employee &1 is not locked

  • Show details Hide details
  • What causes this issue?

    Employee is not locked by the caller.

    System Response

    The system displays an error.

    How to fix this error?

    Employee must be locked by the calling object.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPADRU_ETK021 - Employee &1 is not locked ?

    The SAP error message HRPADRU_ETK021, which states "Employee &1 is not locked," typically occurs in the context of HR (Human Resources) processes, particularly when trying to perform actions on an employee record that is expected to be locked for editing or processing.

    Cause:

    1. Employee Status: The employee record may not be in a status that requires it to be locked. For example, if the employee is active and there are no ongoing processes that require locking, the system will not lock the record.
    2. Process Requirements: Certain HR processes (like payroll processing, time management, etc.) may require the employee record to be locked. If the system checks for a lock and finds none, it will trigger this error.
    3. Configuration Issues: There may be configuration settings in the SAP system that dictate when and how employee records are locked, which could lead to this error if not set up correctly.

    Solution:

    1. Check Employee Status: Verify the status of the employee in question. If the employee is active and there are no pending HR processes, the record will not be locked.
    2. Lock the Employee Record: If you need to perform an operation that requires the employee record to be locked, you may need to manually lock the record using the appropriate transaction code (e.g., PA30 for maintaining HR master data).
    3. Review Process Requirements: Ensure that the process you are trying to execute is appropriate for the employee's current status. If the process requires the employee to be locked, ensure that all prerequisites are met.
    4. Consult Documentation: Review SAP documentation or consult with your SAP HR module expert to understand the specific requirements for locking employee records in your system.
    5. Check Configuration: If the issue persists, it may be necessary to review the configuration settings related to employee locking in the SAP system. This may require assistance from an SAP Basis or HR consultant.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA30 (Maintain HR Master Data), PA40 (Personnel Actions), and others that may be involved in HR processes.
    • SAP Notes: Check for any SAP Notes related to this error message for potential patches or updates that may address the issue.
    • User Authorizations: Ensure that the user attempting to lock or process the employee record has the necessary authorizations to perform these actions.

    If the problem continues after following these steps, it may be beneficial to engage with your SAP support team or consult SAP's support portal for further assistance.

    • 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