SAP Reports / Programs

DMC_COUNT_TABLE_ENTRIES_BTC SAP ABAP Report - MWB: Table Counter - Framework Program for Batch Parallel Processing







DMC_COUNT_TABLE_ENTRIES_BTC 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_COUNT_TABLE_ENTRIES_BTC 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_COUNT_TABLE_ENTRIES_BTC. "Basic submit
SUBMIT DMC_COUNT_TABLE_ENTRIES_BTC AND RETURN. "Return to original report after report execution complete
SUBMIT DMC_COUNT_TABLE_ENTRIES_BTC 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_DATE = Date
Selection Text: P_MT_ID = D Mass Transfer ID
Selection Text: P_RFC = RFC Destination
Selection Text: P_RUN_ID = Precalculation/Access Plan ID
Selection Text: P_TIME = Time
Selection Text: S_TABLES = Table Name(s)
Title: MWB: Table Counter - Framework Program for Batch Parallel Processing
Text Symbol: CNT = Number of Entries
Text Symbol: FUN = Count table entries for:
Text Symbol: RFC = RFC Connection:


INCLUDES used within this REPORT DMC_COUNT_TABLE_ENTRIES_BTC

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.

DMC_COUNT_TABLE_ENTRIES CALL FUNCTION 'DMC_COUNT_TABLE_ENTRIES' DESTINATION p_rfc EXPORTING im_tabname = s_tables-low im_exact_count = 'X' IMPORTING ex_count = l_count EXCEPTIONS communication_failure = 12 MESSAGE msg_text system_failure = 16 MESSAGE msg_text OTHERS = 1.

ENQUEUE_E_DMC_MT_TABLES CALL FUNCTION 'ENQUEUE_E_DMC_MT_TABLES' EXPORTING mode_dmc_mt_tables = 'E' id = 'JOB' x_id = ' ' _scope = '2' _wait = 'X' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

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.

DEQUEUE_E_DMC_JOB CALL FUNCTION 'DEQUEUE_E_DMC_JOB' EXPORTING mode_dmc_job_lock_struct = 'E' jobname = g_jobname jobcount = g_jobcount _scope = '3' _synchron = ' ' _collect = ' '.

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

ENQUEUE_E_DMC_MT_TABLES CALL FUNCTION 'ENQUEUE_E_DMC_MT_TABLES' EXPORTING mode_dmc_mt_tables = 'E' id = p_mt_id x_id = ' ' _scope = '2' _wait = 'X' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

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



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