How To Fix HRPAYBR99504 - SFAWP code &1 of company &2 is invalid


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYBR99 - Payroll General Messages

  • Message number: 504

  • Message text: SFAWP code &1 of company &2 is invalid

  • 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 HRPAYBR99504 - SFAWP code &1 of company &2 is invalid ?

    The SAP error message HRPAYBR99504 with the SFAWP code indicates that there is an issue with the configuration of the payroll system, specifically related to the company code and the associated wage types. This error typically arises in the context of Brazilian payroll processing.

    Cause:

    The error message "SFAWP code &1 of company &2 is invalid" suggests that the system is unable to recognize or validate the specified wage type (SFAWP code) for the given company code. This can occur due to several reasons:

    1. Incorrect Configuration: The wage type may not be properly configured in the system for the specified company code.
    2. Missing Wage Type: The wage type may not exist in the system or may have been deleted.
    3. Inconsistent Data: There may be inconsistencies in the master data or payroll configuration that prevent the system from processing the wage type correctly.
    4. Authorization Issues: The user may not have the necessary authorizations to access or modify the wage type.

    Solution:

    To resolve the HRPAYBR99504 error, you can follow these steps:

    1. Check Wage Type Configuration:

      • Go to the transaction code SM30 or SM31 and check the configuration for the wage type in the relevant table (e.g., T512W for wage types).
      • Ensure that the wage type is correctly defined for the company code in question.
    2. Verify Company Code Settings:

      • Check the settings for the company code in the payroll configuration (transaction code SPRO).
      • Ensure that the wage type is assigned to the correct company code.
    3. Review Master Data:

      • Check the employee master data to ensure that the wage type is correctly assigned to the employee.
      • Use transaction code PA20 or PA30 to view the employee's payroll information.
    4. Check for Missing Entries:

      • If the wage type is missing, you may need to create it or restore it from a backup if it was deleted.
    5. Authorization Check:

      • Ensure that the user executing the payroll run has the necessary authorizations to access the wage type and company code.
    6. Consult Documentation:

      • Review SAP documentation or notes related to Brazilian payroll for any specific requirements or updates that may affect wage type configuration.
    7. Contact SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SM30, SPRO, PA20, and PA30 for configuration and data checks.
    • SAP Notes: Look for SAP Notes related to Brazilian payroll and wage type configuration for any known issues or patches.
    • User Authorizations: Ensure that user roles and authorizations are correctly set up in the system to avoid access issues.

    By following these steps, you should be able to identify and resolve the cause of the HRPAYBR99504 error in your SAP system.

    • 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