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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Instance attribute | Private | Type reference (TYPE) | Y_COUNTER | Count Parameters | 20081218 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | YTS_RTTI | Dynamic Types | 20081218 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | MDG_TR_PROGRAM_SOURCE | Generated Program | 20081218 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | YT_TYPES | Table of Generated Types | 20081218 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Boolean Variable (X=true, -=false, space=unknown) | 20081218 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | TRDIR-NAME | ABAP Program Name | 20081218 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TRDIR-NAME | 20081218 | ||||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | _RD_TABLE | 20081218 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | _RD_WA | 20081218 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | MDG_TR_PROGRAM_SOURCE | ABAP Source | 20081218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor: Instantiates the Type Factory | 20081218 | |
| 2 | Instance method | Public | Method | Generate move-corresponding Logic | 20081218 | |
| 3 | Instance method | Public | Method | Generate a Type with Field Info | 20081218 | |
| 4 | Instance method | Public | Method | Generate a Type with DDIC Table | 20081218 | |
| 5 | Instance method | Public | Method | Return a Reference to Deep Table Type for Container | 20081218 | |
| 6 | Instance method | Public | Method | Return a Reference to Table Row for Container | 20081218 | |
| 7 | Instance method | Public | Method | Create Reference to Interface | 20081218 | |
| 8 | Instance method | Public | Method | Generate Reference to Interface (Container Structure) | 20081218 | |
| 9 | Instance method | Public | Method | Create Reference to Interface (DDIC Type) | 20081218 | |
| 10 | Instance method | Public | Method | Generate Reference to Interface (FIELDINFO / RTTI) | 20081218 | |
| 11 | Instance method | Public | Method | Return a Reference to Table Type | 20081218 | |
| 12 | Instance method | Public | Method | Set Unique Type Name for a Table | 20081218 | |
| 13 | Instance method | Public | Method | Return a Reference to Table Row | 20081218 | |
| 14 | Instance method | Public | Method | Move Corresponding from Work Area | 20081218 | |
| 15 | Instance method | Private | Method | Generate Data Reference | 20081218 | |
| 16 | Instance method | Private | Method | Generate a Subroutine Pool | 20081218 | |
| 17 | Instance method | Private | Method | Generate an Individual Type Based on DDIC Structure | 20081218 | |
| 18 | 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 | 20081218 | ||
| 2 | Objekt konnte nicht instanziiert werden | 20081218 | ||
| 3 | Tabelle ist nicht bekann | 20081218 |
Method GENERATE_MOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FROM_TYPE | Call by reference | Type reference (TYPE) | STRING | Ausgangstyp | 20081218 | |||
| 2 | I_TO_TYPE | Call by reference | Type reference (TYPE) | STRING | Zieltyp | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20081218 |
Method GENERATE_TYPE_BY_FIELDINFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FIELDINFO | Call by reference | Type reference (TYPE) | MDG_TR_T_FIELDINFO | Tabelle von Feldinformationen für Generierung | 20081218 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 3 | 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 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20081218 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 3 | 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 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | interne Tabelle | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method GET_CONT_WA_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method GET_ITAB_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | 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 | 20081218 |
Method GET_ITAB_REFERENCE_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | 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 | 20081218 |
Method GET_ITAB_REFERENCE_DDIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPENAME | Call by reference | Type reference (TYPE) | TABNAME | interne Typbezeichnung | 20081218 | |||
| 2 | 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 | 20081218 |
Method GET_ITAB_REFERENCE_RTTI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_KEY_UNIQUE | Call by reference | Type reference (TYPE) | BOOLE_D | SPACE | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20081218 | ||
| 2 | IT_FIELDINFO | Call by reference | Type reference (TYPE) | MDG_TR_T_FIELDINFO | Tabelle von Feldinformationen für Generierung | 20081218 | |||
| 3 | I_TABLE_KIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | CL_ABAP_TABLEDESCR=>TABLEKIND_STD | 20081218 | |||
| 4 | I_TYPENAME | Call by reference | Type reference (TYPE) | TABNAME | interne Typbezeichnung | 20081218 | |||
| 5 | 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 | 20081218 |
Method GET_TABLE_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | interne Tabelle | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method GET_TYPENAME_FOR_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20081218 | |||
| 2 | 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 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_TYPE | Call by reference | Type reference (TYPE) | STRING | Tabellentype oder WA | 20081218 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20081218 | |||
| 3 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method _GENERATE_PROGRAM Signature
Method _GENERATE_PROGRAM on class CL_MDG_TR_TYPE_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081218 |
Method _GENERATE_TYPEDEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | IT_FIELDINFO | Call by reference | Type reference (TYPE) | MDG_TR_T_FIELDINFO | Table of Field Information for Generation | 20081218 | |||
| 2 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20081218 | |||
| 3 | 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 |