RSDR_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_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
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 wrong_call = 1 OTHERS = 2.
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 write_failed = 01 OTHERS = 02.
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.
DB_GET_ALL_TABLES CALL FUNCTION 'DB_GET_ALL_TABLES' TABLES all_tables = l_t_ddtable[].
RSDDTMPTAB_RELEASE_NAME CALL FUNCTION 'RSDDTMPTAB_RELEASE_NAME' EXPORTING i_tmpnm = i_tablnm EXCEPTIONS delete_error = 0 OTHERS = 0.
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.
DB_GET_ALL_VIEWS CALL FUNCTION 'DB_GET_ALL_VIEWS' TABLES all_views = l_t_ddview[].
RSDDTMPTAB_RELEASE_NAME CALL FUNCTION 'RSDDTMPTAB_RELEASE_NAME' EXPORTING i_tmpnm = i_viewnm EXCEPTIONS OTHERS = 0.
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.