Menu

SAP Function Module HR_AUPBS_SENIORITY

Calculate the whole length of service of employee

The Function Module HR_AUPBS_SENIORITY (Calculate the whole length of service of employee) is a standard Function Module in SAP ERP and is part of the function group 3QP8 within the package P13P1.

Technical Information

Function Module HR_AUPBS_SENIORITY
Short Text Calculate the whole length of service of employee
Function Group 3QP8
Package P13P1
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CLWOP LIKE T5QPBS4F-IPRSV Always count LWOP into LOS
CTLSL LIKE T5QPBS4F-IPRSV Count eligible service for LSL
CTTER LIKE T5QPBS4F-IPRSV Count eligible service for Termination payment
CUNAU LIKE T5QPBS4F-IPRSV Always count unauthorised leave into LOS
END_DATE LIKE SY-DATUM End date
FT_PT LIKE T5QPBS4F-IPRSV Split period service into FT and PT periods
IPRSV LIKE T5QPBS4F-IPRSV Include Prior Service
START_DATE LIKE SY-DATUM Begin date
STDHW LIKE T5QPBS4F-IPRSV Use standard hours per week for FT from t511k
THRES_VAL LIKE T511K-KWERT Threshold Value for LWOP/UNAL from T511K
TPERNR LIKE P0000-PERNR Personal number

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
SENIORITY LIKE AUPBS_SENIORITY Seniority table

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CUSTOMIZING_ERROR Both parameters CTLSL and CTTER are selected
SELECT_WRONG_PERIOD Start date must be earlier than end date