RSTS0020 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 RSTS0020 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: TemSe: Data Consistency Check
Text Symbol: 170 = No object found in TST01
Text Symbol: 180 = Data line number too small
Text Symbol: 190 = Data line numbers too large
Text Symbol: 200 = TST03 is OK
Text Symbol: 202 = TemSe data rows were checked
Text Symbol: 210 = Deleted after inconsistency
Text Symbol: 230 = Write lock deleted
Text Symbol: 162 = TemSe objects were checked
Text Symbol: 001 = Consistency check of table TSP02 / frontend print requests
Text Symbol: 110 = Incorrect number of data lines in TST03
Text Symbol: 130 = Object with part number 1 missing
Text Symbol: 140 = A queue object can only have one part
Text Symbol: 150 = Object with part number
Text Symbol: 151 = is missing.
Text Symbol: 160 = TST01 is OK
Text Symbol: 272 = Object reset
Text Symbol: 280 = Unable to access the related file
Text Symbol: 290 = The related file has an incorrect length
Text Symbol: 294 = TST01:
Text Symbol: 296 = File:
Text Symbol: 300 = Does the related file have a name?
Text Symbol: 400 = Write locks on table TSP01/spool requests
Text Symbol: 271 = Length = 0
Text Symbol: 240 = You do not have authorization
Text Symbol: 241 = or
Text Symbol: 242 = .
Text Symbol: 250 = You do not have authorization
Text Symbol: 251 = . Only clients
Text Symbol: 252 = will be checked
Text Symbol: 260 = Unknown command
Text Symbol: 440 = Consistency check of table TST03 / TemSe data
Text Symbol: 450 = Consistency check of table TSP0E / archive information
Text Symbol: 461 = Clnt
Text Symbol: 462 = TemSe object name
Text Symbol: 463 = Part
Text Symbol: 464 = Status
Text Symbol: 465 = Created by
INCLUDE RSTS0031_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID I_CALLBACK_PF_STATUS_SET = GC_PF_TST01 * I_STRUCTURE_NAME = 'GT_TST01' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT1 I_SAVE = GC_X IT_EVENTS = GT_EVENTS IS_PRINT = GS_PRINT TABLES T_OUTTAB = GT_TST01 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = gv_repid * I_INTERNAL_TABNAME = IC_T_BESTRUC I_STRUCTURE_NAME = IC_T_SNAME * 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_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = gv_repid I_CALLBACK_PF_STATUS_SET = GC_PF_TST01 IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT1 IT_EVENTS = GT_EVENTS TABLES T_OUTTAB = GT_TST03 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID * I_STRUCTURE_NAME = 'GT_TST01' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT1 TABLES T_OUTTAB = GT_LINE EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = gv_repid I_INTERNAL_TABNAME = IC_T_BESTRUC I_INCLNAME = GV_REPID CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.