Ansicht
Dokumentation

RP_CALCULATE_SENIORITY_MY - Calculate seniority of the employee- MY

RP_CALCULATE_SENIORITY_MY - Calculate seniority of the employee- MY

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Calculate and return the seniority of the employee. This

function reads the feature LEPFS (EPF seniority) to determine

how the begin dates and end dates must be derived. Based on

the modifiers set,the function calculates the seniority of the

employee. The function also returns as a table the dates (year

by year) on wbich the employee has reached his seniority. The

seniority is a real number with the fraction converted to

decimals and is not in the month to year format ( ie 4 years

and 3 months is converted into 4.25).

Example

call function 'RP_CALCULATE_SENIORITY_MY'

exporting

begda = p_begda

endda = p_datum

perno = p_pernr

importing

seniority = p_seniority

tables

isenior = int_seniority

exceptions

others = 1.

Notes

This function module calculates the seniority of the employee

based on the values set in the feature LEPFS. The maintaince

of this feature therefore is very important and must be done

carefully. The function module cannot be used for deriving

the senioriy of the employee in the future.

Further information

Please refer to the documentation on the feature LEPFS.





Parameters

BEGDA
CLPGM
ENDDA
ISENIOR
PERNO
SENIORITY

Exceptions

FEATURE_ERROR
RECORD_NOT_FOUND
TABLE_ENTRY_NOT_FOUND

Function Group

RPL0

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1912 Date: 20240523 Time: 151125     sap01-206 ( 24 ms )