Menu

SAP Function Module HR_99S_INTERVAL_BETWEEN_DATES

Get days,weeks, months and years between dates

The Function Module HR_99S_INTERVAL_BETWEEN_DATES (Get days,weeks, months and years between dates) is a standard Function Module in SAP ERP and is part of the function group HR99S00_TIME within the package P99S.

Technical Information

Function Module HR_99S_INTERVAL_BETWEEN_DATES
Short Text Get days,weeks, months and years between dates
Function Group HR99S00_TIME
Package P99S
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BEGDA TYPE D begin date
ENDDA TYPE D end date
TAB_MODE TYPE C ' ' Mode for tab of months

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
C_MONTHS TYPE I complete months
C_WEEKS TYPE I complete weeks
C_YEARS TYPE I complete years
DAYS TYPE I number of days
D_MONTHS TYPE I delta months
MONTHS LIKE absolute months
MONTH_TAB TYPE P99SG_MONTH_TAB table of months between
WEEKS LIKE absolute weeks
YEARS LIKE absolute years

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.