Menu

SAP Function Module HRPBSNO_CALC_DURATION

Calculate the completed years between 2 dates.

The Function Module HRPBSNO_CALC_DURATION (Calculate the completed years between 2 dates.) is a standard Function Module in SAP ERP and is part of the function group HRPBSNO within the package P20P_PA.

Technical Information

Function Module HRPBSNO_CALC_DURATION
Short Text Calculate the completed years between 2 dates.
Function Group HRPBSNO
Package P20P_PA
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DATE1 LIKE P0001-BEGDA Begin date
DATE2 LIKE P0001-BEGDA End date

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DURATION TYPE NUM2 Numeric, 2-digit value

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

This function module does not define any Exceptions.