SAP Reports / Programs

RSAQ_VARIANT_ADJUST SAP ABAP Report - Report RSAQ_VARIANT_ADJUST







RSAQ_VARIANT_ADJUST 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 RSAQ_VARIANT_ADJUST 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 RSAQ_VARIANT_ADJUST. "Basic submit
SUBMIT RSAQ_VARIANT_ADJUST AND RETURN. "Return to original report after report execution complete
SUBMIT RSAQ_VARIANT_ADJUST 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_NEW = New -> Old
Selection Text: P_OLD = Old -> New
Selection Text: P_WS = Global Query Area
Selection Text: P_BGNAME = D .
Selection Text: P_QUERY = D .
Selection Text: S_VARI = D .
Title: Report RSAQ_VARIANT_ADJUST
Text Symbol: 001 = Generation Type
Text Symbol: 002 = Query Object
Text Symbol: 003 = Log: Adapted Variants


INCLUDES used within this REPORT RSAQ_VARIANT_ADJUST

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:

RSAQ_EXIST_QUERY CALL FUNCTION 'RSAQ_EXIST_QUERY' EXPORTING workspace = p_ws usergroup = p_bgname query = p_query IMPORTING reportname = l_report EXCEPTIONS no_usergroup = 1 no_query = 2 OTHERS = 3.

RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = l_report variant = ls_varid-variant move_or_write = 'M' TABLES valutab = lt_rsparams EXCEPTIONS variant_non_existent = 1 variant_obsolete = 2 OTHERS = 3.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = l_report curr_variant = ls_varid-variant vari_desc = ls_varid TABLES vari_contents = lt_rsparams EXCEPTIONS illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_doesnt_exist = 7 variant_locked = 8 selections_no_match = 9 OTHERS = 10.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'VARID' CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = 'Protokoll: Angepasste Varianten'(003) it_fieldcat = lt_fieldcat TABLES t_outtab = lt_varid EXCEPTIONS program_error = 1 OTHERS = 2.



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 RSAQ_VARIANT_ADJUST or its description.