SAP Knowledge Base Article - Public

3660989 - Day assignment system logic of Cross-Midnight shifts

Symptom

This KBA provides clarification on how the system logic determines the assignment of night shifts to specific days. 

"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 Time Tracking

Resolution

The system determines how recordings are assigned using two parameters:

  • Planned Working Time
  • Night Shift Bandwidth


Scenarios :

  • 08:00 AM – 09:00 AM
    This entry is assigned to the current (physical) day, as it falls outside the night shift bandwidth.

  • 07:00 AM – 09:00 AM
    The start time falls within the night shift bandwidth. Therefore, the system assigns the entry to the previous (logical) day and applies a “+1 day” modifier to the actual date of this segment.

Sample Configuration

  1. Manage Data or Work Schedule Day Model
  2. Select your Day Model and choose Make Correction
  3. Make adjustments similar to below screenshot
  4. Ensure Cross-Midnight Allowed is set to 'Yes' and Night Shift Bandwidth is configured as per screenshot below



Summary

The night shift bandwidth dynamically determines whether an entry is stored with or without the +1 day adjustment.

Important Note: Currently, there is no option to manually select which day an entry should be valid for. 

Scenario: Day Assignment of Attendance Recorded Beyond a Cross-Midnight Shift

Example

  • Planned working time: 9:00 PM to 5:00 AM (next day)
  • The employee worked an additional 2 hours beyond the planned end time.
  • Additional attendance to be recorded: 5:00 AM to 7:00 AM

In this scenario, the additional attendance should be assigned to the same shift as the original cross-midnight attendance, that is, to the logical day of the shift.

For cross-midnight shifts, the logical day is determined by the shift start date. Therefore, even though the additional attendance was physically worked on the following calendar day, it remains associated with the previous day's shift.

Important: To ensure the attendance is assigned correctly, working time must be recorded on the logical day to which it belongs, rather than on the physical calendar day on which the hours were worked. For the example above, the attendance from 5:00 AM to 7:00 AM should be recorded on the date corresponding to the shift start (9:00 PM to 5:00 AM), not on the following calendar day.

See Also

KBA 2335451 - Cross Midnight Processing In SAP SuccessFactors Time Sheet

SAP Help: Cross-Midnight Processing in Time Recording

SAP Help: Managing Time Events

Keywords


cross midnight shifts, night shift bandwidth, planned working time, SAP SuccessFactors Time Tracking, time sheet logic, night shift assignment, cross-midnight processing, logical day adjustment, physical day assignment, shift entry validation,  , KBA , LOD-SF-TTR-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors Time Tracking all versions

Attachments

15849.png