Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors HCM suite and human capital management market from member blog posts. Share your insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
Nahugguhan
Explorer
5,356
Introduction

In this blog, we will see how to manage compensatory off with Time Type and Time Account type (Time account balances).

  • Employees who work on public holidays can be compensated by taking the next day off or by working a period equal to their regular hours if they come to the office to work.


Problem Statement:

The business requirement is to capture the compensatory time only through absence management. Also, we need to show the time account balance for comp off in the time detail portlet of the employee, so we need to create both a time type and a time account type and control the time account balance for both attendance on holiday and leave requesting against comp off  via an accrual rule.

Employee will first earn one day. If the employee worked during the public holidays or weekend, then the earned leave will be used as compensatory time by taking the next day off or through a 30-day period.

If the employee does not use the earned leave within one month of the period, it should be automatically deducted from the time account.

  • Since we are not using a time sheet application, it was difficult to validate if the employee worked on holidays or at the weekend.


Solution Provided:

After validating all the challenges and available solutions, I have developed the below solution for my organization, where we can achieve this objective by creating a time type, time account type and accrual rule for Comp Off.

Now let’s go into details of each process step.

Create a new leave type(time type): compensatory off

Admin Centre > Manage Data> Create New > Time Type


The permitted fraction for unit day should be only full day booking allowed. Duration Displayed According to Deduction Quantity.


 

There is a need to create an absence counting method for calendar days.



Consider  holiday should be NO.


Create a new (Time Account Type)—Compensatory off

Admin Centre > Manage Data > Create New > Time Account Type



Account creation Type as Permanent
Level of Accrual Automation as Automatic Accrual Creation
Balance cannot fall below as -1.


Create an accrual rule and attach it to the accrual rule, hiring rule, and termination rule field in Time Account Type.


The rule condition used to check if the employee start date is equal to today then posts the time account balance equal to 2.


 


The following else if rule is used to automatically deduct earned compensatory leave if the employee does not use it within the next 30 days.



If there is no request is created on today, then the else condition will post 0 in time account balance.


 

Create two custom fields in Employee time object. Requesting type (picklist) and Comp Off Against (date format)
The Requesting Type field is used to capture whether the employee is requesting to work in a holiday or week off and leaving requesting against compensatory time.



Below are the picklist values, and attach the picklist to the custom field Requesting Type.




Use the condition values to restrict the custom field to only being visible for the Comp Off time type.


Take Rule:




The Above rule used to restrict if an employee had requested it in the past.



The Above Take rule validates that if the Requesting Type field is empty.



The Above Take rule restricts if the employee tries to request more than two days.


 

The Below Take rule used to validate if the employee selects the requesting type as a comp off request and if the employee selects the start date as a working day system throws an error, as well as if the employee selects the requesting type as "leave request against a comp off" and the employee selects the start date as a non-working date system throws an error.



The below rule condition used to validate if the employee selected the request type as "Leave Request Against Comp Off" system throws an error.
The "Comp off against" field should be filled in mandatorily.



The below rule condition is used to Validate if the employee selects working day in the "Comp off Against" field system throws an error.



This take-rule restriction applies if the employee has not yet earned any leave balance and tries to apply the leave request against comp time system throws an error.




A sample screenshot of the time account balance before requesting


 


One day a request is raised on a non-working day, and the request is approved



Sample Screenshot of Account Posting Before the Accrual


In the above screenshot, you can see that the system will run the accrual daily and check for the request; if no request has been created, the system will post 0 for the day.

If an employee requests to work on a holiday, the system will deduct one day from the quantity, making it -1.


Sample Screenshot of Account Posting After the Accrual


In the above screenshot, you can see that if the employee raises the request to work on weekdays,
system will post the accrual as 2 days. and add the old balance of -1 and post the current balance as 1.

Final Output:




In the above screenshot, you can see that this employee earned 1 day of compensatory leave and can use the earned leave within the next 30 days.

Conclusion:

As a result of reading this blog, you will be able to manage the compensatory schedule only with time type and time account type.

I hope you all will like this write-up and help the new consultants contribute more to their organization. Please review this article and share your feedback if you find it useful.

 
Read other SAP SuccessFactors Employee Central blog posts and follow SAP SuccessFactors Employee Central

Please follow my profile for future posts nahugguhan

It would be appreciated if you could Like and Share your valuable feedback in the comment section👍

 
5 Comments
Narendra_42
Explorer
Kudos Guhan, Congratulations on your first blog.

It would be helpful for all who are not using timesheet in SF.
Nahugguhan
Explorer
0 Kudos
Thanks Narendra Prasath for your comment

Finally, found a blog that completed my requirement. Thanks Guhan for the blog

SaikrishnaVara1
Discoverer
Good Guhan Nice informative
hrrvic
Explorer
0 Kudos
Hi Guhan,

Thanks for giving us the step by step procedure.

But while tried configuring the rule for Accrual, got an error pop up

  1. Rule Comp_off_accrual_1 must not use today as the posting date for created time account postings.


Kindly guide us on how go forward.

 

 
Labels in this area