SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

DMC_JOBS_CREATE SAP ABAP Report - MWB: Schedule conversion objects in batch (mass transfer)







DMC_JOBS_CREATE is a standard Executable ABAP Report 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 DMC_JOBS_CREATE 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 DMC_JOBS_CREATE. "Basic submit
SUBMIT DMC_JOBS_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT DMC_JOBS_CREATE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: GP_PREF = Prefix for Job Name
Selection Text: GP_SERV = Tgt system for job
Selection Text: GP_START = Immediate job start
Selection Text: P_ACPLAN = Key of the Access Plan
Selection Text: P_APPLIC = D Application
Selection Text: P_PROJ = D Project
Selection Text: P_SPROJ = D Subproject
Selection Text: P_SUFFIX = Indicator for Mass Start
Selection Text: P_TEST = Test mode
Title: MWB: Schedule conversion objects in batch (mass transfer)
Text Symbol: T01 = Object Selection
Text Symbol: T02 = Job Details


INCLUDES used within this REPORT DMC_JOBS_CREATE

INCLUDE: LBTCHDEF.
INCLUDE: TSKHINCL.


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:

HELP_VALUES_GET_WITH_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_NAME' EXPORTING SELECTFIELD = 'BTCSYSTEM' TABLENAME = 'BTCTGTHTBL' SHOW_ALL_VALUES_AT_FIRST_TIME = T_YES IMPORTING SELECT_VALUE = GD_SERVER_SEL TABLES FULL_TABLE = GT_BATCHSERVER.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = l_percent TEXT = l_text.

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING SERVICES = MS_BTC TABLES LIST = LT_SERVER_LIST. "#EC *

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = P_JOBNAME IMPORTING JOBCOUNT = X_JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4.

JOB_SUBMIT * CALL FUNCTION 'JOB_SUBMIT' * EXPORTING * AUTHCKNAM = SY-UNAME * JOBCOUNT = P_JOBCOUNT * JOBNAME = P_JOBNAME ** PRIPARAMS = ' ' * REPORT = P_PROGNAME ** 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.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = P_JOBCOUNT JOBNAME = P_JOBNAME STRTIMMED = P_START TARGETSYSTEM = P_SERVER ** IMPORTING ** JOB_WAS_RELEASED = EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 OTHERS = 8.

BP_JOB_MODIFY * CALL FUNCTION 'BP_JOB_MODIFY' * EXPORTING DIALOG = BTC_NO * JOBCOUNT = P_JOBCOUNT * JOBNAME = P_JOBNAME * OPCODE = BTC_RELEASE_JOB * RELEASE_STDT = L_INITIAL_STDT * TABLES NEW_STEPLIST = GT_STEPLIST "#EC * * EXCEPTIONS CANT_ENQ_JOB = 1 * JOB_NOT_MODIFIABLE_ANYMORE = 2 * NOTHING_TO_DO = 3.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING JOBSELECT_DIALOG = BTC_NO JOBSEL_PARAM_IN = LD_JOBSEL IMPORTING JOBSEL_PARAM_OUT = LD_JOBSEL TABLES JOBSELECT_JOBLIST = LT_JOBLIST "#EC * EXCEPTIONS INVALID_DIALOG_TYPE = 1 JOBNAME_MISSING = 2 NO_JOBS_FOUND = 3 SELECTION_CANCELED = 4 USERNAME_MISSING = 5 OTHERS = 6.

BP_JOBLIST_PROCESSOR CALL FUNCTION 'BP_JOBLIST_PROCESSOR' EXPORTING JOBLIST_OPCODE = BTC_JOBLIST_SHOW JOBLIST_REFR_PARAM = LD_JOBSEL TABLES JOBLIST = LT_JOBLIST "#EC * EXCEPTIONS INVALID_OPCODE = 1 JOBLIST_IS_EMPTY = 2 JOBLIST_PROCESSOR_CANCELED = 3 OTHERS = 4.



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 DMC_JOBS_CREATE or its description.