RSTS0022 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 RSTS0022 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.
Selection Text: SEL_OLDI = Delete obsolete objects
Selection Text: SEL_ALL = Delete all objects
Selection Text: MIN_ALT = older than days
Selection Text: LISTONLY = Create list only
Title: Delete Obsolete TemSe Objects
Text Symbol: 252 = clients.
Text Symbol: 251 = . You can only delete in
Text Symbol: 250 = You do not have authorization
Text Symbol: 242 = .
Text Symbol: 241 = or
Text Symbol: 240 = You do not have authorization
Text Symbol: 051 = objects?
Text Symbol: 050 = Delete
Text Symbol: 049 = Part
Text Symbol: 046 = Problem
Text Symbol: 042 = Length
Text Symbol: 041 = Object Name
Text Symbol: 040 = Client
Text Symbol: 030 = &b Bytes in &o Objects can be deleted
Text Symbol: 020 = TemSe Objects Older than &&&& Days:
Text Symbol: 010 = Obsolete TemSe Objects
Text Symbol: 001 = Deleted Due to Age
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING TITEL = SUB_TITEL TEXT_BEFORE = 'Möchten Sie'(050) OBJECTVALUE = SUM_TEXT TEXT_AFTER = ' Objekte löschen ?'(051) DEFAULTOPTION = 'J' IMPORTING ANSWER = POPUP_ANSWER.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.