RDDRFCTM 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 RDDRFCTM 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: REUSETAB = Use table names again
Title: Repository Switch: Generate New Empty Clone Table DDFTX
Text Symbol: 021 = No clone name exists for table
Text Symbol: 020 = *** Internal error: unexpected status
Text Symbol: 019 = Error deleting the table
Text Symbol: 018 = Table successfully deleted:
Text Symbol: 017 = Deletion of clone tables...
Text Symbol: 016 = *** Internal error: unexpected status
Text Symbol: 015 = Error while generating the table
Text Symbol: 014 = Table successfully generated:
Text Symbol: 013 = Generation of clone tables:...
Text Symbol: 012 = Table exists in database:
Text Symbol: 011 = Error in flow of copy program (RDDCPMAC).
Text Symbol: 010 = Copy program ended (RDDCPMAC).
Text Symbol: 009 = Program exit!
Text Symbol: 008 = Not all clone tables could be created
Text Symbol: 007 = Program exit!
Text Symbol: 006 = Not all clone tables could be deleted!
Text Symbol: 005 = and created again!
Text Symbol: 004 = Clone tables which already exist will be deleted
Text Symbol: 003 = Delete or start with REUSE-EXISTING-TABLES = X
Text Symbol: 002 = Some of the clone tables already exist!
Text Symbol: 001 = List of clone names generated successfully
INCLUDE RDDRSCST.
No SAP DATABASE tables are accessed within this REPORT code!
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 EV_VALID_DATA = LV_VALID_DATA.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RDDRFCTM - Repository Switch: Generate New Empty Clone Table DDFTX