Funktionsbaustein SHOW JOBSTATE

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein SHOW_JOBSTATE

CALL FUNCTION 'SHOW_JOBSTATE'
  EXPORTING
    JOBCOUNT               =
    JOBNAME                =
" IMPORTING
"   ABORTED                =
"   FINISHED               =
"   PRELIMINARY            =
"   READY                  =
"   RUNNING                =
"   SCHEDULED              =
"   SUSPENDED              =
"   OTHER                  =
" EXCEPTIONS
"   JOBCOUNT_MISSING       = 1
"   JOBNAME_MISSING        = 2
"   JOB_NOTEX              = 3
"   OTHERS                 = 4
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur