Menu

SAP Function Module HR_BE_DMFA_COMPUTE_00047

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

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.