SAP_QUERY_CALL 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_CALL into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WTYOR - Execute Report
HRPBC_QUERY_EXEC - Execution of a Query
REISSQMAIN - Start SAP Query
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: P_QUERY = Query
Selection Text: P_UGROUP = User Group
Selection Text: P_VARI = Variant
Selection Text: P_WSID = Global Area
Title: SAP Query Call
INCLUDE RSAQCOMC.
INCLUDE RSAQCOM1.
No SAP DATABASE tables are accessed within this REPORT code!
RSAQ_CREATE_QUERY_REPORT * call function 'RSAQ_CREATE_QUERY_REPORT' * exporting workspace = act_workspace * usergroup = p_ugroup * query = p_query * importing reportname = l_report * std_variant = l_variant * exceptions no_usergroup = 1 * no_query = 2 * query_locked = 3 * generation_cancelled = 4 * others = 5.
RSAQ_SUBMIT_QUERY_REPORT * call function 'RSAQ_SUBMIT_QUERY_REPORT' * exporting queryreport = l_report * variante = l_variant * exceptions only_with_variant = 1 * variant_not_exist = 2 * others = 3.
RSAQ_QUERY_CALL * call function 'RSAQ_QUERY_CALL' * exporting workspace = act_workspace * query = p_query * usergroup = p_ugroup * variant = p_vari * skip_selscreen = space * exceptions no_usergroup = 1 * no_query = 2 * query_locked = 3 * generation_cancelled = 4 * no_selection = 5 * no_variant = 6 * just_via_variant = 7 * no_submit_auth = 8 * no_data_selected = 9 * data_to_memory_not_possible = 10 * others = 11.
IQAPI_QCALL call function 'IQAPI_QCALL' exporting old_qid = qid variant = p_vari exceptions others = 1.
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_CALL - SAP Query Call SAP_QUERY_CALL - SAP Query Call SAP_QUERY_BW_DEVELOPMENT_ROLE - SAP query for development role call SAP_QUERY_BW_DEVELOPMENT_ROLE - SAP query for development role call SAP_QUERY_AD_HOC_ROLE - Role Call-up SAP Query for Ad Hoc Reporting SAP_QUERY_AD_HOC_ROLE - Role Call-up SAP Query for Ad Hoc Reporting