RSAQ_CLEANUP_QUERY_VARIANTS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Cleaning up the query variants of a client...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSAQ_CLEANUP_QUERY_VARIANTS 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: Cleansing report for query variables according to client copy
Text Symbol: 001 = User Group
Text Symbol: 002 = Query
Text Symbol: 003 = Variant
Text Symbol: 004 = Action
Text Symbol: 005 = Original Client
Text Symbol: 006 = Log:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSAQ_EXIST_QUERY CALL FUNCTION 'RSAQ_EXIST_QUERY' EXPORTING USERGROUP = L_UG QUERY = L_QU IMPORTING REPORTNAME = L_NEW_REP EXCEPTIONS NO_USERGROUP = 1 NO_QUERY = 2.
RSAQ_REPORT_NAME CALL FUNCTION 'RSAQ_REPORT_NAME' EXPORTING WORKSPACE = ' ' USERGROUP = 'X' "dummy QUERY = 'X' "dummy IMPORTING REPORTNAME = L_REP.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSAQ_CLEANUP_QUERY_VARIANTS - Cleansing report for query variables according to client copy RSAQ_CLEANUP_QUERY_VARIANTS - Cleansing report for query variables according to client copy RSAQ_CLEANUP_AQGTQ - Program RSAQ_CLEANUP_AQGTQ RSAQ_CLEANUP_AQGTQ - Program RSAQ_CLEANUP_AQGTQ RSAQ_CALL_ROLE_ADMINISTRATION - SAP Query: Call assignment of roles to user groups and InfoSets RSAQ_CALL_ROLE_ADMINISTRATION - SAP Query: Call assignment of roles to user groups and InfoSets