Menu

SAP Function Module HR_AUPBS_CALC_ABSENCES

Read and Calculation of Absences

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module HR_AUPBS_CALC_ABSENCES (Read and Calculation of Absences) is a standard Function Module in SAP ERP and is part of the function group 3QP7 within the package P13P7.

Technical Information

Function Module HR_AUPBS_CALC_ABSENCES
Short Text Read and Calculation of Absences
Function Group 3QP7
Package P13P7
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CALC_BEGDA LIKE SY-DATUM Date and time, current (application server) date
CALC_ENDDA LIKE SY-DATUM Date and time, current (application server) date
CALC_MOABW LIKE T001P-MOABW Personnel subarea grouping for absence and attendance types
CALC_PERNR LIKE PERNR-PERNR Personnel number
DATASOURCE_SWITCH LIKE RPUPBSQ6X-DATASOURCE Leave type stored in 2001

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
ABS_REC LIKE PAUTM_REC Structure for leave management (LWOP handling)
CALC_I5QPBS2F LIKE T5QPBS2F LWOP/UNAL impact on individual leave type
CALC_P0001 LIKE P0001 HR Master Record: Infotype 0001 (Org. Assignment)
CALC_P0007 LIKE P0007 HR Master Record: Infotype 0007 (Planned Working Time)
CALC_P2001 LIKE P2001 HR Time Record: Absences Infotype (2001)
CUT_P2001_COMP LIKE PAUTM Structure for leave management (LWOP handling)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
WORK_SCHEDULE_ERROR Work Schedule Error