SAP Knowledge Base Article - Public

2665884 - Time Sheet Validation Rule Trigger on Incorrect Date

Symptom

Validation error message is raised for unexpected days when submission is carried out.

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

Reproducing the Issue

In below time sheet validation rule, it raises error when the currently edited day is not Today.
validation rule.png
And this time sheet validation rule has been assigned to a Time Recording Profile.

With this time sheet validation rule, it is expected that the error message will be raised when the employee is creating, editing time recording entry on a day that is not today.

But when you submit the time sheet without creating any new or changing any existing record, the same error is also raised.
validation error.png

Cause

This is an expected behavior.

Resolution

The Validation Rule attached to the Time Recording Profile checks all the days within the time sheet period when submission action is taken.

Keywords

Time Sheet Validation, Validation Rule, Error, Time Sheet, Time Recording Profile, week, month, weekly, monthly, calendar, timesheetday, TimeSheetDayJTS , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , How To

Product

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