RDDTA2GT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program creates entries in the global object directory (GTADIR) for objects that are original objects in this system, according to the local object directory (TADIR)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RDDTA2GT 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: GTADIR Setup: All Objects with SRCSYSTEM=SY-SYSID -> GTADIR
Text Symbol: 017 = UNIX object not checked ...............:
Text Symbol: 016 = Documentation object not checked ......:
Text Symbol: 015 = Text object not checked ...............:
Text Symbol: 014 = Print object not checked ..............:
Text Symbol: 013 = Objects not supported .................:
Text Symbol: 012 = System entries in TADIR ...............:
Text Symbol: 011 = Non-existent ..........................:
Text Symbol: 010 = Exists and has been checked............:
Text Symbol: 007 = End of action .........................:
Text Symbol: 006 = Number of objects copied ..............:
Text Symbol: 005 = Start time ............................:
Text Symbol: 004 = Scheduled by ..........................:
Text Symbol: 003 = Date .................................:
Text Symbol: 002 = SAP System ............................:
Text Symbol: 001 = TADIR entries from originals -> GTADIR
Text Symbol: 018 = Other objects not checked .............:
Text Symbol: M01 = Number of TADIR entries found
Text Symbol: 120 = Inactive objects ......................:
Text Symbol: 034 = Object Owner Here
Text Symbol: 033 = GTADIR-SRCSYSTEM
Text Symbol: 032 = OBJ_NAME
Text Symbol: 031 = OBJECT
Text Symbol: 030 = PGMID
Text Symbol: 029 = entries are intended for an insert
Text Symbol: 028 = GTADIR identical no update.............:
Text Symbol: 027 = These entries have originals in other systems:
Text Symbol: 026 = Error accessing global TADIR ...
Text Symbol: 021 = Total number of objects ...............:
Text Symbol: 020 = Unexpected return value ...............:
Text Symbol: 019 = No check function .....................:
INCLUDE SDITCONS.
INCLUDE SDITCON1.
No SAP DATABASE tables are accessed within this REPORT code!
TR_GTADIR_LIST_QUERY CALL FUNCTION 'TR_GTADIR_LIST_QUERY' EXPORTING COMMAND = GC_GETLIST TABLES I_TABLE = LT_GTADIR_LOC E_TABLE = LT_GTADIR_DB EXCEPTIONS OTHERS = 1.
CHECK_EXIST CALL FUNCTION 'CHECK_EXIST' EXPORTING I_TADIR = ITADIR IMPORTING E_EXIST = EXIST EXCEPTIONS TR_NO_CHECK_FUNCTION = 1.
TRINT_GTADIR_ACCESS CALL FUNCTION 'TRINT_GTADIR_ACCESS' EXPORTING MESSAGE = GC_PUTGLOBAL IMPORTING ERROR = ERROR ACTION = ACTION STATUS = STATUS TABLES TT_QUERY = LT_QUERY TABLE_IN = TAB_IN TABLE_OUT = TAB_OUT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.