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. |