RDDMVTRE 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 RDDMVTRE 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: Generate Exchange TADIR
INCLUDE RDDRSCST.
No SAP DATABASE tables are accessed within this REPORT code!
DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = LV_NEWNAME IMPORTING SUBRC = LV_STATUS.
DB_DROP_TABLE CALL FUNCTION 'DB_DROP_TABLE' EXPORTING TABNAME = LV_NEWNAME EXCEPTIONS PROGRAM_NOT_GENERATED = 01 PROGRAM_NOT_WRITTEN = 02 TABLE_NOT_DROPPED = 03.
DD_NAMETAB_TO_DDFIELDS CALL FUNCTION 'DD_NAMETAB_TO_DDFIELDS' EXPORTING TABNAME = LC_ORIGINAL IMPORTING SUBRC = LV_ERRNUM TABLES DDFIELDS = LT_DDFIELDS.
DB_CREATE_TABLE CALL FUNCTION 'DB_CREATE_TABLE' EXPORTING TABNAME = LC_NEWNAME TABLES DDFIELDS = LT_DDFIELDS EXCEPTIONS PROGRAM_NOT_GENERATED = 01 PROGRAM_NOT_WRITTEN = 02 TABLE_EXISTS = 03 TABLE_NOT_CREATED = 04.
DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING TABNAME = LC_ORIGINAL IMPORTING X030L_WA = LW_X030L TABLES X031L_TAB = LT_X031L EXCEPTIONS NOT_FOUND = 01 NO_FIELDS = 02.
DD_PUT_NAMETAB CALL FUNCTION 'DD_PUT_NAMETAB' EXPORTING STATUS = 'A' X030L_WA = LW_X030L TABLES X031L_TAB = LT_X031L EXCEPTIONS WRITE_ERROR = 01.
SUBST_INIT_DEFAULT_PROTOCOL CALL FUNCTION 'SUBST_INIT_DEFAULT_PROTOCOL' EXPORTING IV_MSAG = GC_MSAG IV_ACTTYPE = GC_PROTO_PUT IV_FNAME = PC_PROTO_NAME IV_SUBDIR = GC_DIR_LOG IV_REPID = GC_REPID IMPORTING EV_FNAME = LV_PROTOCOL EXCEPTIONS SAPRELEASE_NOT_FOUND = 01.
SUBST_WRITE_DEFAULT_PROTOCOL CALL FUNCTION 'SUBST_WRITE_DEFAULT_PROTOCOL' EXPORTING IV_SUPPRESS_FOOTER = ' '.
SUBST_GET_REPORT_PARM CALL FUNCTION 'SUBST_GET_REPORT_PARM' EXPORTING IV_PARMNAME = LV_NAME IMPORTING EV_PARAMETER = LV_VALUE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RDDMVTRE - Generate Exchange TADIR RDDMVTRE - Generate Exchange TADIR RDDMVSUB - Repository Switch: Modify TADIR with Entries for New Release RDDMVSUB - Repository Switch: Modify TADIR with Entries for New Release RDDMVNTB - Fill Switch Nametabs (DDYTT, DDYTF) RDDMVNTB - Fill Switch Nametabs (DDYTT, DDYTF)