How To Fix 5G157 - Default DOB(01/01/1901) is used for age calculation


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 157

  • Message text: Default DOB(01/01/1901) is used for age calculation

  • Show details Hide details
  • What causes this issue?

    The NINO for this employee is unknown and the date of birth stored in
    infotype Personal Details(0002) is the default value 01.01.1901.

    System Response

    The NI category is determined by the employee's age which the system
    calculates from the date of birth stored in the employee's Infotype 0002
    record.
    The NI category determined by the system may not be accurate because the
    default date of birth 01.01.1901 has been used to calculate the age.

    How to fix this error?

    Ignore the warning if you wish to continue processing the selected NI
    category you have allocated this employee.

    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 5G157 - Default DOB(01/01/1901) is used for age calculation ?

    The SAP error message 5G157, which states "Default DOB (01/01/1901) is used for age calculation," typically occurs in the context of personnel administration or employee data management within the SAP system. This message indicates that the system is using a default date of birth (DOB) of January 1, 1901, for age calculations because a valid DOB has not been provided for a specific employee or individual.

    Cause:

    1. Missing Date of Birth: The primary cause of this error is that the employee's date of birth has not been entered in the system. As a result, SAP defaults to the placeholder date of January 1, 1901.
    2. Data Entry Error: There may have been an oversight during data entry, leading to the omission of the DOB.
    3. Data Migration Issues: If data was migrated from another system, the DOB may not have been transferred correctly.

    Solution:

    1. Enter a Valid Date of Birth:

      • Navigate to the employee's master data in the SAP system (typically through transaction codes like PA30 or PA40).
      • Locate the relevant infotype (usually Infotype 0002 - Personal Data).
      • Enter a valid date of birth for the employee.
      • Save the changes.
    2. Check for Data Consistency:

      • Ensure that all required fields in the employee's master data are filled out correctly.
      • Validate that there are no other missing or incorrect entries that could lead to similar issues.
    3. Review Data Migration Processes:

      • If the issue arose after a data migration, review the migration process to ensure that all necessary data, including DOBs, was correctly transferred.
    4. Consult with HR or IT Support:

      • If you are unable to resolve the issue, consult with your HR department or IT support team for assistance. They may have additional tools or insights to help rectify the problem.

    Related Information:

    • Impact on Reports: Using the default DOB can lead to incorrect age calculations in reports, which may affect compliance, benefits eligibility, and other HR-related processes.
    • System Configuration: In some cases, system configuration settings may need to be reviewed to ensure that default values are appropriately set and that mandatory fields are enforced during data entry.
    • User Training: Providing training to users responsible for entering employee data can help prevent similar issues in the future.

    By addressing the root cause of the error and ensuring that all employee data is complete and accurate, you can resolve the issue and prevent it from recurring.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant