SAP Reports / Programs

RSDDTREX_MEMORY_ESTIMATE SAP ABAP Report - Estimate Memory Usage of BWA Index to InfoCubes







RSDDTREX_MEMORY_ESTIMATE 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 RSDDTREX_MEMORY_ESTIMATE 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 RSDDTREX_MEMORY_ESTIMATE. "Basic submit
SUBMIT RSDDTREX_MEMORY_ESTIMATE AND RETURN. "Return to original report after report execution complete
SUBMIT RSDDTREX_MEMORY_ESTIMATE 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_ATTR = Display per Table Field
Selection Text: P_COLS = No of Columns per Selection
Selection Text: P_DBSTAT = Database Statistics Used
Selection Text: P_DETAIL = Accuracy
Selection Text: P_FAST = Fast
Selection Text: P_NOVIEW = Larger Table of Fact Views
Selection Text: P_SAMPLE = Part of Facts
Selection Text: SO_CUBE = InfoCubes
Title: Estimate Memory Usage of BWA Index to InfoCubes
Text Symbol: 001 = InfoCubes


INCLUDES used within this REPORT RSDDTREX_MEMORY_ESTIMATE

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:

RSD_COB_PRO_ALL_GET CALL FUNCTION 'RSD_COB_PRO_ALL_GET' EXPORTING i_infocube = g_v_cube i_with_atr_nav = rs_c_true IMPORTING e_t_cob_pro = g_t_cob_pro.

RSD_CHKTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = g_s_cob_pro-chabasnm IMPORTING e_sidtab = g_v_tablnm.

RSD_DIME_GET CALL FUNCTION 'RSD_DIME_GET' EXPORTING i_infocube = g_s_cob_pro-infoprov i_dimension = g_s_cob_pro-dimension IMPORTING e_s_dime = g_s_dime.

RSD_ATTRINM_GET_FROM_ATRNAVNM CALL FUNCTION 'RSD_ATTRINM_GET_FROM_ATRNAVNM' EXPORTING i_atrnavnm = g_s_cob_pro-iobjnm IMPORTING e_chanm = g_v_chanm.

RSD_CHKTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = g_s_cob_pro_chabasnm-chabasnm IMPORTING e_asitab = g_v_xtabl e_asttab = g_v_ytabl.

RSDU_INFOCUBE_FACTTABLES CALL FUNCTION 'RSDU_INFOCUBE_FACTTABLES' EXPORTING i_infocube = g_v_cube IMPORTING e_ffacttab = g_v_tablnm_f e_efacttab = g_v_tablnm_e e_factview = g_v_tablnm_v.

DB_TABLE_DATA_READ CALL FUNCTION 'DB_TABLE_DATA_READ' TABLES dbstat = g_t_dbstat EXCEPTIONS no_data_found = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = g_v_percentage text = g_v_text.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = g_v_tablnm TABLES dfies_tab = g_t_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = l_s_layout it_fieldcat = l_t_fieldcat TABLES t_outtab = i_t_result EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_v_repid is_layout = l_s_layout is_print = g_s_print it_fieldcat = l_t_fieldcat TABLES t_outtab = i_t_result EXCEPTIONS OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = l_v_title is_layout = l_s_layout it_fieldcat = l_t_fieldcat TABLES t_outtab = l_s_result-attributes EXCEPTIONS OTHERS = 0.

DB_TABLE_DATA_READ CALL FUNCTION 'DB_TABLE_DATA_READ' TABLES dbstat = l_t_dbstat EXCEPTIONS OTHERS = 0.

RSD_FIX_DIME_GET_FOR_CUBE CALL FUNCTION 'RSD_FIX_DIME_GET_FOR_CUBE' EXPORTING i_infocube = -cube IMPORTING e_tdime = l_v_dimension e_ttablnm = l_v_dtablnm.

RSD_FIELDNM_GET_FOR_DIME CALL FUNCTION 'RSD_FIELDNM_GET_FOR_DIME' EXPORTING i_dimension = l_v_dimension IMPORTING e_fieldnm = l_v_fieldnm EXCEPTIONS name_error = 1 OTHERS = 2.

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = l_t_line.

REUSE_ALV_LIST_DISPLAY





CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING is_layout = l_s_layout is_print = g_s_print it_fieldcat = l_t_fieldcat TABLES t_outtab = l_s_result-attributes EXCEPTIONS OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = l_s_layout it_fieldcat = l_t_fieldcat TABLES t_outtab = g_t_page1 EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_v_repid is_layout = l_s_layout it_fieldcat = l_t_fieldcat it_events = l_t_events is_print = g_s_print TABLES t_outtab = g_t_page1 EXCEPTIONS OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = l_s_layout it_fieldcat = l_t_fieldcat TABLES t_outtab = g_t_page2 EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_v_repid is_layout = l_s_layout is_print = g_s_print it_fieldcat = l_t_fieldcat TABLES t_outtab = g_t_page2 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 RSDDTREX_MEMORY_ESTIMATE or its description.