SAP Reports / Programs

DMC_MT_STARTER_BATCH SAP ABAP Report - MWB: Mass transfer start







DMC_MT_STARTER_BATCH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to execute MWB data transfers (Mass transfers of SAP tables)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter DMC_MT_STARTER_BATCH 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_MT_STARTER_BATCH. "Basic submit
SUBMIT DMC_MT_STARTER_BATCH AND RETURN. "Return to original report after report execution complete
SUBMIT DMC_MT_STARTER_BATCH 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: P_AG_LOG = Aggregated Log
Selection Text: P_APPLIC = Application
Selection Text: P_BEHAV = Transfer Behavior
Selection Text: P_DDICCK = execute DDIC check
Selection Text: P_ENDDAT = Controlled end on
Selection Text: P_ENDFLG = Controlled stop?
Selection Text: P_ENDTIM = Controlled end at
Selection Text: P_ID = Precalc.ID/Coll.ACP ID/ACP ID
Selection Text: P_PROJ = Project
Selection Text: P_SPROJ = Subproject
Selection Text: P_SUFFIX = Mass Transfer ID
Selection Text: P_TEST = Test mode
Selection Text: S_TABLE = object selection
Title: MWB: Mass transfer start
Text Symbol: 001 = - transfer started
Text Symbol: 002 = - transfer finished
Text Symbol: DSP = Display Project Data
Text Symbol: T00 = Selection
Text Symbol: T01 = Control data
Text Symbol: T02 = Controlled end of processing
Text Symbol: T03 = Project data


INCLUDES used within this REPORT DMC_MT_STARTER_BATCH

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:

GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = g_jobcount jobname = g_jobname EXCEPTIONS OTHERS = 0.

ENQUEUE_E_DMC_JOB CALL FUNCTION 'ENQUEUE_E_DMC_JOB' EXPORTING mode_dmc_job_lock_struct = 'E' jobname = g_jobname jobcount = g_jobcount _scope = '2' _wait = 'X' _collect = ' ' EXCEPTIONS OTHERS = 0.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

LIST_FROM_MEMORY CALL FUNCTION 'LIST_FROM_MEMORY' "GW TABLES listobject = lt_spool_list EXCEPTIONS OTHERS = 0.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' EXPORTING write_only = gc_true TABLES listobject = lt_spool_list EXCEPTIONS OTHERS = 0.

DISPLAY_LIST CALL FUNCTION 'DISPLAY_LIST' EXPORTING fullscreen = gc_true TABLES listobject = lt_spool_list EXCEPTIONS OTHERS = 0.

LIST_FREE_MEMORY CALL FUNCTION 'LIST_FREE_MEMORY' TABLES listobject = lt_spool_list.

DEQUEUE_E_DMC_DDIC CALL FUNCTION 'DEQUEUE_E_DMC_DDIC' EXPORTING mode_dmc_ddic_enq = 'S' ddname = g_enq_key.

DEQUEUE_E_DMC_DDIC CALL FUNCTION 'DEQUEUE_E_DMC_DDIC' EXPORTING mode_dmc_ddic_enq = 'S' ddname = g_enq_key.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

ENQUEUE_E_DMC_LOG_MERGE CALL FUNCTION 'ENQUEUE_E_DMC_LOG_MERGE' "GW000141 EXPORTING mode_dmc_mt_tables = 'E' id = p_suffix tabname = wa_mt_tables-tabname _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_DMC_LOG_MERGE CALL FUNCTION 'DEQUEUE_E_DMC_LOG_MERGE' "GW000141 EXPORTING id = p_suffix tabname = wa_mt_tables-tabname.

DEQUEUE_E_DMC_MT_TABLES CALL FUNCTION 'DEQUEUE_E_DMC_MT_TABLES' EXPORTING mode_dmc_mt_tables = 'E' id = p_suffix x_id = ' ' _scope = '3' _synchron = ' ' _collect = ' '.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = g_jobname IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobcount jobname = g_jobname sdlstrtdt = l_startdate sdlstrttm = l_starttime EXCEPTIONS OTHERS = 0.



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