RSDR_UPG_DROP_TMPOBJECTS 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 RSDR_UPG_DROP_TMPOBJECTS 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.
Text Symbol: 000 = Delete Temporary Objects
Text Symbol: 001 = Number of Temporary Database Objects:
Text Symbol: 002 = See SAP Note 819170
Text Symbol: 003 = Error while Locking the Table RSDD_TMPNM_ADM
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_pathtype filename = gv_filename subdir = gc_subpath IMPORTING file = gv_pathname EXCEPTIONS OTHERS = 0.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_pathtype ifname = gv_pathname IMPORTING efname = gv_pathname TABLES p_tab = gt_protocol EXCEPTIONS OTHERS = 0.
SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING l_msag = ag l_severity = severity l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 TABLES p_tab = gt_protocol.
RRBA_DAYS_TO_TIMESTAMP_ADD CALL FUNCTION 'RRBA_DAYS_TO_TIMESTAMP_ADD' EXPORTING i_days = -3 IMPORTING e_timestmp = l_del_timestmp.
RRBA_DAYS_TO_TIMESTAMP_ADD CALL FUNCTION 'RRBA_DAYS_TO_TIMESTAMP_ADD' EXPORTING i_days = -1 IMPORTING e_timestmp = l_free_timestmp.
DB_TABLE_SET_LOCK CALL FUNCTION 'DB_TABLE_SET_LOCK' EXPORTING tabname = 'RSDD_TMPNM_ADM' IMPORTING subrc = l_subrc EXCEPTIONS illegal_value = 1 OTHERS = 2.
RRBA_DAYS_TO_TIMESTAMP_ADD CALL FUNCTION 'RRBA_DAYS_TO_TIMESTAMP_ADD' EXPORTING i_days = -3 IMPORTING e_timestmp = l_del_timestmp.
DB_TABLE_SET_LOCK CALL FUNCTION 'DB_TABLE_SET_LOCK' EXPORTING tabname = 'RSDD_TMPNM_ADM' IMPORTING subrc = l_subrc EXCEPTIONS illegal_value = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_GET_ALL_TABLES CALL FUNCTION 'DB_GET_ALL_TABLES' TABLES all_tables = l_t_ddtable[].
DD_TABL_DEL CALL FUNCTION 'DD_TABL_DEL' EXPORTING tabname = i_tablnm del_state = 'M' prid = 0.
DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING tabname = i_tablnm IMPORTING subrc = l_subrc EXCEPTIONS table_not_dropped = 1 OTHERS = 2.
DD_NAMETAB_DELETE CALL FUNCTION 'DD_NAMETAB_DELETE' EXPORTING tabname = i_tablnm.
DB_GET_ALL_VIEWS CALL FUNCTION 'DB_GET_ALL_VIEWS' TABLES all_views = l_t_ddview[].
DD_NAMETAB_DELETE CALL FUNCTION 'DD_NAMETAB_DELETE' EXPORTING tabname = i_viewnm IMPORTING subrc = l_subrc.
DB_DROP_VIEW CALL FUNCTION 'DB_DROP_VIEW' EXPORTING dbsys = sy-dbsys no_exec = ' ' prid = 0 viewname = i_viewnm db_check_flag = ' ' ignore_sql_error = 'X' IMPORTING subrc = l_subrc EXCEPTIONS program_not_generated = 1 program_not_written = 2 view_not_dropped = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.