Menu

SAP Function Module HR_SEN_CALCULATE_PROCESS_STEP

Employment Period Calculation for Calculation Process Step

The Function Module HR_SEN_CALCULATE_PROCESS_STEP (Employment Period Calculation for Calculation Process Step) 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_PROCESS_STEP
Short Text Employment Period Calculation for Calculation Process Step
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_AUTHO LIKE T525P-AUTHO Authorization Check
ID_BEGDA TYPE BEGDA Evaluation Start
ID_CALTY TYPE PSEN_CALTY Calculation Type
ID_CRULE LIKE T525P-CRULE Conversion Rule for Calculations
ID_ENDDA TYPE ENDDA Evaluation end
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
IS_TSPST_CONTROL TYPE PSEN_TSPST_CONTROL Evaluation Sample Control
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
ED_RDATE TYPE D Start /End of First / Last Relevant Employment Period
ES_DURATION TYPE PSEN_DURATION_DEC Duration Result
ES_RDURATION TYPE PSEN_DURATION_DEC Exception: Max. Duration in Years, Months, and Days
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
WRONG_CALCULATION_TYPE Incorrect Calculation Type Parameter
WRONG_IMPORT_PARAMETER Incorrect Import Parameter