SAP Function RP_GET_EPF_RATES_MY - Function to return EPF rates from the EPF table.

Parameter Reference Type Length Default Optional Text
BEGDA T5LER-BEGDA D 8 Begin date of perid
CLPGM P0196-ICIND C 1 Calling program (Master data,payroll)
EE_AGE P0002-GBMON N 2 Month of Birth
ENDDA T5LER-ENDDA D 8 End date of period
ST0001 P0001 u 322 Structure for a valid p0001 record

Parameter Reference Type Length Text
EMPR_COMP_RATE T5LER-EMRPC P 3 Employer Company Rate
EMPR_STAT_RATE T511K-KWERT P 5 Employer Statutory rate
EMP_COMP_RATE T5LER-EMEPC P 3 Employee Company Rate
EMP_STAT_RATE T511K-KWERT P 5 Employee Statutory rate

Exception Text
TABLE_ENTRY_NOT_FOUND Data not found in tables.

Functionality
Returns the Statutory and Company rates for the EPF (Malaysia).
The function accepts as input parameters the correctly filled
structure of Infotype 0001, begin date and end date for which the
rates are required.

Example
call function 'RP_GET_EPF_RATES_MY'
exporting
st0001 = int_0001
begda = p_begda
endda = p_endda
importing
emp_stat_rate = p_emp_statrate
empr_stat_rate = p_empr_statrate
emp_comp_rate = p_emp_comprate
empr_comp_rate = p_empr_comprate
exceptions
table_entry_not_found = 1
others = 2.

Notes
Uses the function module RP_CALCULATE_SENIORITY_MY to calculateseniority.Please the read documentation of this function module aswell.