Funktionsbaustein BP JOBLOG SHOW

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein BP_JOBLOG_SHOW zeigt einen Hintergrundjob an.

CALL FUNCTION 'BP_JOBLOG_SHOW'
" EXPORTING
"   CLIENT                          = SY-MANDT
"   JOBCOUNT                        = ' '
"   JOBLOGID                        = ' '
"   JOBNAME                         = ' '
"   LINES                           = ' '
"   DIRECTION                       = ' '
" EXCEPTIONS
"   ERROR_READING_JOBDATA           = 1
"   ERROR_READING_JOBLOG_DATA       = 2
"   JOBCOUNT_MISSING                = 3
"   JOBLOG_DOES_NOT_EXIST           = 4
"   JOBLOG_IS_EMPTY                 = 5
"   JOBLOG_SHOW_CANCELED            = 6
"   JOBNAME_MISSING                 = 7
"   JOB_DOES_NOT_EXIST              = 8
"   NO_JOBLOG_THERE_YET             = 9
"   NO_SHOW_PRIVILEGE_GIVEN         = 10
"   OTHERS                          = 11
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur