2527842 - Pro-ration of annual leave based on Pay Grade

SAP Knowledge Base Article - Public

2527842- Pro-ration of annual leave based on Pay Grade

Symptom

I wanted to understand if we can do proration of annual leave based on pay grade or not?

Can the recalculation happen of the holiday balance be done when the grade of the employee is changed in between the year.

Environment

Employee Central: Time Sheet

Reproducing the Issue

How can we do proration of annual leave based on pay grade or not?

Can the recalculation happen of the holiday balance be done when the grade of the employee is changed in between the year.

Resolution

How can you use the Calculate Average Value For Numeric Job Info Field rule function to handle this use case?

1. Create an onChange or onSave rule for job information based on changes to the pay grade.

2. Use a job information numeric custom field to store a value for which you can create an average in the accrual rule. Here's an example:

1. For pay grade A, employees get an accrual of 32 days. For pay grade B, the accrual is 30 days.

2. The pay grade field is added as a recalculation field to the time account type definition.

3. On January 1, an employee is hired with pay grade B and 30 is entered in the custom field. The annual accrual calls the average value rule function for the custom field and posts the result, 30, as the accrual.

4. The employee changes job on July 1. The pay grade adjusts to A and 32 is entered in the custom field. The existing accrual is recalculated in line with the time account type configuration. 5. Now the accrual is calculated based on the average for the custom field. For 182 days, the field contains 30 and for 184 it contains 32. So the average is calculated like this: 30 * 182/366 + 32 * 184/366 = 31.01.