SAP_QUERY_TEST 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 SAP_QUERY_TEST 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.
Title: Generates and executes random queries for an InfoCube
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSD_COB_PRO_ALL_GET CALL FUNCTION 'RSD_COB_PRO_ALL_GET' EXPORTING i_infocube = i_infocube i_with_atr_nav = rs_c_true i_with_meta_iobj = rs_c_false i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_false IMPORTING e_t_cob_pro = e_t_cob_pro.
RSD_SIDTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_SIDTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = s_chabasnm IMPORTING e_sidtab = s_sidtab.
RSD_FIELDNM_GET_FROM_IOBJNM CALL FUNCTION 'RSD_FIELDNM_GET_FROM_IOBJNM' EXPORTING i_name = s_chabasnm IMPORTING e_ddname = s_fieldnm.
RSDRI_INFOPROV_READ_RFC CALL FUNCTION 'RSDRI_INFOPROV_READ_RFC' EXPORTING i_infoprov = i_infocube i_save_in_table = ' ' i_save_in_file = ' ' i_authority_check = rsdrc_c_authchk-none i_use_aggregates = rs_c_true i_rollup_only = rs_c_true i_currency_conversion = rs_c_false i_use_db_aggregation = rs_c_true i_resulttype = ' ' i_debug = rs_c_false TABLES i_t_sfc = i_t_sfc[] i_t_sfk = i_t_sfk[] i_t_range = l_t_range_rfc[] e_t_rfcdata = e_t_data EXCEPTIONS illegal_input = 1 illegal_input_sfc = 2 illegal_input_sfk = 3 illegal_input_range = 4 illegal_input_tablesel = 5 no_authorization = 6 generation_error = 8 illegal_download = 9 illegal_tablename = 10 illegal_resulttype = 11 data_overflow = 13 OTHERS = 14.
RSD_TABLNM_GET_FOR_DIME CALL FUNCTION 'RSD_TABLNM_GET_FOR_DIME' EXPORTING i_dimension = i_s_cob_pro-dimension IMPORTING e_tablnm = l_dimtab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAP_QUERY_TEST - Generates and executes random queries for an InfoCube SAP_QUERY_TEST - Generates and executes random queries for an InfoCube SAP_QUERY_SQ03 - Call maintenance for user groups SAP_QUERY_SQ03 - Call maintenance for user groups SAP_QUERY_SQ02 - Call InfoSet maintenance SAP_QUERY_SQ02 - Call InfoSet maintenance