How To Fix P2638 - There are two public holidays on &1 (holiday calendar &2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: P2 - Messages for HR Time Management

  • Message number: 638

  • Message text: There are two public holidays on &1 (holiday calendar &2)

  • Show details Hide details
  • What causes this issue?

    More than one public holiday with different public holiday classes fall
    on the same day in the public holiday calendar &V2& at &V1&.

    System Response

    The system cannot decide which public holiday class should be assigned
    to the day when it is generating the work schedule.

    How to fix this error?

    In the public holiday calendar &V2&, enter two new public holidays with
    the same public holiday class that are only valid for the year in
    question. Cancel the validity of the original two public holidays for
    the year.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message P2638 - There are two public holidays on &1 (holiday calendar &2) ?

    The SAP error message P2638 indicates that there are two public holidays defined on the same date in the specified holiday calendar. This can lead to inconsistencies in the system, especially when calculating time management aspects like payroll, attendance, or leave.

    Cause:

    The error occurs when:

    • Two public holidays are defined for the same date in the holiday calendar.
    • This can happen due to incorrect configuration or data entry in the holiday calendar settings.

    Solution:

    To resolve this error, you need to check and correct the holiday calendar configuration. Here are the steps to do so:

    1. Access the Holiday Calendar:

      • Go to the transaction code SPRO (SAP Reference IMG).
      • Navigate to Personnel Management > Personnel Administration > Time Management > Public Holidays > Define Public Holidays.
    2. Check the Holiday Calendar:

      • Identify the holiday calendar mentioned in the error message (in your case, &2).
      • Look for the date mentioned in the error message (&1) and check if there are multiple entries for that date.
    3. Remove Duplicate Entries:

      • If you find two public holidays for the same date, you need to delete or adjust one of the entries to ensure that only one public holiday is defined for that date.
    4. Save Changes:

      • After making the necessary adjustments, save your changes.
    5. Test the Changes:

      • Run the relevant payroll or time evaluation process again to ensure that the error is resolved.

    Related Information:

    • Holiday Calendar Configuration: Understanding how to configure holiday calendars is crucial for accurate time management in SAP. Ensure that you are familiar with the settings and implications of public holidays.
    • Documentation: Refer to SAP Help documentation for detailed guidance on managing public holidays and holiday calendars.
    • Testing: After making changes, always test in a development or quality assurance environment before applying changes to the production system.

    By following these steps, you should be able to resolve the P2638 error and ensure that your holiday calendar is correctly configured.

    • 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