Funktionsbaustein JOB SUBMIT

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein JOB_SUBMIT

CALL FUNCTION 'JOB_SUBMIT'
  EXPORTING
"   ARCPARAMS                         =
    AUTHCKNAM                         =
"   COMMANDNAME                       = ' '
"   OPERATINGSYSTEM                   = ' '
"   EXTPGM_NAME                       = ' '
"   EXTPGM_PARAM                      = ' '
"   EXTPGM_SET_TRACE_ON               = ' '
"   EXTPGM_STDERR_IN_JOBLOG           = 'X'
"   EXTPGM_STDOUT_IN_JOBLOG           = 'X'
"   EXTPGM_SYSTEM                     = ' '
"   EXTPGM_RFCDEST                    = ' '
"   EXTPGM_WAIT_FOR_TERMINATION       = 'X'
    JOBCOUNT                          =
    JOBNAME                           =
"   LANGUAGE                          = SY-LANGU
"   PRIPARAMS                         = ' '
"   REPORT                            = ' '
"   VARIANT                           = ' '
" IMPORTING
"   STEP_NUMBER                       =
" EXCEPTIONS
"   BAD_PRIPARAMS                     = 1
"   BAD_XPGFLAGS                      = 2
"   INVALID_JOBDATA                   = 3
"   JOBNAME_MISSING                   = 4
"   JOB_NOTEX                         = 5
"   JOB_SUBMIT_FAILED                 = 6
"   LOCK_FAILED                       = 7
"   PROGRAM_MISSING                   = 8
"   PROG_ABAP_AND_EXTPG_SET           = 9
"   OTHERS                            = 10
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur