RADBTCPY 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 RADBTCPY 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: DISPLAY = @10@Display after expiration
Selection Text: DST_TAB = Target table..................
Selection Text: FI = in the file system ...........
Selection Text: FILENAME = Name .........................
Selection Text: FORMID = External mapping function ....
Selection Text: LOCK = Lock target table exclusive ..
Selection Text: MODE = new (N) or append (A) ........
Selection Text: REPID = ... localized in .............
Selection Text: SRC_TAB = Source table .................
Selection Text: DB = on the database (DDPRH/S) ..
Title: DD: Universal conversion
Text Symbol: 001 = Source table
Text Symbol: 002 = Target table
Text Symbol: 003 = Mapping function
Text Symbol: 004 = Mapping report
Text Symbol: 801 = Logging
Text Symbol: 802 = Definition of mapping function
Text Symbol: 803 = Tables
INCLUDE: RADBTOUM, RADBTLOM, RADBTMAC, RADBTST0.
INCLUDE: RADBTOUM, RADBTLOM, RADBTMAC, RADBTST0.
INCLUDE: RADBTOUM, RADBTLOM, RADBTMAC, RADBTST0.
No SAP DATABASE tables are accessed within this REPORT code!
DD_CNV_METHOD CALL FUNCTION 'DD_CNV_METHOD' EXPORTING SRC_TAB = SRC_TAB DST_TAB = DST_TAB PRID = PRID DDPROF_USE = 'X' TABLES SELECT_FIELDS = SEL_FIELDS CHANGING LOADER = LOAD METHOD = METHOD SCHEMA = SCHEMA COM_SIZE = COM_SIZE WITH_LOCK = LOCK EXCEPTIONS OTHERS = 6.
DB_DATA_MOVE CALL FUNCTION 'DB_DATA_MOVE' EXPORTING SRC_TAB = SRC_TAB DST_TAB = DST_TAB PRID = PRID NO_EXEC = ' ' DATA_CHECK = 'W' DDPROF_USE = 'X' COM_SIZE = COM_SIZE WITH_LOCK = LOCK LOADER = LOAD CHANGING SCHEMA = SCHEMA EXCEPTIONS OTHERS = 7.
DB_INSERT_SELECT CALL FUNCTION 'DB_INSERT_SELECT' EXPORTING PRID = PRID CHECK_INSERT_SELECT = ' ' COM_SIZE = COM_SIZE_KB WITH_LOCK = LOCK TABNAME_SRC = SRC_TAB TABNAME_DST = DST_TAB EXCEPTIONS OTHERS = 10.
DB_CREATE_TABLE_AS_SELECT CALL FUNCTION 'DB_CREATE_TABLE_AS_SELECT' EXPORTING PRID = PRID CHECK_CREATE_AS = ' ' * WITH_KEYCHECK = 'X' TABNAME_SRC = SRC_TAB TABNAME_DST = DST_TAB NO_LOGGING = UNRECOVERABLE TABLES SELECT_FIELDS = SEL_FIELDS EXCEPTIONS OTHERS = 10.
DD_LOGNPROT_NAME_GET CALL FUNCTION 'DD_LOGNPROT_NAME_GET' EXPORTING TASK = 'CNV' SINGLE_OR_MASS = 'M' ONLINE_PUT = ONLINE_PUT IMPORTING PROTNAME = TEMPLATE EXCEPTIONS OTHERS = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.