Funktionsbaustein HR HK DIFF BT 2 DATES

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein HR_HK_DIFF_BT_2_DATES

CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
  EXPORTING
    DATE1                             =
    DATE2                             =
"   OUTPUT_FORMAT                     = '01'
" IMPORTING
"   YEARS                             =
"   MONTHS                            =
"   DAYS                              =
" EXCEPTIONS
"   OVERFLOW_LONG_YEARS_BETWEEN       = 1
"   INVALID_DATES_SPECIFIED           = 2
"   OTHERS                            = 3
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur