Funktionsbaustein BP JOB DELETE
Aus SAP-Wiki
Zur Navigation springenZur Suche springen
Dieser Funktionsbaustein BP_JOB_DELETE löscht einen abgebrochenen Hintergrundjob und sein Protokoll.
CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBCOUNT = JOBNAME = " FORCEDMODE = ' ' " COMMITMODE = 'X' " EXCEPTIONS " CANT_DELETE_EVENT_ENTRY = 1 " CANT_DELETE_JOB = 2 " CANT_DELETE_JOBLOG = 3 " CANT_DELETE_STEPS = 4 " CANT_DELETE_TIME_ENTRY = 5 " CANT_DERELEASE_SUCCESSOR = 6 " CANT_ENQ_PREDECESSOR = 7 " CANT_ENQ_SUCCESSOR = 8 " CANT_ENQ_TBTCO_ENTRY = 9 " CANT_UPDATE_PREDECESSOR = 10 " CANT_UPDATE_SUCCESSOR = 11 " COMMIT_FAILED = 12 " JOBCOUNT_MISSING = 13 " JOBNAME_MISSING = 14 " JOB_DOES_NOT_EXIST = 15 " JOB_IS_ALREADY_RUNNING = 16 " NO_DELETE_AUTHORITY = 17 " OTHERS = 18 . IF SY-SUBRC <> 0. * Implement suitable error handling here ENDIF.
Literatur
- Function Modules in ABAP: A Quick Reference Guide, von Tanmaya Gupta, S. 507 (EN)
- Common SAP R/3 Functions Manual, von William Lawlor, S. 321 (EN)