SAP ABAP Function Module HR_HK_DIFF_BT_2_DATES (HR-HK: Calculate the days, months and years between 2 dates.)
Hierarchy
☛
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
⤷ PY-XX-RS (Application Component) Reuse Services for Country Development
⤷ P99E (Package) Human Resources Department: Cross-Country Objects East Asia
⤷ PY-XX-RS (Application Component) Reuse Services for Country Development
⤷ P99E (Package) Human Resources Department: Cross-Country Objects East Asia
Basic Data
Function Module | HR_HK_DIFF_BT_2_DATES | HR-HK: Calculate the days, months and years between 2 dates. |
Function Group | 3HKC | HR-HK: Time Calculation Functions |
Program Name | SAPL3HKC | |
INCLUDE Name | L3HKCU01 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | YEARS | TYPE | PEA_SCRYY | Years between the begin and end date | |||
Exporting | MONTHS | TYPE | PEA_SCRMM | Months between the begin and end date | |||
Exporting | DAYS | TYPE | PEA_SCRDD | Days between the begin and end date | |||
Importing | DATE1 | TYPE | P0001-BEGDA | Begin date | |||
Importing | DATE2 | TYPE | P0001-BEGDA | End date | |||
Importing | OUTPUT_FORMAT | TYPE | CHAR2 | '01' | Format to display the output | ||
Exception | OVERFLOW_LONG_YEARS_BETWEEN | TYPE | |||||
Exception | INVALID_DATES_SPECIFIED | TYPE | |||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 19980423 |
SAP Release Created in |