SAP Reports / Programs

RSAQPBAS SAP ABAP Report - ABAP Query: Trash administration







RSAQPBAS 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 RSAQPBAS 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 RSAQPBAS. "Basic submit
SUBMIT RSAQPBAS AND RETURN. "Return to original report after report execution complete
SUBMIT RSAQPBAS 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: PA_BG = User group
Title: ABAP Query: Trash administration
Text Symbol: 000 = Query objects in trash
Text Symbol: 001 = Display all objects
Text Symbol: 002 = Display InfoSet
Text Symbol: 003 = Display queries
Text Symbol: 010 = InfoSets in trash
Text Symbol: 011 = Queries in trash
Text Symbol: 013 = Query area: Standard area
Text Symbol: 014 = Query area: Global area
Text Symbol: 015 = Client: &
Text Symbol: 020 = InfoSet
Text Symbol: 021 = Deleted
Text Symbol: 022 = Title
Text Symbol: 025 = User group
Text Symbol: 026 = Query
Text Symbol: 050 = InfoSet exists
Text Symbol: 051 = Query exists
Text Symbol: 052 = Overwrite anyway
Text Symbol: 053 = Overwrite
Text Symbol: CLT = Client


INCLUDES used within this REPORT RSAQPBAS

INCLUDE RSAQCOMC.
INCLUDE RSAQCOM0.
INCLUDE RSAQCOM1.
INCLUDE RSAQCOM2.


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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Sachgebiet existiert'(050) textline2 = 'Trotzdem überschreiben'(052) titel = 'Überschreiben'(053) IMPORTING answer = l_answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = 'Query existiert'(051) textline2 = 'Trotzdem überschreiben'(052) titel = 'Überschreiben'(053) IMPORTING answer = l_answer.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_setpfstatus i_callback_user_command = gc_user_command it_fieldcat = gt_fieldcat_list i_save = gc_save it_events = gt_eventtab_list is_layout = gs_layout_list it_sort = gt_sort TABLES t_outtab = gt_outtab 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_struct1 i_internal_tabname = 'GT_OUTTAB' CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct2 i_internal_tabname = 'GT1_OUTTAB' 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_list EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid it_fieldcat = gt_fieldcat_list i_callback_pf_status_set = gc_setpfstatus i_callback_user_command = gc_user_command i_save = gc_save it_events = gt_eventtab_list is_layout = gs_layout_list it_sort = gt_sort TABLES t_outtab = gt1_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab_list 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 RSAQPBAS or its description.