SAP Reports / Programs | Basis Components | Installation Tools(BC-INS) SAP BC

INST_JOBS_GF SAP ABAP INCLUDE - INSTJOBSGF







INST_JOBS_GF is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter INST_JOBS_GF into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT INST_JOBS_GF. "Basic submit
SUBMIT INST_JOBS_GF AND RETURN. "Return to original report after report execution complete
SUBMIT INST_JOBS_GF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT INST_JOBS_GF

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

INST_SET_RETURN CALL FUNCTION 'INST_SET_RETURN' EXPORTING RESULT = RESULT_RC RESULT_TEXT = RESULT_TEXT RESULT_REPORT = MYREPORT TABLES RESULT_TAB = RESULT_TAB EXCEPTIONS OTHERS = 99.

INST_GET_PARAM CALL FUNCTION 'INST_GET_PARAM' EXPORTING PARA_NAME = para_name IMPORTING PARA_VALUE = PARA_VALUE CALL_MODE = CALL_MODE EXCEPTIONS OTHERS = 99.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBNAME = ITJOBDEF-JOBNAME JOBCOUNT = CURRJCOUNT.

BP_JOB_MODIFY CALL FUNCTION 'BP_JOB_MODIFY' EXPORTING DIALOG = 'N' JOBNAME = ITJOBDEF-JOBNAME JOBCOUNT = CURRJCOUNT OPCODE = 18 IMPORTING MODIFIED_JOBHEAD = ITJOBPAR TABLES NEW_STEPLIST = ITSTEPPAR EXCEPTIONS CANT_DERELEASE_JOB = 1 CANT_ENQ_JOB = 2 CANT_READ_JOBDATA = 3 CANT_RELEASE_JOB = 4 CANT_SET_JOBSTATUS_IN_DB = 5 CANT_START_JOB_IMMEDIATELY = 6 CANT_UPDATE_JOBDATA = 7 EVENTCNT_GENERATION_ERROR = 8 INVALID_DIALOG_TYPE = 9 INVALID_NEW_JOBDATA = 10 INVALID_NEW_JOBSTATUS = 11 INVALID_OPCODE = 12 INVALID_STARTDATE = 13 JOB_EDIT_FAILED = 14 JOB_MODIFY_CANCELED = 15 JOB_NOT_MODIFIABLE_ANYMORE = 16 NOTHING_TO_DO = 17 NO_BATCH_ON_TARGET_HOST = 18 NO_BATCH_SERVER_FOUND = 19 NO_BATCH_WP_FOR_JOBCLASS = 20 NO_MODIFY_PRIVILEGE_GIVEN = 21 NO_RELEASE_PRIVILEGE_GIVEN = 22 NO_STARTDATE_NO_RELEASE = 23 TARGET_HOST_NOT_DEFINED = 24 TGT_HOST_CHK_HAS_FAILED = 25 OTHERS = 26.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBNAME = ITJOBDEF-JOBNAME JOBCOUNT = CURRJCOUNT EVENT_ID = ITJOBDEF-EVENTID EVENT_PARAM = ITJOBDEF-EVENTPARM EVENT_PERIODIC = ITJOBDEF-PERIODIC PRDDAYS = ITJOBDEF-PRDDAYS PRDHOURS = ITJOBDEF-PRDHOURS PRDMINS = 0 PRDMONTHS = ITJOBDEF-PRDMONTHS PRDWEEKS = 0 SDLSTRTDT = ITJOBDEF-SDLSTRTDT SDLSTRTTM = ITJOBDEF-SDLSTRTTM TARGETSYSTEM = '' EXCEPTIONS JOB_CLOSE_FAILED = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 CANT_START_IMMEDIATE = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING JOBNAME = ITJOBDEF-JOBNAME JOBCOUNT = CURRJCOUNT AUTHCKNAM = ITJOBDEF-AUTHCKNAM REPORT = ITJOBDEF-report VARIANT = ITJOBDEF-VARIANT LANGUAGE = 'E' " NLS: E should be in all sys EXCEPTIONS JOB_SUBMIT_FAILED = 1 BAD_PRIPARAMS = 2 INVALID_JOBDATA = 3 JOBNAME_MISSING = 4 JOB_NOTEX = 5 LOCK_FAILED = 6 PROGRAM_MISSING = 7 PROG_ABAP_AND_EXTPG_SET = 8 OTHERS = 9.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = NUL.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = ITJOBDEF-JOBNAME JOBGROUP = '' IMPORTING JOBCOUNT = CURRJCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name INST_JOBS_GF or its description.