How To Fix HRPAYAT_PAYROLL_ST421 - Children saved in IT0042, but without valid IT0021


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYAT_PAYROLL_ST - Message Class for Tax Calculation in ABAP-OO

  • Message number: 421

  • Message text: Children saved in IT0042, but without valid IT0021

  • Show details Hide details
  • What causes this issue?

    Missing IT0021 despite child in IT0042.

    System Response

    Payroll cannot load the child data for calculating the family bonus plus
    and terminates.

    How to fix this error?

    Create the infotype "Family Members/Dependents (0021)" for these
    children and save the infotype "Fiscal Data A (0042)" again.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYAT_PAYROLL_ST421 - Children saved in IT0042, but without valid IT0021 ?

    The SAP error message HRPAYAT_PAYROLL_ST421 indicates that children have been saved in Infotype 0042 (Family/Dependents) without a valid entry in Infotype 0021 (Family Member/Dependent). This situation typically arises in the context of payroll processing, where the system expects a valid relationship between dependents and their corresponding family member records.

    Cause:

    1. Missing or Incomplete Data: The error usually occurs when there are entries in Infotype 0042 that do not have a corresponding valid entry in Infotype 0021. This can happen if:

      • The family member's data was not entered or was deleted.
      • The relationship type or validity dates in Infotype 0021 do not match those in Infotype 0042.
      • The employee's data was not maintained correctly.
    2. Data Consistency Issues: The system enforces data consistency between these infotypes to ensure that all dependents have valid family member records.

    Solution:

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

    1. Check Infotype 0021:

      • Go to the employee's master data and check Infotype 0021 for the relevant employee.
      • Ensure that there are valid entries for all family members/dependents that correspond to the entries in Infotype 0042.
    2. Maintain or Correct Data:

      • If there are missing entries in Infotype 0021, create them. Ensure that the relationship type, validity dates, and other required fields are filled out correctly.
      • If there are incorrect entries, correct them to ensure they match the dependents listed in Infotype 0042.
    3. Review Validity Dates:

      • Ensure that the validity dates for the entries in both infotypes align. If a dependent is valid for a certain period, the corresponding family member record should also reflect that.
    4. Reprocess Payroll:

      • After making the necessary corrections, reprocess the payroll to see if the error persists.

    Related Information:

    • Infotype 0021 (Family Member/Dependent): This infotype is used to maintain data about family members or dependents of an employee, including their relationship to the employee, dates of birth, and other relevant information.

    • Infotype 0042 (Family/Dependents): This infotype is used to maintain information about the employee's family and dependents for payroll and benefits purposes.

    • SAP Notes and Documentation: Check SAP Notes for any specific patches or updates related to this error message. SAP's help documentation may also provide additional insights into maintaining these infotypes correctly.

    • Testing in a Sandbox Environment: If you are unsure about making changes, consider testing the corrections in a sandbox environment before applying them to the production system.

    By ensuring that the data in both infotypes is consistent and complete, you should be able to resolve the HRPAYAT_PAYROLL_ST421 error.

    • 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