How To Fix PG509 - Some personnel numbers in this payroll area are still locked


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PG - Error Messages for Master Data Programs

  • Message number: 509

  • Message text: Some personnel numbers in this payroll area are still locked

  • Show details Hide details
  • What causes this issue?

    Some personnel numbers in payroll area &V1& are still locked because
    they are currently being processed.

    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?

    Display these numbers using the menu option <ZH>Locked pers.nos</>.
    Use the <ZH>Select locked entries</> transaction (SM12) to display
    locked PREL entries and the users who are locking these.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PG509 - Some personnel numbers in this payroll area are still locked ?

    The SAP error message PG509, which states "Some personnel numbers in this payroll area are still locked," typically occurs during the payroll processing when certain personnel numbers (employees) are locked for payroll processing. This can happen for various reasons, such as:

    Causes:

    1. Locked Personnel Numbers: The personnel numbers may be locked due to ongoing payroll processing, or they may have been manually locked by a user.
    2. Previous Payroll Runs: If a payroll run was not completed successfully, it may leave some personnel numbers in a locked state.
    3. Time Evaluation Issues: If there are issues with time evaluation for certain employees, it may prevent payroll from processing for those personnel numbers.
    4. Authorization Issues: Sometimes, the user may not have the necessary authorizations to unlock the personnel numbers.

    Solutions:

    1. Unlock Personnel Numbers:

      • Use transaction code PA03 to check the status of the personnel numbers and unlock them if necessary.
      • You can also use transaction code PA30 to check the employee's status and unlock them.
    2. Check Payroll Status:

      • Use transaction code PC00_MXX_CALC (where XX is the country code) to check the payroll status for the affected personnel numbers.
      • Ensure that no other payroll runs are currently processing for those personnel numbers.
    3. Review Time Evaluation:

      • Ensure that time evaluation has been completed successfully for the affected employees. Use transaction code PT60 to run time evaluation if needed.
    4. Check for Errors:

      • Review the payroll log for any errors that may have occurred during the previous payroll runs. This can provide insights into why the personnel numbers are locked.
    5. Consult with HR/Payroll Team:

      • If you are unable to resolve the issue, consult with your HR or payroll team to ensure that there are no ongoing processes that might be locking the personnel numbers.
    6. Authorization Check:

      • Ensure that you have the necessary authorizations to unlock personnel numbers. If not, contact your SAP security team.

    Related Information:

    • Transaction Codes:

      • PA03: Maintain HR Master Data
      • PA30: Maintain HR Master Data
      • PT60: Time Evaluation
      • PC00_MXX_CALC: Payroll Processing
    • Documentation: Refer to SAP Help documentation for detailed information on payroll processing and personnel number management.

    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to error PG509.

    By following these steps, you should be able to identify the cause of the error and take appropriate action to resolve it.

    • 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