SAP Function SGPS_CALC_APE_PROMOTION - Promotion formula for Averaging APE Calculation

Parameter Reference Type Length Default Optional Text
FIREDATE P0008-BEGDA D 8 Retirement Date
MOLGA T001P-MOLGA C 2 Country Grouping
PERNR P0003-PERNR N 8 Personnel Number
STARTDATE P0008-BEGDA D 8 Start date of 3-year period before retirement

Parameter Reference Type Length Text
APE_AMT P0495-APEAMT P 7 Pensions Scheme Annual Pensionable Emolument Amount
BS_AMT P0495-APEAMT P 7 Pensions Scheme Basic Salary Per Annum
MAPE_AMT P0495-APEAMT P 7 Pensions Scheme Annual Pensionable Emolument Amount
MBS_AMT P0495-APEAMT P 7 Pensions Scheme Basic Salary Per Annum
MPA_AMT P0495-APEAMT P 7 Pensions Scheme Pensionable Allowance Per Annum
PA_AMT P0495-APEAMT P 7 Pensions Scheme Pensionable Allowance Per Annum

Parameter Reference Length Optional Text
TAB_0000 P0000 85 HR Master Record: Infotype 0000 (Actions)
TAB_0001 P0001 322 HR Master Record: Infotype 0001 (Org. Assignment)
TAB_0008 P0008 968 HR Master Record: Infotype 0008 (Basic Pay)

Exception Text
DATEINT_ERROR Error in getting duration
PENSAL_ERROR Error when performing 'RP_SALARY_GENERIC_CALC'

Functionality
This function module is used to calculate the average Annual PensionableEmolument (APE) in the case that the reason for change in the latestInfotype 0008 record (i.e. the latest valid event) during the 3 yearsbefore retirement is Promotion.