SAP Knowledge Base Article - Public

3429172 - Time Off Calendar Cannot Be Deleted

Symptom

  • When trying to delete a time off calendar calendar which is scheduled to run, an error message occurs "You cannot delete the calendar because time account bookings reference it."
  • The message is displayed both in Manage Time Off Calendars and through Manage Data.

Environment

SAP SuccessFactors Employee Central - Time Off

Reproducing the Issue

  1. Go to Manage Time Off Calendars
  2. Search for the calendar you wish to delete, click on the check box on the left side of it, and then select the delete button on the top of the screen.
  3. See error message "You cannot delete the calendar because time account bookings reference it"
  4. Clicking on the "Pencil" icon on the right side of the calendar, and selecting the "Delete" option, it will appear as if the calendar is deleted, but refreshing the page shows the calendar is still there.
  5. Going to Manage data > Time Account Change Calendar, and searching for the affected calendar, then trying to delete it from there and see that you also get an error message saying "You cannot delete the calendar because time account bookings reference it."

Cause

The reason this calendar cannot be deleted is because it has already run in the past.

Resolution

  1. If a calendar has already run in the past, which you can check by clicking on its details, but you don't want it to run again, you can remove the date from field 'run date', either via Manage Data or via Manage Time Off Calendars UI.
  2. The status will then be set to 'Ready to Run' which means it's not scheduled, and will not run unless it is done manually.

Keywords

Time off, calendar, You cannot delete the calendar because time account bookings reference it, manage time off calendar, delete , KBA , LOD-SF-EC-TIM-CAL , Calendar Jobs , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors HXM Core 2311