SAP Knowledge Base Article - Public

2770843 - How to prevent a user from creating time sheet in the future only for specific time types

Symptom

You have to following scenario:

Your employees should not be able to add any time recording entry of a future date with some specific time types, for example Working Time.

For other time types there is no restriction.

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

Resolution

One possible approach is to raise error via a Time Sheet Validation Rule like in below sample.

Attention! This is just a sample!
Please remember that when we talk about validation rules you should always use the 
Time Sheet Validation scenario.

FUNCTIONS USED:

KB1.jpg

Note: Each recording profile accepts only one validation rule so if you already have a rule there you must add this logic in the existing rule as an "else if" block;

See Also

2605223 - Prevent Users From Submitting Future Timesheets

Keywords

time sheet validation, prevent creation of time sheet in the future, raise error message in time sheet for future entries, tracking, sheet, business, rule, future, block, stop, error , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , How To

Product

SAP SuccessFactors Employee Central all versions