Funktionsbaustein PERIOD DAY DETERMINE

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein PERIOD_DAY_DETERMINE

CALL FUNCTION 'PERIOD_DAY_DETERMINE'
  EXPORTING
    I_GJAHR                    =
    I_MONAT                    =
    I_PERIV                    =
" IMPORTING
"   E_FDAY                     =
"   E_LDAY                     =
"   E_SPERIOD                  =
" EXCEPTIONS
"   ERROR_PERIOD               = 1
"   ERROR_PERIOD_VERSION       = 2
"   FIRSTDAY_NOT_DEFINED       = 3
"   PERIOD_NOT_DEFINED         = 4
"   YEAR_INVALID               = 5
"   OTHERS                     = 6
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur