SAP Knowledge Base Article - Public

3344421 - Error 'The end time must be later than the start time if the next day is selected' while requesting an absence

Symptom

You have noticed that, for Time Profiles with the Time Recording Variant set to 'Clock Times', upon requesting a leave, the error 'The end time must be later than the start time if the next day is selected' is being thrown.

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
  • SAP SuccessFactors HXM Suite

Reproducing the Issue

1. The leave is being requested on Day 5, which is a Friday according to the Work Schedule logic:

2. Upon checking the Work Schedule, on day 5, the Day Model '0701_test' is selected:

3. On this Day Model, there are no records of Start Time (10 P.M) and End Time (7 A.M) falling between the requested hours

4. Upon requesting the leave, you notice that the error is being thrown:

Cause

Expected behavior.

Resolution

You cannot request an absence outside of working hours with Clock Times selected as the Time Recording Variant.

If it is required to request Time Off for these employees outside of business hours, please create a new Time Type or assign an existing one to the employees' Time Profile.

See Also

Work Schedule Day Model | SAP Help Portal

Keywords

work schedule, The end time must be later than the start time if the next day is selected, work, schedule, error, absence request, time off, time request, request, cross midnight, day model , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM suite all versions