How To Fix HRPAYCH_WHT017 - Table 'QSTG' (assign canton to working days) for PRNR: '&1'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYCH_WHT - Messages for Withholding Tax

  • Message number: 017

  • Message text: Table 'QSTG' (assign canton to working days) for PRNR: '&1'

  • 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 HRPAYCH_WHT017 - Table 'QSTG' (assign canton to working days) for PRNR: '&1' ?

    The SAP error message HRPAYCH_WHT017 typically indicates an issue related to the assignment of a canton to working days in the payroll process, specifically for the payroll number (PRNR) mentioned in the error message. This error is often encountered in the context of Swiss payroll processing, where the correct assignment of cantons is crucial for tax calculations.

    Cause:

    1. Missing or Incorrect Data: The error usually arises when there is missing or incorrect data in the relevant tables that link working days to the appropriate canton. This can happen if:

      • The employee's working days are not correctly assigned to a canton.
      • The relevant configuration for the canton is missing or incorrect in the system.
    2. Configuration Issues: There may be issues in the configuration of the payroll schema or the specific payroll area that is not correctly set up to handle canton assignments.

    3. Data Consistency: There might be inconsistencies in the master data of the employee, such as incorrect address information or missing entries in the relevant infotypes.

    Solution:

    1. Check Employee Master Data: Verify the employee's master data (infotypes) to ensure that the canton is correctly assigned. Specifically, check:

      • Infotype 0006 (Addresses) for the correct canton.
      • Infotype 0001 (Organizational Assignment) for the correct assignment to the payroll area.
    2. Review Working Days Assignment: Ensure that the working days are correctly assigned to the appropriate canton in the system. This may involve checking the configuration in the relevant tables.

    3. Configuration Review: If you have access to the configuration settings, review the payroll schema and ensure that the canton assignment logic is correctly implemented. This may involve checking the following:

      • The configuration of the payroll area.
      • The relevant tables (e.g., T5D1A, T5D1B) that manage canton assignments.
    4. Run Consistency Checks: Use SAP tools to run consistency checks on the payroll data to identify any discrepancies that may be causing the error.

    5. Consult Documentation: Refer to SAP documentation or notes related to the specific error message for additional guidance and troubleshooting steps.

    6. Contact SAP Support: If the issue persists after checking the above points, consider reaching out to SAP support for further assistance, providing them with the error message details and any relevant context.

    Related Information:

    • Infotypes: Familiarize yourself with the relevant infotypes in SAP HR that pertain to employee data and payroll processing.
    • SAP Notes: Search for SAP Notes related to HRPAYCH_WHT017 for any patches or updates that may address known issues.
    • Payroll Processing: Understanding the payroll processing cycle in SAP can help in identifying where the error might be occurring.

    By following these steps, you should be able to identify and resolve the issue related to the HRPAYCH_WHT017 error message.

    • 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