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

CNV_TDMS_02_GETSIZE_F01 SAP ABAP INCLUDE - Include CNV_TDMS_02_GETSIZE_F01







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


Text pool values


Title: Include CNV_TDMS_02_GETSIZE_F01


INCLUDES used within this REPORT CNV_TDMS_02_GETSIZE_F01

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:

DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' "#EC * EXPORTING seg_name = ld_seg_name analysis = 'S' seg_type = 'TABLE' IMPORTING "with count dba_segments_tab = ld_dba_segments_tab "#EC * TABLES dba_segments = lt_dba_segments "#EC * EXCEPTIONS no_selection = 1 OTHERS = 2.

DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' "#EC * EXPORTING seg_name = ld_seg_name analysis = 'S' seg_type = 'TABLE' IMPORTING "with compres dba_segments_tab = ld_dba_segments_c_tab "#EC * TABLES dba_segments = lt_dba_segments_c "#EC * EXCEPTIONS no_selection = 1 OTHERS = 2.

DB02_ORA_TABLE_INDEX_ANALYSIS CALL FUNCTION 'DB02_ORA_TABLE_INDEX_ANALYSIS' "#EC * EXPORTING seg_name = ld_seg_name analysis = 'S' seg_type = 'TABLE' IMPORTING dba_segments_tab = ld_dba_segments_s_tab "#EC * TABLES dba_segments = lt_dba_segments_s "#EC * EXCEPTIONS no_selection = 1 OTHERS = 2.

INTERN_DD_TABL_TYPE CALL FUNCTION 'INTERN_DD_TABL_TYPE' EXPORTING objname = ld_objname IMPORTING objtype = objtype.

GET_TABLE_SIZE_MSS * CALL FUNCTION 'GET_TABLE_SIZE_MSS' * EXPORTING * tabname = ld_tabname_dd02l ** DATA_SPACE_ONLY = * IMPORTING * tabsize = ld_tabsize * EXCEPTIONS * no_database_table = 1 * OTHERS = 2.

TABLE_COLLECTOR_RFC_SDB CALL FUNCTION 'TABLE_COLLECTOR_RFC_SDB' * EXPORTING * CON_NAME = '' TABLES table_list = lt_table_list EXCEPTIONS no_connection = 1 no_dbcon_entry = 2 wrong_db_system = 3 OTHERS = 4.

GET_TABSIZE_ADA CALL FUNCTION 'GET_TABSIZE_ADA' EXPORTING tabname = p_tabname data_space_only = '' IMPORTING tabsize = ld_size.

DD_TBIX_GET CALL FUNCTION 'DD_TBIX_GET' EXPORTING get_state = 'A' indexname = '*' langu = sy-langu prid = 0 tabl_name = p_tabname tracelevel = 0 TABLES dd12v_tab_a = dd12v_tab_a EXCEPTIONS illegal_value = 1 OTHERS = 2.

GET_TABLE_SIZE_INF CALL FUNCTION 'GET_TABLE_SIZE_INF' EXPORTING tabname = p_tabname IMPORTING tabsize = ld_total_size EXCEPTIONS no_database_table = 1 OTHERS = 2.

DB02_GET_TB_DETL_ANALYSIS_DB2 CALL FUNCTION 'DB02_GET_TB_DETL_ANALYSIS_DB2' EXPORTING table_name = p1_tabname IMPORTING table_catalog_info = ld_table_info EXCEPTIONS table_not_found = 1 OTHERS = 2.

GET_TABLE_SIZE_INFO_DB2 CALL FUNCTION 'GET_TABLE_SIZE_INFO_DB2' EXPORTING table_name = p1_tabname TABLES index_size_list = ld_size_list.

DB02_GET_IXSIZES_DB2 CALL FUNCTION 'DB02_GET_IXSIZES_DB2' "#EC * TABLES index_size_list_old = index_complete_list_old indexpart_size_list = index_partlist index_dataset_size_list = index_dslist EXCEPTIONS no_data_found = 1 OTHERS = 2.

DB02_GET_IXSIZES_DB2 CALL FUNCTION 'DB02_GET_IXSIZES_DB2' "#EC ARGCHECKED "#EC * index_size_list_new is a wrong parameter; use INDEX_SIZE_LIST_OLD *05/04/2011 SVR * index_list_new is the right parameter 10/18/2011 TABLES index_size_list_new = index_complete_list_ne"281209 * index_size_list_old = index_complete_list_ne "281209 indexpart_size_list = index_partlist index_dataset_size_list = index_dslist EXCEPTIONS no_data_found = 1 OTHERS = 2.

DB02_GET_IXSIZES_DB2 CALL FUNCTION 'DB02_GET_IXSIZES_DB2' "#EC ARGCHECKED "#EC TABLES ** "#EC added by Mridu for checkman errors on 12/3/2008 * index_size_list is incorrect param name: Use index_size_list_old * 05/04/2011 SVR index_size_list_old = index_complete_list "#EC ARGCHECKED indexpart_size_list = index_partlist index_dataset_size_list = index_dslist EXCEPTIONS no_data_found = 1 OTHERS = 2.

CHECK_OBJECT_MSQ CALL FUNCTION 'CHECK_OBJECT_MSQ' "#EC EXISTS EXPORTING tabname = objname dbname = '0' IMPORTING objexist = is_table_in EXCEPTIONS OTHERS = 0.

GET_TABSTATS_MSQ CALL FUNCTION 'GET_TABSTATS_MSQ' "#EC EXISTS "#EC PORTABLE EXPORTING tabname = objname dbname = '0' IMPORTING tabstats = tabstats EXCEPTIONS OTHERS = 0.

DDIF_VIEW_GET *** call function 'DDIF_VIEW_GET' *** EXPORTING *** name = view_name *** IMPORTING *** gotstate = gotstate *** dd25v_wa = dd25v_wa *** TABLES *** dd26v_tab = ddtb_tab *** dd27p_tab = ddtb_field *** dd28j_tab = ddtb_join *** dd28v_tab = ddtb_selcd *** EXCEPTIONS *** illegal_input = 0 *** 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 CNV_TDMS_02_GETSIZE_F01 or its description.