Skip to Content
Product Information
Author's profile photo Dharmin Thakkar

Restrict employees to submit previous month Time Sheet

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-records-in-previous-calendar-month/

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

 

Assigned tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Malyadri Garimella Jwala
      Malyadri Garimella Jwala

      Gud update

      Author's profile photo Fabian Reh
      Fabian Reh

      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