SAP Reports / Programs

CNV_TDMS_02_GETSIZE SAP ABAP Report - Table and index size for all databases







CNV_TDMS_02_GETSIZE 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 CNV_TDMS_02_GETSIZE 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 CNV_TDMS_02_GETSIZE. "Basic submit
SUBMIT CNV_TDMS_02_GETSIZE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_02_GETSIZE 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_ACT_ID = Activity Identifier
Selection Text: P_PACK = Package
Selection Text: P_PHASE = Phase
Selection Text: S_TAB = Select Option
Title: Table and index size for all databases


INCLUDES used within this REPORT CNV_TDMS_02_GETSIZE

INCLUDE CNV_MBT_SM_PARAMS.
INCLUDE CNV_TDMS_PROTMESS_TOP.
INCLUDE CNV_TDMS_PROTMESS.
INCLUDE CNV_TDMS_CONSTANTS.
INCLUDE CNV_TDMS_02_GETSIZE_TOP.
INCLUDE CNV_TDMS_02_GETSIZE_F01.


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:

CNV_TDMS_SET_GET_STATE CALL FUNCTION 'CNV_TDMS_SET_GET_STATE' EXPORTING gd_packid = p_pack gd_phase = c_phase_pack_settings "c_phase_syst_ana gd_act_id = p_act_id * TABLES * LT_STATE = EXCEPTIONS insert_error = 1 rfc_error = 2 OTHERS = 3.

CNV_MBT_L_STATE_INIT CALL FUNCTION 'CNV_MBT_L_STATE_INIT' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.

CNV_TDMS_CHECK_EXECUTION * CALL FUNCTION 'CNV_TDMS_CHECK_EXECUTION' * EXPORTING * packid = p_pack * phase = c_phase_syst_ana * activity_id = c_confirm_settings * IMPORTING * state_tec = gv_state_tec * state_log = gv_state_log ** aborted = * EXCEPTIONS * no_destinations_for_packid = 1 * no_pcl_destination_for_packid = 2 * entry_does_not_exist = 3 * other_error = 4 * OTHERS = 5.

CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = gv_pcl_dest EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.

CNV_TDMS_02_SET_PORT CALL FUNCTION 'CNV_TDMS_02_SET_PORT' DESTINATION gv_pcl_dest EXPORTING im_packid = p_pack im_portion = c_portion EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg cannot_save_data = 3 OTHERS = 4.

ZCNV_MBT_GET_BASE_PACKAGE

CNV_TDMS_BASE_PACKAGE * CALL FUNCTION 'CNV_TDMS_BASE_PACKAGE' * DESTINATION gv_pcl_dest * EXPORTING * im_pack = p_pack * IMPORTING * ex_base_package = gv_base_package * EXCEPTIONS * base_package_not_found = 1 * OTHERS = 2.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = l_tabname IMPORTING subrc = l_subrc.

CNV_TDMS_02_CNVMBTTABLES CALL FUNCTION 'CNV_TDMS_02_CNVMBTTABLES' DESTINATION gv_pcl_dest EXPORTING i_packid = p_pack i_not_use = '-' i_no_data = '-' i_customer = '' i_no_exist = '' i_snd_rcv = 'SND' TABLES t_cnvmbttables = gt_cnvmbttables EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg OTHERS = 3.

CNV_TDMS_02_TABLESIZES CALL FUNCTION 'CNV_TDMS_02_TABLESIZES' EXPORTING im_packid = p_pack im_phase = p_phase im_act_id = p_act_id TABLES t_result = gt_result t_balmi = gt_balmi EXCEPTIONS analysis_not_possible = 1 database_not_found = 2 error_in_tablesize = 3 OTHERS = 4.

CNV_TDMS_02_TABLESIZES * CALL FUNCTION 'CNV_TDMS_02_TABLESIZES' * EXPORTING * im_packid = p_pack * im_phase = p_phase * im_act_id = p_act_id * TABLES * t_result = lt_result * t_balmi = gt_balmi * EXCEPTIONS * analysis_not_possible = 1 * database_not_found = 2 * error_in_tablesize = 3 * OTHERS = 4.

CNV_TDMS_02_CHECK_TRANS_STATUS CALL FUNCTION 'CNV_TDMS_02_CHECK_TRANS_STATUS' EXPORTING packid = p_pack tabname = gs_result-tabname i_destination = gv_pcl_dest im_btm = p_btm IMPORTING transfer = gs_result-transfer_status * NOT_USE = EXCEPTIONS table_unknown = 1 table_not_relevant = 2 rfc_error = 3 OTHERS = 4.

CNV_TDMS_02_GET_HEADER_TABLE CALL FUNCTION 'CNV_TDMS_02_GET_HEADER_TABLE' EXPORTING im_packid = p_pack im_tabname = gs_result-tabname im_destination = gv_pcl_dest IMPORTING ex_header_table = gs_result-header_table EXCEPTIONS convobj_not_found = 1 rfc_error = 2 OTHERS = 3.

CNV_TDMS_02_OPR_STEMP_TABLE CALL FUNCTION 'CNV_TDMS_02_OPR_STEMP_TABLE' DESTINATION gv_pcl_dest EXPORTING im_operation = 'R' packid = p_pack TABLES t_stemp = gt_stemp.

CNV_TDMS_02_DEL_STEMP_TABLE CALL FUNCTION 'CNV_TDMS_02_DEL_STEMP_TABLE' DESTINATION gv_pcl_dest EXPORTING packid = p_pack portion = c_portion EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg OTHERS = 3.

CNV_TDMS_EC_DEL_STMPC_TABLE CALL FUNCTION 'CNV_TDMS_EC_DEL_STMPC_TABLE' DESTINATION gv_pcl_dest EXPORTING packid = p_pack portion = c_portion EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg OTHERS = 3.

CNV_TDMS_02_INS_STEMP_TABLE CALL FUNCTION 'CNV_TDMS_02_INS_STEMP_TABLE' DESTINATION gv_pcl_dest EXPORTING packid = p_pack portion = c_portion TABLES t_result = gt_result EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg insert_in_sess_failed = 3 insert_in_stemp_failed = 4 OTHERS = 5.

CNV_TDMS_EC_INS_STMPC_TABLE CALL FUNCTION 'CNV_TDMS_EC_INS_STMPC_TABLE' DESTINATION gv_pcl_dest EXPORTING packid = p_pack portion = c_portion TABLES t_result = gt_result T_STEMP = gt_ec_stemp EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg insert_in_sess_failed = 3 insert_in_stemp_failed = 4 OTHERS = 5.

CNV_TDMS_02_OPR_STEMP_TABLE CALL FUNCTION 'CNV_TDMS_02_OPR_STEMP_TABLE' DESTINATION gv_pcl_dest EXPORTING im_operation = 'M' packid = p_pack TABLES t_stemp = gt_stemp.






CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.

CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.



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