How To Fix HRPAYBR99163 - SWG code is mandatory for collect 115, 150, 307, 327, 650


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR99 - Payroll General Messages

  • Message number: 163

  • Message text: SWG code is mandatory for collect 115, 150, 307, 327, 650

  • 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 HRPAYBR99163 - SWG code is mandatory for collect 115, 150, 307, 327, 650 ?

    The SAP error message HRPAYBR99163 indicates that the SWG (Social Security Contribution Code) is mandatory for certain payroll collections in the Brazilian payroll system. This error typically arises when processing payroll for employees in Brazil, particularly when dealing with specific contributions or deductions that require the SWG code to be specified.

    Cause:

    The error occurs when the payroll processing logic expects a SWG code to be provided for specific collection types (115, 150, 307, 327, 650), but it is either missing or not correctly configured in the employee's payroll data. The SWG code is essential for identifying the type of social security contribution that needs to be processed.

    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 (usually in PA30 or PA20).
      • Verify that the SWG code is correctly maintained in the relevant infotype (typically IT0014 or IT0015).
    2. Maintain SWG Code:

      • If the SWG code is missing, you need to enter the appropriate code based on the employee's contribution type.
      • Ensure that the SWG code corresponds to the correct social security contribution type required for the payroll period.
    3. Review Payroll Configuration:

      • Check the payroll configuration settings to ensure that the SWG codes are correctly mapped to the respective collection types.
      • This may involve reviewing the configuration in the IMG (Implementation Guide) under the payroll area for Brazil.
    4. Run Payroll Simulation:

      • After making the necessary changes, run a payroll simulation to ensure that the error does not occur again.
      • Monitor the results to confirm that the SWG code is now being processed correctly.
    5. Consult Documentation:

      • Refer to SAP documentation or help notes related to Brazilian payroll for any specific guidelines on SWG codes and their usage.
    6. Seek Help from SAP Support:

      • If the issue persists after checking the above steps, consider reaching out to SAP support for further assistance. They may provide additional insights or patches if this is a known issue.

    Related Information:

    • SWG Codes: These codes are specific to Brazilian payroll and are used to classify different types of social security contributions.
    • Payroll Infotypes: Familiarize yourself with the relevant infotypes (like IT0014 for recurring payments and deductions) that may require SWG codes.
    • Legal Compliance: Ensure that your payroll processes comply with Brazilian labor laws and regulations, as these can change frequently.

    By following these steps, you should be able to resolve the HRPAYBR99163 error and ensure that payroll processing continues smoothly.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author