How To Fix 5G028 - Only "D" (deduction amount) or "P" (protected earnings) allowed


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5G - HR: Messages for Britain

  • Message number: 028

  • Message text: Only "D" (deduction amount) or "P" (protected earnings) allowed

  • 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 5G028 - Only "D" (deduction amount) or "P" (protected earnings) allowed ?

    The SAP error message 5G028 indicates that there is an issue with the payroll processing related to deductions or protected earnings. Specifically, it means that only one of the two options—deduction amount ("D") or protected earnings ("P")—is allowed in the context of the payroll calculation.

    Cause:

    This error typically arises in the following scenarios:

    1. Incorrect Configuration: The payroll configuration may allow both deduction and protected earnings to be set simultaneously, which is not permitted.
    2. Data Entry Error: During the payroll processing, the employee's payroll data may have been incorrectly entered, leading to both a deduction and protected earnings being specified.
    3. Payroll Schema Issues: The payroll schema may not be correctly set up to handle the logic for deductions and protected earnings.

    Solution:

    To resolve this error, you can take the following steps:

    1. Review Employee Master Data:

      • Check the employee's payroll master data to ensure that only one of the two options (deduction or protected earnings) is set. If both are set, you will need to correct this.
    2. Adjust Payroll Configuration:

      • If the configuration allows both options, you may need to adjust the payroll configuration settings to ensure that only one can be applied at a time.
    3. Check Payroll Schema:

      • Review the payroll schema to ensure that the logic correctly handles deductions and protected earnings. You may need to consult with a technical consultant or SAP support if you are not familiar with payroll schema configuration.
    4. Test Payroll Run:

      • After making the necessary adjustments, perform a test payroll run to ensure that the error does not occur again.
    5. Consult Documentation:

      • Refer to SAP documentation or help resources for specific details on how to configure deductions and protected earnings correctly.

    Related Information:

    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide guidance on configuration.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered and resolved similar issues.
    • Training: If you are frequently encountering payroll-related errors, consider additional training on SAP payroll processing and configuration.

    By following these steps, you should be able to identify the root cause of the error and implement a solution to prevent it from occurring in the future.

    • 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