Do you have any question about this error?
Message type: E = Error
Message class: FK - Factory calendar
Message number: 213
Message text: Used public holiday calendars cannot be deleted
You have attempted to delete a public holiday calendar that is in use
in a factory calendar.
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.
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:
- In Use: The public holiday calendar you are trying to delete is assigned to one or more employees, payroll areas, or other organizational units.
- Dependencies: There may be dependencies in the configuration that prevent the deletion of the calendar.
- 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:
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.).
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.
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).
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.
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:
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.
Get instant SAP help. Start your 7-day free trial now.
FK212
Position the cursor on a public holiday calendar
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FK209
Position the cursor on a public holiday type
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FK220
Please enter a public holiday calendar ID
What causes this issue? You have not specified a public holiday calendar ID. The public holiday calendar cannot be saved without an ID.System Respons...
FK221
ID already exists; specify another ID
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.