SAP Reports / Programs

RSTRACSUM SAP ABAP Report - Table Summary - SAP List Viewer







RSTRACSUM 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 RSTRACSUM 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 RSTRACSUM. "Basic submit
SUBMIT RSTRACSUM AND RETURN. "Return to original report after report execution complete
SUBMIT RSTRACSUM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Table Summary - SAP List Viewer
Text Symbol: 074 = You have selected different clients or work processes
Text Symbol: 075 = Aggregate Tables
Text Symbol: 076 = You have not selected any table to be aggregated
Text Symbol: 077 = Do you want to aggregate all tables?
Text Symbol: 078 = Do you want to aggregte these?
Text Symbol: 079 = Combined Table Accesses
Text Symbol: 286 = Table Summary
Text Symbol: 287 = User ID Data
Text Symbol: 288 = Select Saved Aggregated Table Summaries
Text Symbol: 350 = TABLE_COLL
Text Symbol: 351 = Select Tables for Summary


INCLUDES used within this REPORT RSTRACSUM

INCLUDE RSTRACSUM_TOP.


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:

SQLT_TABSUM_READ CALL FUNCTION 'SQLT_TABSUM_READ' EXPORTING SQL_TRACE_TAB = sql_Trace_tab SQL_BHEADER_TAB = sql_bheader_tab IMPORTING SQL_TABLESUM_TAB = SQL_TABLESUM_TAB lc_ok = lc_ok.

SACC_TABSUM_READ CALL FUNCTION 'SACC_TABSUM_READ' EXPORTING sql_trace_alv = sql_trace_alv IMPORTING sql_tablesum_tab = sql_tablesum_tab lc_ok = lc_ok.

SQLT_TABSUM_PREP CALL FUNCTION 'SQLT_TABSUM_PREP' EXPORTING FIELDCAT_GEN = 'X' "#EC NOTEXT SORTFIELD = 'PID' "#EC NOTEXT Prog_name = prog_name STRUCTURE_NAME = STRUCTURE_NAME Table_name = TABLE_NAME variant_name = text-350 variant_text = text-351 mem_pf_status = alv_pf_status_sel IMPORTING I_SAVE = i_save VARIANT = variant LAYOUT = layout Filter = filter SORT = sort EVENTS = events IT_EVENT_EXIT = IT_EVENT_EXIT LT_TOP_OF_PAGE = list_top_of_page CHANGING FIELDCAT = FIELDCAT_sel EXCEPTIONS ALV_HLP_ERROR = 1 others = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_INTERFACE_CHECK = ' ' I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = prog_name I_CALLBACK_PF_STATUS_SET = alv_form_pf_status_sel I_CALLBACK_USER_COMMAND = alv_form_user_command_sel * I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' I_GRID_TITLE = text-079 * I_GRID_SETTINGS = IS_LAYOUT = layout IT_FIELDCAT = FIELDCAT_SEL * IT_EXCLUDING = * IT_SPECIAL_GROUPS = IT_SORT = sort IT_FILTER = filter * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = i_save IS_VARIANT = variant * IT_EVENTS = events[] it_event_exit = it_event_exit * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = SQL_TABLESUM_TAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING * ES_LAYOUT = * ET_FIELDCAT = * ET_SORT = * ET_FILTER = * ES_GRID_SCROLL = * ES_VARIANT = * ET_MARKED_COLUMNS = ET_FILTERED_ENTRIES = FILTERED_ENTRIES * ET_FIELDCAT_BACKEND = * ES_PRINT = EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.



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