How To Fix FK213 - Used public holiday calendars cannot be deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FK - Factory calendar

  • Message number: 213

  • Message text: Used public holiday calendars cannot be deleted

  • Show details Hide details
  • What causes this issue?

    You have attempted to delete a public holiday calendar that is in use
    in a factory calendar.

    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 FK213 - Used public holiday calendars cannot be deleted ?

    The SAP error message FK213, which states "Used public holiday calendars cannot be deleted," typically occurs when you attempt to delete a public holiday calendar that is currently in use by one or more personnel or organizational units in the system. This is a common issue in SAP systems, particularly in the context of payroll and time management.

    Cause:

    1. In Use: The public holiday calendar you are trying to delete is assigned to one or more employees, payroll areas, or other organizational units.
    2. Dependencies: There may be dependencies in the configuration that prevent the deletion of the calendar.
    3. Data Integrity: SAP enforces data integrity rules to ensure that deleting a calendar does not lead to inconsistencies in payroll or time management data.

    Solution:

    To resolve the FK213 error, you can follow these steps:

    1. Check Assignments:

      • Go to the transaction code SPRO (SAP Project Reference Object) and navigate to the configuration for public holiday calendars.
      • Check where the public holiday calendar is assigned (e.g., to employees, payroll areas, etc.).
    2. Remove Assignments:

      • If the calendar is assigned to any employees or organizational units, you will need to remove those assignments before you can delete the calendar.
      • This can typically be done in the HR Master Data (using transaction codes like PA30) or in the relevant configuration areas.
    3. Delete the Calendar:

      • Once all assignments have been removed, you can proceed to delete the public holiday calendar using transaction code SCAL (Maintain Public Holiday Calendar).
    4. Check for Other Dependencies:

      • Ensure that there are no other dependencies or configurations that might be preventing the deletion. This may include checking for any custom programs or reports that reference the calendar.
    5. Consult Documentation:

      • If you are unsure about the implications of deleting a public holiday calendar, consult your organization's SAP documentation or reach out to your SAP support team for guidance.

    Related Information:

    • Transaction Codes:

      • SCAL: Maintain Public Holiday Calendar
      • SPRO: Access to the SAP Reference IMG for configuration
      • PA30: Maintain HR Master Data
    • SAP Notes: Check for any relevant SAP Notes that might provide additional insights or solutions related to this error message.

    • Testing: After making changes, ensure to test the payroll and time management processes to confirm that everything is functioning correctly without the deleted calendar.

    By following these steps, you should be able to resolve the FK213 error and successfully delete the public holiday calendar.

    • 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