Funktionsbaustein JOB CLOSE
Aus SAP-Wiki
Zur Navigation springenZur Suche springen
Dieser Funktionsbaustein JOB_CLOSE
CALL FUNCTION 'JOB_CLOSE' EXPORTING " AT_OPMODE = ' ' " AT_OPMODE_PERIODIC = ' ' " CALENDAR_ID = ' ' " EVENT_ID = ' ' " EVENT_PARAM = ' ' " EVENT_PERIODIC = ' ' JOBCOUNT = JOBNAME = " LASTSTRTDT = NO_DATE " LASTSTRTTM = NO_TIME " PRDDAYS = 0 " PRDHOURS = 0 " PRDMINS = 0 " PRDMONTHS = 0 " PRDWEEKS = 0 " PREDJOB_CHECKSTAT = ' ' " PRED_JOBCOUNT = ' ' " PRED_JOBNAME = ' ' " SDLSTRTDT = NO_DATE " SDLSTRTTM = NO_TIME " STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS " STRTIMMED = ' ' " TARGETSYSTEM = ' ' " START_ON_WORKDAY_NOT_BEFORE = SY-DATUM " START_ON_WORKDAY_NR = 0 " WORKDAY_COUNT_DIRECTION = 0 " RECIPIENT_OBJ = " TARGETSERVER = ' ' " DONT_RELEASE = ' ' " TARGETGROUP = ' ' " DIRECT_START = " IMPORTING " JOB_WAS_RELEASED = " CHANGING " RET = " EXCEPTIONS " CANT_START_IMMEDIATE = 1 " INVALID_STARTDATE = 2 " JOBNAME_MISSING = 3 " JOB_CLOSE_FAILED = 4 " JOB_NOSTEPS = 5 " JOB_NOTEX = 6 " LOCK_FAILED = 7 " INVALID_TARGET = 8 " OTHERS = 9 . IF SY-SUBRC <> 0. * Implement suitable error handling here ENDIF.
Literatur
- Function Modules in ABAP: A Quick Reference Guide, von Tanmaya Gupta, S. 521 (EN)
- Common SAP R/3 Functions Manual, von William Lawlor, S. 325 (EN)