RSDU_EXEC_SQL 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 RSDU_EXEC_SQL 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: EXPLAIN = Display Execution Plan
Selection Text: MAXROWS = Max. No. of Result Rows
Selection Text: REPORT = Display Generated Report
Title: SQL
Text Symbol: PBE = SQL Command
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSDU_EXPLAIN_PLAN CALL FUNCTION 'RSDU_EXPLAIN_PLAN' EXPORTING i_t_stmt = g_t_stmt i_show_plan = rs_c_true.
RSDDTMPTAB_GET_NEW_NAME CALL FUNCTION 'RSDDTMPTAB_GET_NEW_NAME' EXPORTING i_nametype = rsd_c_id_tmp_view IMPORTING e_tmpnm = l_viewnm.
RSDU_LIST_DB_TABLE CALL FUNCTION 'RSDU_LIST_DB_TABLE' EXPORTING i_tablnm = l_viewnm i_view = rs_c_true i_max_rows = g_max_rows i_show_report = g_show_report.
RSDDTMPTAB_RELEASE_NAME CALL FUNCTION 'RSDDTMPTAB_RELEASE_NAME' EXPORTING i_tmpnm = l_viewnm EXCEPTIONS delete_error = 1 wrong_nametype = 2 OTHERS = 3.
RSDU_EXEC_SQL CALL FUNCTION 'RSDU_EXEC_SQL' EXPORTING i_t_stmt = g_t_stmt IMPORTING e_sqlerr = g_sqlerr e_sqlerrtxt = g_sqlerrtxt EXCEPTIONS sql_error = 1 statement_too_complex = 2 no_statement = 3 inherited_error = 4 duprec = 5 obj_exists = 6 obj_not_found = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSDU_EXEC_SQL - SQL RSDU_EXEC_SQL - SQL RSDU_DROP_RDNDNT_CUBE_IDX_ADA - Deletes superfluous indexes of the fact tables in the DDIC RSDU_DROP_RDNDNT_CUBE_IDX_ADA - Deletes superfluous indexes of the fact tables in the DDIC RSDU_CLUSTER_FACT_ADA - cluster and packed fact table RSDU_CLUSTER_FACT_ADA - cluster and packed fact table