Menu

SAP Function Module HR_GET_LEAVE_DATA

Urlaubsdaten für eine Personalnummer mit Zeitraumvorgaben

The Function Module HR_GET_LEAVE_DATA (Urlaubsdaten für eine Personalnummer mit Zeitraumvorgaben) is a standard Function Module in SAP ERP and is part of the function group HRGL within the package PTIM.

Technical Information

Function Module HR_GET_LEAVE_DATA
Short Text Urlaubsdaten für eine Personalnummer mit Zeitraumvorgaben
Function Group HRGL
Package PTIM
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BEGDA_0005 LIKE P0005-BEGDA '18000101' From date (IT 0005)
CDATUM LIKE P0005-UBE01 SY-DATUM Key date
ENDDA_0005 LIKE P0005-ENDDA '99991231' To date (IT 0005)
OBJPS_0005 LIKE P0005-OBJPS Object identification
PERNR LIKE PERNR-PERNR Personnel number
SEL_MOD TYPE TPTIM_SELMOD 'S' Selection mode
UBEGD LIKE P0005-UBE01 Start of deduction period
UENDD LIKE P0005-UEN01 End of deduction period (key date)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACCOUNT TYPE TPTIM_ACCOUNT Accounted up to key date (cumulated)
ENTITLE TYPE TPTIM_ENTITLE Entitlement up to key date (cumulated)
ORDERED TYPE TPTIM_ORDERED Requested up to key date (cumulated)
REDUCED TYPE TPTIM_REDUCE Compensated up to key date (cumulated)

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
I0005 LIKE P0005 Infotype table leave entitlement
I0083 LIKE P0083 Infotype table leave compensation
URART_SEL TYPE TPTIM_URSEL Selection options for leave types
XANSP TYPE TPTIM_XANSP Table of individual values

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INFTY_0003_NOT_DEFINED IT 0083 not in T582A
INFTY_0005_NOT_DEFINED IT 0005 not in T582A
INFTY_0083_NOT_DEFINED IT 0083 not in T582A
MISSING_AUTHORITY No authorization to read ITs
OLD_NE_NEW_PC_VERSION_NR Version of cluster PC is obsolete