Menu

SAP Function Module HR_SEN_CALCULATE_COMPLETE

Employment Period Calculation for Calculation Process

The Function Module HR_SEN_CALCULATE_COMPLETE (Employment Period Calculation for Calculation Process) is a standard Function Module in SAP ERP and is part of the function group HRSEN00EVALUATION within the package PSEN.

Technical Information

Function Module HR_SEN_CALCULATE_COMPLETE
Short Text Employment Period Calculation for Calculation Process
Function Group HRSEN00EVALUATION
Package PSEN
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ID_BEGDA TYPE BEGDA Evaluation Start
ID_CALTY TYPE PSEN_CALTY Calculation Type
ID_ENDDA TYPE ENDDA Evaluation end
ID_GPVAL TYPE PCCE_GPVAL Grouping Value
ID_MOLGA LIKE T525P-MOLGA Country Grouping
ID_PERNR LIKE PERNR-PERNR Personnel Number
ID_PROCE LIKE T525P-PROCE Calculation Process
ID_PROTO TYPE PSEN_PROTO Log for Employment Period Calculation
ID_PSTEP LIKE T525R-PSTEP Process step
ID_SEL_DATE TYPE BEGDA SY-DATUM Selection Date
IS_DURATION TYPE PSEN_DURATION Duration
IT_PSTEP_TSPST TYPE HRSEN00_PSTEP_TSPST Override Valuation Model for Each Process Step

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ED_DATE TYPE ENDDA Key Date Result
ES_DURATION TYPE PSEN_DURATION_DEC Duration Result
ET_WEIGHT_PEAK TYPE HRSEN00_WEIGHT_PEAK_DEC Weighted Decimal Peak
ET_WEIGHT_PERIOD TYPE HRSEN00_WEIGHT_PERIOD Weighted Periods

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR_OF_OTHER_FUNCTIONS Errors in Other Function Modules
NO_RESULT_FOR_CALTY No Result for Selected Calculation Type
PROCESS_NOT_FOUND Calculation Process Does Not Exist
PROCESS_PSTEP_NOT_FOUND Process Step Does Not Exist
WRONG_CALCULATION_TYPE Incorrect Calculation Type Parameter
WRONG_IMPORT_PARAMETER Incorrect Import Parameter