RDDGEN01 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 RDDGEN01 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: BATCH = Background
Selection Text: COMFILE = Transport request
Selection Text: CONTROL = Output type: T-Test,R-Report,S
Selection Text: DATASET = Sequential file
Selection Text: FCT = Function: CRE, DEL, CMP, CNV,
Selection Text: IXPRIQTY = Initial storage size
Selection Text: IXSECQTY = Storage size for extension
Selection Text: NAMETAB = Comparison with DB catalog
Selection Text: NEWOWNER = New table owner
Selection Text: OLDOWNER = Current table owner
Selection Text: PRIQTY = Initial storage size
Selection Text: PROTNAME = Log name
Selection Text: SAPTAB = SAP table (X, space)
Selection Text: SECQTY = Storage size for extension
Selection Text: SEPARATE = Generate single programs
Selection Text: TABNAME = Table Name
Selection Text: TEST = TEST
Title: DD: Table Generation Program - Functions
Text Symbol: 118 = The table was activated
Text Symbol: 122 = In alphabetical order, first field changed is
Text Symbol: 124 = There is a backup copy of this table
Text Symbol: 125 = If necessary, it can be deleted with SE14, menu "Utilities"
Text Symbol: 130 = INSERT statement produces DUPLICATE RECORD error
Text Symbol: 131 = Lock for SELECT statement reached
Text Symbol: 132 = Error in SAPDSQL
Text Symbol: 133 = Specified database does not exist
Text Symbol: 136 = ALTER TABLE statement not supported in ABAP
Text Symbol: 137 = Nametab format
Text Symbol: 138 = is no longer supported in the ABAP Dictionary
Text Symbol: 139 = Inconsistency between nametab and field catalog
Text Symbol: 144 = Specified new DB table already exists
Text Symbol: 150 = Format
Text Symbol: 117 = Activate table
Text Symbol: 116 = Adjust the table screen
Text Symbol: 115 = Enter the database for the tablespace in TPTAB
Text Symbol: 114 = System contains several tablespaces with the same name
Text Symbol: 113 = Logical pooled/cluster tables need not be created
Text Symbol: 112 = Error string
INCLUDE RD5GTTXT.
No SAP DATABASE tables are accessed within this REPORT code!
DD_COMPARE_TAB * CALL FUNCTION 'DD_COMPARE_TAB' * EXPORTING * SAPTAB = SAPTAB * SOURCE1 = 'B' " Datenbank * SOURCE2 = 'D' " Data Dictionary * TABNAME = NAME * VERS1 = 'A' " egal * VERS2 = 'A' " aktive Version * IMPORTING * FIELDNAME = VERR-FIELDNAME * SUBRC = SUBRC.
DD_GET_DD03P * CALL FUNCTION 'DD_GET_DD03P' * EXPORTING ** DEFSTATUS = 'A' " Status der Datenelemente u.
CALL FUNCTION * STMTAB-LINE = 'CALL FUNCTION ''DB_SET_TABLE_PARAMETER'' '.
CALL FUNCTION * STMTAB-LINE = 'CALL FUNCTION ''DB_SET_TABLE_PARAMETER'' '.
CALL FUNCTION * STMTAB-LINE = 'CALL FUNCTION ''DB_SET_TABLE_PARAMETER'' '.
CALL FUNCTION * STMTAB-LINE = 'CALL FUNCTION ''DD_NAMETAB_TO_DDFIELDS'' '.
CALL FUNCTION * STMTAB-LINE = 'CALL FUNCTION ''DB_CREATE_TABLE'' '.
DD_GET_NAMETAB * CALL FUNCTION 'DD_GET_NAMETAB' * EXPORTING * STATUS = 'M' * TABNAME = TNAME * IMPORTING ** F_STATUS = I01 ** R_MODEFLAG = I02 * R_STATUS = R_STATUS * X030L_WA = X030L * TABLES * X031L_TAB = X031L.
DD_PUT_NAMETAB * CALL FUNCTION 'DD_PUT_NAMETAB' * EXPORTING ** MODEFLAG = E01 * STATUS = 'A' * X030L_WA = X030L * TABLES * X031L_TAB = X031L.
DB_EXISTS_TABLE ** CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = TNAME ** IMPORTING SUBRC = SUBRC.
DD_GET_NAMETAB_HEADER * CALL FUNCTION 'DD_GET_NAMETAB_HEADER' * EXPORTING * STATUS = NTFLAG * TABNAME = TABNAME * IMPORTING ** R_MODEFLAG = I01 ** R_STATUS = I02 * X030L_WA = X030L_WA.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RDDGEN01 or its description.
RDDGEN01 - DD: Table Generation Program - Functions RDDGEN01 - DD: Table Generation Program - Functions RDDFNTDF - documentation and ABAP source code RDDFITOD - Repository Switch: Fill Object List for a Release RDDFITOD - Repository Switch: Fill Object List for a Release RDDFINDL - Auxilliary Program for RDDFINDO: Fills List w. Exception Obj.w/o TADIR