RSDB4TSC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program displays the table scan activity on DB2/400...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 RSDB4TSC 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: Database Performance: Table Scans
Text Symbol: 001 = No table scan info available
Text Symbol: 002 = No detail info found
Text Symbol: 003 = Since Database Start
Text Symbol: 004 = Reset
Text Symbol: 005 = Since Reset
Text Symbol: C25 = Last successful dump
Text Symbol: C26 = Last successful merge
Text Symbol: C27 = Last time merge started
Text Symbol: C28 = Last time merge skipped
Text Symbol: C29 = Oldest data from
Text Symbol: C30 = DB2/400 database monitor information:
Text Symbol: C31 = Database start
Text Symbol: C32 = Last reset
Text Symbol: C33 = Total database processing time (s)
Text Symbol: C34 = Last merge of database monitor tables
Text Symbol: T01 = DB2/400 Table Scans
Text Symbol: T02 = DB2/400 Table Scans Detail
Text Symbol: Y01 = ERROR in generating fieldcatalog
Text Symbol: Y02 = Table/structure does not exist.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ST04_DB4_GET_TSC_INFO CALL FUNCTION 'ST04_DB4_GET_TSC_INFO' EXPORTING resetflag = p_reset_flag TABLES tables_for_details = i_tab_list tsc_0200 = p_tsc_0200 EXCEPTIONS no_data_found = 1 no_tables_for_detail_specified = 2 no_detail_data_found = 3 OTHERS = 4.
ST04_DB4_GET_TSC_INFO CALL FUNCTION 'ST04_DB4_GET_TSC_INFO' EXPORTING resetflag = p_reset_flag TABLES tsc_0100 = p_tsc_0100 EXCEPTIONS no_data_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.