SAP Knowledge Base Article - Public

2328948 - How to Trigger Recalculation After Updating Holiday Calendar

Symptom

When a Holiday Calendar is updated — for example, when a new holiday is added or an existing one is removed — the system does not automatically recalculate the Time Account balance for leave requests that have already been submitted or approved.

This can lead to the following scenarios:

  • Leave requests may continue to deduct days that are now recognized as holidays.

  • The Time Account balance remains unadjusted, even though the holiday should reduce the number of leave days consumed.

  • As a result, employees may lose leave balance unintentionally, or the reported leave duration may not reflect the latest holiday updates.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP Successfactors Employee Central - Time Management

Reproducing the Issue

  1. An employee applied for leave from Monday to Friday, totaling 5 days.
  2. Subsequently, the admin updated the Holiday Calendar to mark Wednesday (for example) as a holiday.
  3. The expected behavior is that the leave duration should automatically adjust to 4 days, excluding the new holiday, and 1 day should be credited back to the employee’s Time Account balance.

Cause

Recalculation Behavior for Holiday Calendar Changes

  • Starting with the 2H 2025 release, when Recalculation is enabled in the Time Management Configuration object, the system provides an additional option:
    • "Automatic Recalculation after Holiday Calendar Changes"
  • Once this setting is enabled:
    • Any changes made to the Holiday Calendar at the object data level (e.g., adding or removing holidays)
    • Will automatically trigger a Time Management Recalculation Event (TMRE)
    • The system will then recalculate all time data for employees assigned to the affected Holiday Calendar
  • You can also manually trigger the recalculation by using the Time Management Recalculation Event (TMRE) object.

Resolution

Automatic Recalculation After Holiday Calendar Changes (Effective from 2H 2025 Release)

Starting with the 2H 2025 release, the system now supports automatic recalculation based on changes made to Holiday Calendar object-level data (e.g., adding a new holiday or removing an existing calendar from the Holiday Calendar).

To enable this functionality, follow the steps below:

  1. Navigate to Manage Data > Time Management Configuration
  2. Set the following fields:
    • Enable Recalculation: Yes
    • Schedule Immediate Recalculation:
      • Set to "Always" to trigger recalculation immediately after changes are saved in the Holiday Calendar.
      • Alternatively, set to "Never" if you prefer recalculation to occur via the Trigger Recalculation Job (executed the next day).
    • Automatic Recalculation after Holiday Calendar Changes: Yes
      • This ensures that each change to the Holiday Calendar object will automatically create a Time Management Recalculation Event, recalculating all time data for employees assigned to the updated Holiday Calendar.

Manual Recalculation Process

You can also manually trigger the recalculation by using the Time Management Recalculation Event (TMRE) object. To manually trigger recalculation, follow the steps below:

  1. Ensure Recalculation is Enabled (Handbook: Enabling Recalculation)
  2. Navigate to Manage Data > Create New > Time Management Recalculation Event
  3. Once the object is saved, the system will recalculate all absences impacted by the specified Holiday Calendar. 
  4. After the event is processed, results can be reviewed in Execution Manager > Viewing Time Management Recalculation Results (Handbook: Viewing Time Management Recalculation Results from the Execution Manager)
  5. For detailed guidance, please refer to the handbook: Changes Within a Holiday Calendar (Handbook: Changes Within A Holiday Calendar)

Note: It is currently not supported to run the recalculation of absences using Time Management Recalculation Event (TMRE) for a specific Time Type only. The recalculation applies broadly to all applicable absences affected by the selected Holiday Calendar.

Time Management Recalculation Event (TMRE) is saved, but absence is not recalculated:

ChecksNext Steps
  • If the Time Management Recalculation Event is with status 'completed with errors'.
  • Refer the KBA on how to check the error(s) via execution manager dashboard 2803657 - How To Check The Recalculation Error(s) via Execution Manager Dashboard?)
    • Note: If the TMRE ran without any errors then the object will be automatically deleted; therefore, the TMRE object will no longer be searchable, and you may get the error "Object does not exist or you do not have permission". This is expected behaviour).
  • In Admin Tools -> Admin Alerts -> Check for any alerts under 'Recalculate Absences'.
  • Resolve the alerts
  • Check if there are any alerts in Employee's Profile -> Administer Time UI -> 'Time Alerts' tab
  • There shouldn't be any errors in the time alerts tab. If there are any errors, they need to be fixed, and then follow the steps to run the recalculate accruals.
  • Recalculation fails with error ' Your requested time off must include at least one workday. Please change the dates you've entered accordingly', for 1 day of leave applied on the new holiday/non-working day.
  1. For the employee with 1 day leave, go to the associated time type and set 'Requesting on Non-Working Days Allowed' as 'Yes'
  2. Create the Time Management Recalculation Event (TMRE) to recalculate the absence.
  3. Once the absence is recalculated, change the 'Requesting on Non-Working Days Allowed' field in the time type back to 'No'
  4. We have an open enhancement for this so that recalculation does not give error if absence exists on a day that becomes a holiday/non-working day later. Please reach out to your CSM/CEE to track the progress of the enhancement "TIM-31284".
  • If flexible requesting is enabled on the time type, no recalculation will occur even after creation on TMRE.
  • Any recalculations of the time account calculation will not consider changes in the flexible requesting record (Refer Enabling Flexible Absence Requesting)
  • In Manage Data -> Time Type -> If 'Flexible Requesting Allowed' field is set to 'Yes', then the absence will not be recalculated with the TMRE as expected.
  • Is there an Absence Counting Method/Absence Counting Configuration configured for the related Time Account Type?
  1. Navigate to Manage Data > Time Account Type > Check if the Absence Counting Method/Absence Counting Configuration is configured.
  2. It may be configured with 'Consider Holidays' as 'No'; therefore, no absence recalculation will occur to recalculate absence created on a holiday.
  • Check if there are any existing 'Time Management Recalculation Event' (TMRE) for the employees that are in 'To Be Processed' or 'Completed with Error status.' 
  • If the related time account is closed and the "Editable" flag on the employee time is set to 'No', the absence will not get recalculated.
  •  If the absence should be recalculated, then:
    1. Reopen the Time account manually via Manage Data by changing the field 'Closed' to 'No'->  make the related Employee Time as Editable=Yes -> Then trigger a Time Management Recalculation Event again (by following the above steps).
    2. Set the Time Account with Closed as 'Yes'.
    3. NOTE: Making manual changes to the Time Account is not recommended and should be done with caution and only if necessary.
  • Why does recalculation not triggered for temporary holiday calendar assignment  

For further information on recalculations, please refer to the Administration Guide "Recalculation in Time Management".

See Also

Keywords

Time off, Absence Recalculation, Holiday Calendar, Holiday, recalculation, Time Management Configuration, Time Management Recalculation Event, TMRE, Your requested time off must include at least one workday, Please change the dates you've entered accordingly, TIM-31284, Object does not exist or you do not have permission, holiday calendar update,recalculation,absence,working day,non working day,tmre, The employee time of user, cannot be updated because of an error in another record, Holiday calendar change, Recalculation not triggered, Leave still deducts holiday, Time Account not updated, TMRE, Time Management Recalculation Event, Manual recalculation holiday, Automatic recalculation 2H2025, Leave balance incorrect, Holiday added after leave applied, Recalculate absence duration, Holiday calendar update impact, Time Off balance not adjusting, Time Management Configuration, Employee leave balance holiday, Recalculate time data holiday change, Automatic Recalculation after Holiday Calendar Changes, Automatic Recalculation for Holiday Calendar Changes, Holiday Calendar Changes, Holiday Calendat object data level change, Holiday Recalculation, How to Trigger Recalculation After Updating Holiday Calendar, Trigger Recalculation for holiday calendar, holiday calendar recalculation trigger, Automatic Recalculation for Changes in Holiday Calendar, Enhancement Holiday Calendar, Enhancement Holiday Calendar recalculation, Enhancement Holiday, Enhancement on Holiday Calendar recalculation, Enhancement Automatic Recalculation, 2H2025, b2505, KI2505, 2511. , KBA , LOD-SF-EC-TIM-REC , Recalculation , LOD-SF-EC-TIM-ABS , Absence error's - Calculations, Deductions, TT&ET , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , How To

Product

SAP SuccessFactors Employee Central 2505

Attachments

Pasted image.png