SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAP Query(BC-SRV-QUE) SAP BC

RSAQSHQU SAP ABAP Report - Query Description







RSAQSHQU 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 RSAQSHQU 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 RSAQSHQU. "Basic submit
SUBMIT RSAQSHQU AND RETURN. "Return to original report after report execution complete
SUBMIT RSAQSHQU 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_WS_ID = Query Area ID
Selection Text: P_QUERY = Query
Selection Text: P_ERW = Extended output ( ,X,F)
Selection Text: P_BGRUP = User group
Title: Query Description
Text Symbol: 240 = Ranked list criterion
Text Symbol: 260 = The following are output:
Text Symbol: 270 = Seats
Text Symbol: 300 = InfoSet
Text Symbol: 350 = General specifications
Text Symbol: 400 = Sequential dataset
Text Symbol: 440 = Number
Text Symbol: 450 = Average
Text Symbol: 460 = Round
Text Symbol: 470 = Logical database
Text Symbol: 480 = Data retrieval program
Text Symbol: 490 = Table
Text Symbol: 500 = Table join
Text Symbol: 510 = Query :
Text Symbol: 520 = User group :
Text Symbol: 700 = Generated program
Text Symbol: 800 = Additional specs.:
Text Symbol: 810 = Internal format of query
Text Symbol: 820 = InfoSet
Text Symbol: 830 = Internal format of InfoSet
Text Symbol: 831 = Property
Text Symbol: 832 = Description
Text Symbol: 833 = Number Field
Text Symbol: 834 = Created
Text Symbol: 835 = with
Text Symbol: 230 = Ranked list no.
Text Symbol: 010 = Generated lists
Text Symbol: 015 = Output sequence
Text Symbol: 020 = Basic List
Text Symbol: 030 = Statistics
Text Symbol: 040 = Ranked List
Text Symbol: 050 = Notes
Text Symbol: 060 = Origin of data





Text Symbol: 070 = Additional selections
Text Symbol: 080 = Standard variant
Text Symbol: 090 = None
Text Symbol: 100 = Level
Text Symbol: 110 = Sort field
Text Symbol: 120 = Summation
Text Symbol: 125 = Inventory count
Text Symbol: 130 = Line
Text Symbol: 132 = No.
Text Symbol: 133 = Field
Text Symbol: 135 = Format
Text Symbol: 144 = (Output without unit)
Text Symbol: 145 = (Output with unit)
Text Symbol: 146 = Reference unit:
Text Symbol: 150 = Sort sequence
Text Symbol: 170 = Displayed fields
Text Symbol: 180 = Statistic no.
Text Symbol: 210 = (descending)
Text Symbol: 211 = (ascending)
Text Symbol: 220 = Author
Text Symbol: 221 = Last changed by
Text Symbol: 222 = Pack.
Text Symbol: 223 = Last Generation


INCLUDES used within this REPORT RSAQSHQU

INCLUDE RSAQCOMC.
INCLUDE RSAQCOM0.
INCLUDE RSAQCOM1.
INCLUDE RSAQCOM2.
INCLUDE RSAQTXTB.
INCLUDE RSAQTXTQ.
INCLUDE RSAQTXTS.
INCLUDE RSAQIEXB.
INCLUDE RSAQIEXS.
INCLUDE RSAQIEXQ.


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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_glist it_events = gt_events_glist TABLES t_outtab = gt_genlist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure1 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.






REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_bdlist it_events = gt_events_bdlist TABLES t_outtab = gt_bdlist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_bsortlist it_events = gt_events_bsortlist TABLES t_outtab = gt_bsortlist "bsortlist_itab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_bsumlist it_events = gt_events_bsumlist TABLES t_outtab = gt_bsumlist"bsumlist_itab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_binvlist it_events = gt_events_binvlist TABLES t_outtab = gt_binvlist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_sdlist it_events = gt_events_sdlist TABLES t_outtab = gt_sdlist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_sslist it_events = gt_events_sslist TABLES t_outtab = gt_sslist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY



CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_rlist it_events = gt_events_rlist TABLES t_outtab = gt_ranklist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure2 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_gplist it_events = gt_events_gplist TABLES t_outtab = gt_gplist "gplist_itab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure1 i_inclname = gv_repid CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 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 RSAQSHQU or its description.