Funktionsbaustein BP JOBLOG READ

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein BP_JOBLOG_READ gibt für einen Jobnamen dessen Details in einer internen Tabelle zurück.

CALL FUNCTION 'BP_JOBLOG_READ'
" EXPORTING
"   CLIENT                      = SY-MANDT
"   JOBCOUNT                    = ' '
"   JOBLOG                      = ' '
"   JOBNAME                     = ' '
"   LINES                       =
"   DIRECTION                   =
  TABLES
    JOBLOGTBL                   =
" EXCEPTIONS
"   CANT_READ_JOBLOG            = 1
"   JOBCOUNT_MISSING            = 2
"   JOBLOG_DOES_NOT_EXIST       = 3
"   JOBLOG_IS_EMPTY             = 4
"   JOBLOG_NAME_MISSING         = 5
"   JOBNAME_MISSING             = 6
"   JOB_DOES_NOT_EXIST          = 7
"   OTHERS                      = 8
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur