How To Fix HRPAYSA021 - Employee Not Hired or Terminated in Selected Period


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYSA - Mesasge class for package PC24

  • Message number: 021

  • Message text: Employee Not Hired or Terminated in Selected Period

  • 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 HRPAYSA021 - Employee Not Hired or Terminated in Selected Period ?

    The SAP error message HRPAYSA021, which states "Employee Not Hired or Terminated in Selected Period," typically occurs in the context of payroll processing or when trying to access employee data for a specific period. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Employee Status: The employee in question may not have been hired or may have been terminated outside the selected payroll period. This means that the system cannot find any relevant employment records for the specified time frame.
    2. Incorrect Period Selection: The payroll period you are trying to process may not align with the employee's hiring or termination dates.
    3. Data Entry Errors: There may be mistakes in the employee's master data, such as incorrect hiring or termination dates.
    4. Payroll Configuration: The payroll configuration may not be set up correctly to handle the employee's status or the specific period.

    Solutions:

    1. Check Employee Status: Verify the employee's hiring and termination dates in the system. Ensure that the employee is active during the selected payroll period.

      • Use transaction code PA20 or PA30 to view the employee's master data.
    2. Adjust Period Selection: If the employee was hired or terminated outside the selected period, adjust the payroll period to include the relevant dates.

    3. Review Master Data: Ensure that the employee's master data is correctly maintained. Check for any discrepancies in the hiring or termination dates.

    4. Consult Payroll Configuration: If you have access, review the payroll configuration settings to ensure they are set up correctly for the employee's status.

    5. Run Reports: Use relevant SAP reports to check the employee's status and history. Reports like the "Employee List" or "Payroll Results" can provide insights into the employee's employment timeline.

    6. Contact Support: If the issue persists after checking the above points, consider reaching out to your SAP support team or a consultant for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA20 (Display HR Master Data), PA30 (Maintain HR Master Data), and PC00_MXX_CALC (Payroll processing).
    • Documentation: Review SAP documentation or help files related to payroll processing and employee management for additional context and troubleshooting steps.
    • User Roles: Ensure that you have the necessary permissions to view and edit employee data in the SAP system.

    By following these steps, you should be able to identify the cause of the HRPAYSA021 error and implement a solution 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