Ansicht
Dokumentation

EXIT_SAPLHRBENUSGENERAL_002 - Function exit for most recent period of service date calculation

EXIT_SAPLHRBENUSGENERAL_002 - Function exit for most recent period of service date calculation

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function is a customer exit for retrieving the first date of the most recent period that constitute X years of service. The corresponding SAP standard function is HR_BEN_403B_GET_SERV_DATE.

Input values to this function are:

_PERNR : The employee whose most recent _NOYRS years of service is to be retrieved.

_REF_DATE : Find the most recent period as of this date. The value of this field is always set to the check date (paydate) of the current payroll period when used in the 403(b) processing.

_NOYRS : The value of this field is either 1 or 10, indicating whether to retrieve the most recent 1 or 10 years of service.

Output value expected from this function is:

_BEGDA : This is the first date of the most recent period which constitute _NOYRS years of service as of _REF_DATE.

_ENDDA: This is the last date of the most recent period which constitute _NOYRS years of service as of _REF_DATE.

Example

A part-time employee has always worked 50% , to retrieve the most recent period which constitute 1 year of service as of 03/31/1999, set the following input paramters:

_PERNR = EE #

_REF_DATE = 03/31/1999

_NOYRS = '01'

Output expected are:

_BEGDA = 03/31/1997

_ENDDA = 03/31/1999

Notes

1. If the employee being evaluated is a full-time employee, and he/she is not hired in the current calendar year, then the output field _ENDDA should be 12/31 of the previous calendar year and you can leave the _BEGDA field blank.

2. If the employee being evaluated is a full-time employee, and he/she is hired in the current calendar year, then the output field _ENDDA should equal to _REF_DATE and you can leave the _BEGDA field blank.

3. If the employee being evaluated is a part-time employee, then the output field _ENDDA should equal to _REF_DATE, and the _BEGDA will be whatever you calculated.

Further information





Parameters

_BEGDA
_ENDDA
_NOYRS
_PERNR
_REF_DATE

Exceptions

CUSTOMER_ERROR
STANDARD_CALCULATION

Function Group

XPBENUS

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2414 Date: 20240523 Time: 045910     sap01-206 ( 46 ms )