How To Fix HRPAYCH01004 - Residence status is set to code 13 ("Not Allocated")


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYCH01 - Messages for Payroll Switzerland

  • Message number: 004

  • Message text: Residence status is set to code 13 ("Not Allocated")

  • Show details Hide details
  • What causes this issue?

    The system could not assign a residence status to the employee. Either
    no record exists in the <LS>Residence Status</> infotype (0048) or the
    mapping in view V_T5C2O is incomplete.

    System Response

    The system enters the residence status <LS>13 - Not Allocated</> in the
    XML file.

    How to fix this error?

    Check the employee's residence status in infotype 0048.
    Check the mapping in the Customizing activity
    <DS:SIMG.PAY_CH_QSTVD_0010>Assign Residence Status to Key for XML File
    </>.

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

    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 HRPAYCH01004 - Residence status is set to code 13 ("Not Allocated") ?

    The SAP error message HRPAYCH01004 indicates that the residence status for an employee is set to code 13, which means "Not Allocated." This typically occurs in the context of payroll processing in the SAP HR module, particularly in the Swiss payroll system.

    Cause:

    The error arises when the system attempts to process payroll for an employee whose residence status is not properly defined. Code 13 ("Not Allocated") suggests that the employee's residence status has not been assigned a valid value, which is necessary for payroll calculations, tax deductions, and other related processes.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Employee Master Data:

      • Go to the employee's master data in the SAP system (Transaction PA30).
      • Verify the residence status field in the relevant infotype (usually Infotype 0002 - Personal Data or Infotype 0016 - Contract Elements).
    2. Update Residence Status:

      • If the residence status is indeed set to code 13, you will need to change it to a valid code that reflects the employee's actual residence status.
      • You can do this by editing the relevant infotype and selecting the appropriate residence status code.
    3. Consult with HR or Payroll Team:

      • If you are unsure about which residence status code to use, consult with your HR or payroll team to ensure that the correct code is applied based on the employee's situation.
    4. Run Payroll Simulation:

      • After making the necessary changes, run a payroll simulation to ensure that the error is resolved and that the payroll can be processed without issues.
    5. Check for Other Related Issues:

      • If the error persists, check for any other related issues in the employee's master data or payroll configuration that might be causing the problem.

    Related Information:

    • Residence Status Codes: Familiarize yourself with the different residence status codes used in your SAP system, as these codes can vary by country and configuration.
    • Documentation: Refer to SAP documentation or your organization's internal guidelines for handling payroll-related errors.
    • Support: If you continue to experience issues, consider reaching out to your SAP support team or consulting with an SAP HR expert for further assistance.

    By following these steps, you should be able to resolve the HRPAYCH01004 error and ensure that the employee's payroll is processed correctly.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant