DMC_MT_DBSIZE_CALC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report calculates the amount of storage required for a mass transfer and compares it with the available storage in the respective table space...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_DBSIZE_CALC into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_DETAIL = Detail Display (Tables)
Selection Text: P_ID = D Mass Transfer ID
Selection Text: P_R_RFC = RFC Destination for Receiver
Selection Text: P_S_RFC = RFC Destination for Sender
Title: Calculate storage size needed in receiver system for mass transfer
Text Symbol: 001 = Different database systems used in sender system and receiver system
Text Symbol: E01 = Invalid mass transfer ID
Text Symbol: L01 = Table Name
Text Symbol: L02 = Size as Entries * Length
Text Symbol: L03 = Size as in Sender System
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_JOB_RUNTIME_INFO CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING jobcount = l_jobcount jobname = l_jobname EXCEPTIONS OTHERS = 0.
ENQUEUE_E_DMC_JOB CALL FUNCTION 'ENQUEUE_E_DMC_JOB' EXPORTING mode_dmc_job_lock_struct = 'E' jobname = l_jobname jobcount = l_jobcount _scope = '2' _wait = 'X' _collect = ' ' EXCEPTIONS OTHERS = 0.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION p_s_rfc IMPORTING rfcsi_export = ls_snd_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE l_msgtxt system_failure = 2 MESSAGE l_msgtxt.
RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION p_r_rfc IMPORTING rfcsi_export = ls_rcv_rfcsi EXCEPTIONS communication_failure = 1 MESSAGE l_msgtxt system_failure = 2 MESSAGE l_msgtxt.
DMC_GET_DBSIZE_SENDER_DATA CALL FUNCTION 'DMC_GET_DBSIZE_SENDER_DATA' DESTINATION p_s_rfc TABLES ct_tabinfos = lt_tabinfo et_return = lt_return EXCEPTIONS communication_failure = 1 MESSAGE l_msgtxt system_failure = 2 MESSAGE l_msgtxt.
DMC_GET_DBSIZE_RECEIVER_DATA CALL FUNCTION 'DMC_GET_DBSIZE_RECEIVER_DATA' DESTINATION p_r_rfc TABLES ct_tabinfos = lt_tabinfo et_return = lt_return EXCEPTIONS communication_failure = 1 MESSAGE l_msgtxt system_failure = 2 MESSAGE l_msgtxt.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = 'DMC_DBTAB_SIZE_INFO' i_inclname = sy-repid CHANGING ct_fieldcat = lt_fieldcat.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING it_fieldcat = lt_fieldcat i_save = 'A' TABLES t_outtab = lt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = 'DMC_TABLESPACE_FREE_SIZE' i_inclname = sy-repid CHANGING ct_fieldcat = lt_fieldcat.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING it_fieldcat = lt_fieldcat is_layout = ls_layout i_save = 'A' TABLES t_outtab = lt_dbspace EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
DMC_MT_DBSIZE_CALC - Calculate storage size needed in receiver system for mass transfer DMC_MT_DBSIZE_CALC - Calculate storage size needed in receiver system for mass transfer DMC_MT_COUNT_TABLES_ANALYSE - MWB: Analysis of Results of Table Counting DMC_MT_COUNT_TABLES_ANALYSE - MWB: Analysis of Results of Table Counting DMC_MT_COUNT_TABLES - MWB: Table Count for a Mass Transfer DMC_MT_COUNT_TABLES - MWB: Table Count for a Mass Transfer