SAP Function SGPS_PRORATION_STANDARD - Function for proration

Parameter Reference Type Length Text
ENTIT T5PBSR3B-ENTITL P 6

Parameter Reference Length Optional Text
ABS_DATA PSG03 40
FPSP PC2BA 32
SRC_PSG02 PSG02 133

Functionality
This is a model function module used by Singapore Public Sector LeaveScheme for performing the proration of the leave/quota entitlement ofan employee. It is based on the proration method specified either by:
1. Feature 25LV0 (Specify methods for reducing total leaveentitlement) for generating leave entitlement in infotype 0005.
2. Feature 25LV1 (Proration method for quota entitlement of leavescheme) for generating quota entitlement in infotype 2006.
Besides, users can create their own customised function modules tocater for their specific requirements regarding the proration ofentitlements for different leave types or quota types.

Example
To generate leave entitlement in infotype 0005, the Feature 25LV0returns proration method 3 which the proration is based on the workingdays.
For example, an employee was on Leave Scheme 73 (with leave entitlement14 days per year) for the period from 1.1.2002 to 31.3.2002. From1.4.2002, he was changed to Leave Scheme 79 (with leave entitlement 21days per year).
So the prorated leave entitlement for the leave year 2002 will becalculated as below:
Total number of working days in 2002 = 261
Number of working days from 1.1.2002 to 31.3.2002 = 64
Number of working days from 1.4.2002 to 31.12.2002 =197
Prorated leave entitlement = ( 14 * 64 / 261) + ( 21 * 197 / 261)
= 19.28352 days