Human Capital Management Blogs by SAP
Get insider info on SAP SuccessFactors HCM suite for core HR and payroll, time and attendance, talent management, employee experience management, and more in this SAP blog.
cancel
Showing results for 
Search instead for 
Did you mean: 
Dharmin_Thakkar
Product and Topic Expert
Product and Topic Expert
3,190
Hello,

Below is the continuation of the Blog :

https://blogs.sap.com/2019/10/20/employee-central-time-sheet-how-to-restrict-employee-entering-time-...

In the above blog, you can restrict the timesheet entry if you are using time validation.

Below is the configuration in case if you are not using time validations. This means, the recorded time and dates are actual booking dates.

Step1:

Navigate to Configure Business Rule and Select the Time Sheet Validation Rule.



Step 2:

Configure the Business Rule as Below.



Step 3:

Assign this business rule in Time Record Profile under Validation Rules



Step 4:

Test the scenarios

Consider the current month is February. We are submitting Timesheet for January, the system throws an error.



 

Submitting Timesheet for February and we do not get any error.



 

Thank you parthiban.sukumar for your help.

 

Regards,

Dharmin

 
4 Comments
Jwalasuccess
Explorer
0 Kudos
Gud update
D068075
Advisor
Advisor

Hi Dharmin,

Good idea, but this configuration has a little flaw. If there is already a record in the previous month in the time sheet that overlaps two months, then the rule will prevent the update of this two-months-time-sheet. So far there is no proper solution to cover this requirement, too.

Best regards,
Fabian

tainguyen-D
Explorer
0 Kudos
Hi Fabien,

 

Thank you for your information. I'm currently encountering the limitation that you mention.

It has been 3 years, not sure if any update from SAP so far that can help us to overcome this?

Appreciate your knowledge shareing.

 

Regards,

Tai
D068075
Advisor
Advisor
Hi Tai,

No new changes in this regard.

It might be feasible to restrict the edit permission for employees for their own time sheets and only provide view permissions. This way the employee himself is restricted to 1 to X months, but other employees (e.g., manager, time admin) can change the data from previous months if necessary. I assume these changes are a rarely necessary.

Another workaround would be to restrict the rule only to employees' own time sheet by adding
"loginUser = timesheet.user"
This way all other employees can edit the time sheet further in the past (e.g., manager, time admin).

Best regards
Fabian