
This is a continuation of my previous blog https://community.sap.com/t5/human-capital-management-blogs-by-sap/timely-time-sheet-alerts-for-no-r... where I had provided a solution to check previous day records and send alerts
Many partners and customers had reached out to me to check if we can use a similar concept for a requirement where we need to send reminders to employees if the previous week or previous two week’s ago time sheet is not yet submitted. This is especially crucial from payroll perspective where employees who are on weekly or biweekly payroll need to have this submitted and approved in time so that their daily wages or overtime is paid on time.
Please note: This custom solution is only required for sending alerts and reminders and if you as an Org need them to ensure employee completes the time sheet and submits them.
There are other inbuilt auto submission capabilities provided by product which can auto submit time sheets so that deadlines are not missed. Here is the link for that
Create a custom MDF to check if the weekly/biweekly time sheet is submitted or not
The custom MDF will have two fields:
The below on save rule needs to be created to check if the biweekly time sheet exists or not
Please note: If the time sheet start day is always on Monday and you run IC on Monday, then -14 days from today will always give a date which begins on Monday. And further you can fetch time sheet records which begin from that start date
Like any other MDF alert rule, this is a simple rule which checks the flag ”is Time Sheet Submitted”. If the value is No it sends the alert
An integration Center Report is created with Starting entity as “USER” and our “Custom MDF” as the target entity. Also use SF to SF ODATA IC and scheduled as the type
Drag and drop the user ID from USER to External Code (User field) of Custom MDF.
Also, ensure that you use operation as Upsert Single/Multiple in IC
Very simple IC process. Just one field has to be mapped
You can add appropriate filters to ensure that you can run only for subset of employees
To test this, I am using a filter to run it only for one employee
Scheduling the IC: Please use this only once a week. Example Run it once every Monday. It will check for time sheet two weeks ago and send alerts. This is very very important!!!. You need to schedule it run only once a week
I will use user 170 for testing this
This is being recorded on July 22. So assuming July 22 is today, the last two weeks time sheet start date would be 8th July
We see that from manage data there is no time sheet for the employee at all for user 170
Now I will run IC
Rule trace also gets the start date to check as July 8 (backtracking 14 days from Jul 22 on when IC was run)
The MDF now stores the submission flag as No (since the time sheet record it self did not exist) as a result of onSave rule
Alert is sent for this case
Case 2: The time sheet exists but not submitted yet
From manage data also we can see that it exists
Run the IC again
MDF and alert is still sent since the time sheet is not yet submitted
Case 3: The time sheet is submitted now
Run the IC, see that the flag for submission is now set or changed to Yes since the time sheet has been submitted by the employee
No alert is sent in this case
Case 4: the time sheet has been already approved
Similar to above , if the time sheet is approved , the flag will remain Yes and no alert is sent
This is it
I think this would be a way to deal with this situation. Please note this at the end is a custom solution. Please perform through testing before deploying this in your instance. You can further tweak this solution based on how many weeks past data you need to check
Best Regards
Neelesh
Product Expert : Best Practices for SuccessFactors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |