
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.
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.

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

Sample Screenshot of Account Posting After the Accrual
Final Output:

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👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 7 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |