SAP Knowledge Base Article - Public

2750324 - How To Prevent Submission Of Time Sheet If Working Day Has No Recorded Time

Symptom

Requirement is to have an error raised on the timesheet UI, if the user has a working day which does not have any working time / absence recorded.

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 - Timesheet
  • SAP SuccessFactors Time Tracking

Resolution

  • The below rule works on the basis that the user enters the full weeks time data at once and then submit directly (for example every Friday they enter full week hours in the one go)
  • Rule should be added as a Validation Rule on the Time Recording Profile
    validation rule sample.png

Note:

  • The solution has a drawback that the error will be triggered if the attendance is removed. This will be enhanced with 1H2025 release by introducing feature "Preventing Submission of Time Sheet with Errors".

  • Allowances are not in use in the system.

As of 1H2025 release, with the Time Tracking feature Preventing Submission of Time Sheet with Errors, it's now possible to raise the "Alert and Error" message in the time valuation to prevent the submission of time sheet.
Please check the following sample time valuation configurations. 

  1. Aggregate recorded Attendance, recorded Absence public holiday and other core time. 
  2. Calculate the difference between scheduled working time and core time. 
  3. Count event if the difference is equal to scheduled working time, meaning no core time exists.
  4. Raising "Alert and Error" if the counted event exists, the error message will only block the time sheet submission. 

See Also

Keywords

Forbid submission of empty time sheet, do not allow zero hours for working day in timesheet, prevent empty timesheet being submitted, no recorded time, validation rule , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , How To

Product

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