SAP ABAP Class CL_MDG_TR_TYPE_FACTORY (Class for Creating Dynamic Internal Tables)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     MDG_TRANSPORT_TOOL (Package) Transport Tool
Properties
Class CL_MDG_TR_TYPE_FACTORY  
Short Description Class for Creating Dynamic Internal Tables    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package MDG_TRANSPORT_TOOL   Transport Tool 
Created 20081218   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_TABLEDESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_MDG_TR_TYPE_FACTORY has no interface implemented.
Friends
Class CL_MDG_TR_TYPE_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 _COUNT Instance attribute Private Type reference (TYPE) Y_COUNTER Count Parameters 20081218
2 _DTS_RTTI Static Attribute Private Type reference (TYPE) YTS_RTTI Dynamic Types 20081218
3 _GT_GEN_REPORT Static Attribute Private Type reference (TYPE) MDG_TR_PROGRAM_SOURCE Generated Program 20081218
4 _GT_TABLE_TYPES Static Attribute Private Type reference (TYPE) YT_TYPES Table of Generated Types 20081218
5 _G_FLAG_GENERATED Static Attribute Private Type reference (TYPE) BOOLE_D Boolean Variable (X=true, -=false, space=unknown) 20081218
6 _G_REPORT_NAME Static Attribute Private Type reference (TYPE) TRDIR-NAME ABAP Program Name 20081218
7 _G_REPORT_NAME_2 Static Attribute Private Type reference (TYPE) TRDIR-NAME 20081218
8 _RD_TABLE Instance attribute Private Object reference (TYPE REF TO) DATA _RD_TABLE 20081218
9 _RD_WA Instance attribute Private Object reference (TYPE REF TO) DATA _RD_WA 20081218
10 _T_REPORT Instance attribute Private Type reference (TYPE) MDG_TR_PROGRAM_SOURCE ABAP Source 20081218
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor: Instantiates the Type Factory 20081218
2 GENERATE_MOVE Instance method Public Method Generate move-corresponding Logic 20081218
3 GENERATE_TYPE_BY_FIELDINFO Instance method Public Method Generate a Type with Field Info 20081218
4 GENERATE_TYPE_BY_TABNAME Instance method Public Method Generate a Type with DDIC Table 20081218
5 GET_CONT_TABLE_REFERENCE Instance method Public Method Return a Reference to Deep Table Type for Container 20081218
6 GET_CONT_WA_REFERENCE Instance method Public Method Return a Reference to Table Row for Container 20081218
7 GET_ITAB_REFERENCE Instance method Public Method Create Reference to Interface 20081218
8 GET_ITAB_REFERENCE_CONTAINER Instance method Public Method Generate Reference to Interface (Container Structure) 20081218
9 GET_ITAB_REFERENCE_DDIC Instance method Public Method Create Reference to Interface (DDIC Type) 20081218
10 GET_ITAB_REFERENCE_RTTI Instance method Public Method Generate Reference to Interface (FIELDINFO / RTTI) 20081218
11 GET_TABLE_REFERENCE Instance method Public Method Return a Reference to Table Type 20081218
12 GET_TYPENAME_FOR_TABLE Instance method Public Method Set Unique Type Name for a Table 20081218
13 GET_WA_REFERENCE Instance method Public Method Return a Reference to Table Row 20081218
14 MOVE_CORRESPONDING_TO_OBJECT Instance method Public Method Move Corresponding from Work Area 20081218
15 _CREATE_DATA_REFERENCE Instance method Private Method Generate Data Reference 20081218
16 _GENERATE_PROGRAM Instance method Private Method Generate a Subroutine Pool 20081218
17 _GENERATE_TYPEDEF Instance method Private Method Generate an Individual Type Based on DDIC Structure 20081218
18 _SET_TYPENAME Instance method Private Method Set Unique Type Name 20081218
Events
Class CL_MDG_TR_TYPE_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_TYPES Private Type reference (TYPE) MDG_TR_TYPEINFO Information Concerning a Generated Type 20081218
2 YT_TYPES Private Type reference (TYPE) MDG_TR_T_TYPEINFO Table of Types 20081218
3 Y_COUNTER Private Type reference (TYPE) Y_COUNTER Counter 20081218
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_MDG_TR_TYPE_FACTORY has no parameter.
# Exception Resumable Description Created on
1 CREATE_DATA_FAILED CREATE_DATA_FAILED 20081218
2 OBJECT_CONSTRUCTION_FAILED Objekt konnte nicht instanziiert werden 20081218
3 TABLE_NOT_KNOWN Tabelle ist nicht bekann 20081218

Method GENERATE_MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FROM_TYPE Call by reference Type reference (TYPE) STRING Ausgangstyp 20081218
2 Importing I_TO_TYPE Call by reference Type reference (TYPE) STRING Zieltyp 20081218
# Exception Resumable Description Created on
1 GENERATION_FAILED Generierung fehlgeschlagen 20081218

Method GENERATE_TYPE_BY_FIELDINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDINFO Call by reference Type reference (TYPE) MDG_TR_T_FIELDINFO Tabelle von Feldinformationen für Generierung 20081218
2 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
3 Returning R_TYPENAME Value transfer Type reference (TYPE) STRING interne Typbezeichnung 20081218

Method GENERATE_TYPE_BY_FIELDINFO on class CL_MDG_TR_TYPE_FACTORY has no exception.

Method GENERATE_TYPE_BY_TABNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellenname 20081218
2 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
3 Returning R_TYPENAME Value transfer Type reference (TYPE) STRING interne Typbezeichnung 20081218

Method GENERATE_TYPE_BY_TABNAME on class CL_MDG_TR_TYPE_FACTORY has no exception.

Method GET_CONT_TABLE_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_REF Value transfer Object reference (TYPE REF TO) DATA interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_CONT_WA_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_REF Value transfer Object reference (TYPE REF TO) DATA 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_ITAB_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_OBJECT Value transfer Object reference (TYPE REF TO) IF_MDG_TR_ITAB_REFERENCE FINB TR: Dynamische Interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_ITAB_REFERENCE_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_OBJECT Value transfer Object reference (TYPE REF TO) IF_MDG_TR_ITAB_REFERENCE FINB TR: Dynamische Interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_ITAB_REFERENCE_DDIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) TABNAME interne Typbezeichnung 20081218
2 Returning RO_OBJECT Value transfer Object reference (TYPE REF TO) IF_MDG_TR_ITAB_REFERENCE FINB TR: Dynamische Interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_ITAB_REFERENCE_RTTI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_KEY_UNIQUE Call by reference Type reference (TYPE) BOOLE_D SPACE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20081218
2 Importing IT_FIELDINFO Call by reference Type reference (TYPE) MDG_TR_T_FIELDINFO Tabelle von Feldinformationen für Generierung 20081218
3 Importing I_TABLE_KIND Call by reference Type reference (TYPE) ABAP_TABLEKIND CL_ABAP_TABLEDESCR=>TABLEKIND_STD 20081218
4 Importing I_TYPENAME Call by reference Type reference (TYPE) TABNAME interne Typbezeichnung 20081218
5 Returning RO_OBJECT Value transfer Object reference (TYPE REF TO) IF_MDG_TR_ITAB_REFERENCE FINB TR: Dynamische Interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_TABLE_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_REF Value transfer Object reference (TYPE REF TO) DATA interne Tabelle 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method GET_TYPENAME_FOR_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellenname 20081218
2 Returning R_TYPENAME Value transfer Type reference (TYPE) STRING 20081218

Method GET_TYPENAME_FOR_TABLE on class CL_MDG_TR_TYPE_FACTORY has no exception.

Method GET_WA_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
2 Returning RO_REF Value transfer Object reference (TYPE REF TO) DATA 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method MOVE_CORRESPONDING_TO_OBJECT Signature

Method MOVE_CORRESPONDING_TO_OBJECT on class CL_MDG_TR_TYPE_FACTORY has no parameter.
Method MOVE_CORRESPONDING_TO_OBJECT on class CL_MDG_TR_TYPE_FACTORY has no exception.

Method _CREATE_DATA_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TYPE Call by reference Type reference (TYPE) STRING Tabellentype oder WA 20081218
2 Importing I_TYPENAME Call by reference Type reference (TYPE) STRING interne Typbezeichnung 20081218
3 Returning RO_REF Value transfer Object reference (TYPE REF TO) DATA 20081218
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method _GENERATE_PROGRAM Signature

Method _GENERATE_PROGRAM on class CL_MDG_TR_TYPE_FACTORY has no parameter.
# Exception Resumable Description Created on
1 CX_MDG_TR_TYPES 20081218

Method _GENERATE_TYPEDEF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TYPES Call by reference Type reference (TYPE) YS_TYPES Infostruktur für dyn. Tabelle 20081218

Method _GENERATE_TYPEDEF on class CL_MDG_TR_TYPE_FACTORY has no exception.

Method _SET_TYPENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDINFO Call by reference Type reference (TYPE) MDG_TR_T_FIELDINFO Table of Field Information for Generation 20081218
2 Importing I_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellenname 20081218
3 Returning R_TYPENAME Value transfer Type reference (TYPE) STRING 20081218

Method _SET_TYPENAME on class CL_MDG_TR_TYPE_FACTORY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 702