Menu

SAP Function Module HR_QTACC_CALC_SERVICE_DTLS_13

Calculate length of service

The Function Module HR_QTACC_CALC_SERVICE_DTLS_13 (Calculate length of service) is a standard Function Module in SAP ERP and is part of the function group HRIL_AU within the package PC13.

Technical Information

Function Module HR_QTACC_CALC_SERVICE_DTLS_13
Short Text Calculate length of service
Function Group HRIL_AU
Package PC13
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IT0023_REQ LIKE Previous employment required
PERNR LIKE PERNR-PERNR Personnel Number
SERVICE_TILL_DATE TYPE SY-DATUM Service till date
TRULE LIKE T559G-LRULE Transfer Rule
XDATE LIKE SY-DATUM Generation date

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HIREDATE LIKE P0001-BEGDA Start Date
SVDAY_DEF TYPE P13Q_SVDAYS Service days and years
SVYRS_DEF TYPE P13Q_SVDAYS Service days and years

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
P0001A LIKE P0001 HR Master Record: Infotype 0001 (Org. Assignment)
P0023A LIKE P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ENTRY_DATE_NOT_FOUND Hire date not found
PERNR_NOT_ASSIGNED Personnel number not assigned yet