How To Fix P2518 - Error while accessing public holiday calendar on &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: P2 - Messages for HR Time Management

  • Message number: 518

  • Message text: Error while accessing public holiday calendar on &

  • Show details Hide details
  • What causes this issue?

    The function module HOLIDAY_CHECK_AND_GET_INFO has generated an error.

    System Response

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

    How to fix this error?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message P2518 - Error while accessing public holiday calendar on & ?

    The SAP error message P2518, which states "Error while accessing public holiday calendar on &," typically occurs when there is an issue with the configuration or access to the public holiday calendar in the SAP system. This error can arise in various contexts, such as during time evaluation or when processing payroll.

    Causes of Error P2518

    1. Missing Public Holiday Calendar: The specified public holiday calendar may not be defined or may not exist in the system.

    2. Incorrect Configuration: The public holiday calendar may not be correctly configured for the relevant country or region.

    3. Authorization Issues: The user may not have the necessary authorizations to access the public holiday calendar.

    4. Data Inconsistencies: There may be inconsistencies or errors in the underlying data related to the public holiday calendar.

    5. System Issues: There could be temporary system issues or inconsistencies in the database.

    Solutions to Error P2518

    1. Check Public Holiday Calendar Configuration:

      • Go to the transaction code SPRO and navigate to the configuration for public holiday calendars.
      • Ensure that the public holiday calendar is defined for the relevant country and that it is correctly assigned to the relevant personnel areas or employee groups.
    2. Verify Calendar Assignment:

      • Check if the public holiday calendar is assigned to the relevant employee master records. You can do this by reviewing the employee's infotype 0001 (Organizational Assignment) and infotype 0007 (Planned Working Time).
    3. Review Authorizations:

      • Ensure that the user encountering the error has the necessary authorizations to access the public holiday calendar. This may involve checking roles and authorizations in transaction code PFCG.
    4. Check for Data Inconsistencies:

      • Use transaction codes like SE16 or SE11 to check the underlying tables related to public holiday calendars (e.g., T005 for country data, T007 for public holiday data) for any inconsistencies.
    5. System Check:

      • If the issue persists, check for any system issues or errors in the application logs (transaction code SLG1) that may provide additional context for the error.
    6. Consult SAP Notes:

      • Search for relevant SAP Notes in the SAP Support Portal that may address this specific error or provide additional troubleshooting steps.

    Related Information

    • Transaction Codes:

      • SPRO: Customizing Implementation Guide
      • PFCG: Role Maintenance
      • SE16/SE11: Data Browser/Table Maintenance
      • SLG1: Application Log
    • Infotypes:

      • 0001: Organizational Assignment
      • 0007: Planned Working Time
    • SAP Help Portal: For detailed documentation on public holiday calendars and related configurations.

    If the problem persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or HR module support team for further assistance.

    • 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