Symptom
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
- You cannot request time off here because times are recorded in time sheet for the same period.
- Time Off cannot be created for an employee.
- Cannot apply for absence because of an error.
Environment
SAP SuccessFactors Employee Central – Time Sheet
Reproducing the Issue
Scenario 1: "Cannot create absence after deleting attendance from the approved time sheet"
- Assume that the timesheet of an employee for a week has already been approved.
- Now Deletion is done using the cross (X) button (Deletion for say 8th May 2023).
- Employee applies time off / leave from Time Sheet UI screen.
- Error: You cannot request time off here because times are recorded in time sheet for the same period.
Scenario 2: "Cannot create absence after deleting the external time data from the approved time sheet"
Scenario 3: "The time sheet has been approved without any conflict recording with the absence to be requested, but still the system gives the error when attempting to request the absence. "
Note: Above replication is one of the cases however there could be other scenarios (Example: Scenario 3) as well which can cause inconsistencies.
Cause
Standard Design, Inconsistency with Employee Times corresponding to recorded Working Times
Resolution
- Scenario 1: *As per the Steps given in 'Reproducing the Issue':
"Cannot create absence after deleting attendance from the approved time sheet"
KBA 3362466 - Cannot Create Absence after Deleting Attendance for Approved Timesheet - Scenario 2:
"Cannot create absence after deleting the external time data from the approved time sheet"
KBA 2866880 - Error While Requesting Time Off: You cannot request time off here because absences exist and times are recorded in the time sheet for the same period - Scenario 3:
"The time sheet has been approved without any conflict recording with the absence to be requested, but still the system gives the error when attempting to request the absence. "
KBA 2918603 Time Sheet Check Tool: OrphanedTimeSheetEmployeeTimes
This particular check will analyze whether all Employee Times of Time Type with classification “Attendance”, “On Call”, or “Break” for Employee Time Sheet Entry are assigned to a Time Sheet.
If any of these Employee Times are not assigned to any Time Sheet, then they are Orphaned Employee Times. Remove such inconsistencies.
See Also
Refer to the steps given in the KBA for proper deletion of employee time sheet entries
KBA 2931444 How to delete time sheet entries via import
Note: After time sheet entry is successfully deleted, the associated employee time objects also need to be deleted.
Keywords
Timesheet absence, error, "You cannot request time off here because times are recorded in time sheet for the same period" , KBA , LOD-SF-EC-TMS , Time Sheet , Problem
Product
Attachments
Pasted image.png |