Menu

SAP Function Module HR_BE_DMFA_COMPUTE_00047

Calculates field 00047 for DMFA based on WS, PSP and P0107-FIXVA

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_BE_DMFA_COMPUTE_00047 (Calculates field 00047 for DMFA based on WS, PSP and P0107-FIXVA) is a standard Function Module in SAP ERP and is part of the function group HRPAYBE_SI within the package PC12.

Technical Information

Function Module HR_BE_DMFA_COMPUTE_00047
Short Text Calculates field 00047 for DMFA based on WS, PSP and P0107-FIXVA
Function Group HRPAYBE_SI
Package PC12
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ANSTA TYPE ANSTA Anstellungsstatus
BEGDA TYPE BEGDA Gültigkeitsbeginn
BTRTL TYPE BTRTL_001P Personalteilbereich
ENDDA TYPE ENDDA Gültigkeitsende
FIXVA TYPE P12_WREFV Initial if fixed working schedule (WS) and equal to 'V' if variable WS
IM_WRKDD TYPE P12_WORKEDDAYS Worked days during an SVEVL split
PERSG TYPE PERSG Employee Group
PERSK TYPE PERSK Employee Subgroup
SCHKZ TYPE SCHKN Arbeitszeitplanregel
WERKS TYPE PERSA Personalbereich

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE TYPE SY-SUBRC Returned code
WDS TYPE P12_WDS Working days system
WRKDD TYPE P12_WORKEDDAYS Worked days during an SVEVL split
WRKHR LIKE PC2D0-WRKHR Worked hours during an SVEVL split

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
PSP LIKE PC2BA Personal Work Schedule (Table PSP)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
PERSA_NOT_DEFINED The personnel area in table T001P is not defined properly.
PSP_IS_EMPTY The psp table is empty, was the function called before the generation of PSP?
PWS_NOT_DEFINED The corresponding personal working schedule is not correctly defined.