SAP ABAP Class CL_FINB_TR_TYPE_FACTORY (Class for Creating Dynamic Internal Tables)
Hierarchy
☛
FINBASIS (Software Component) Fin. Basis
⤷
FIN-FB (Application Component) Financials Basis
⤷
FINB_TRANSPORT_TOOL (Package) Transport Support / Container Transport
⤷
⤷
Properties
| Class | CL_FINB_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 | FINB_TRANSPORT_TOOL | Transport Support / Container Transport |
| Created | 20010716 | SAP |
| Last change | 20041006 | 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_FINB_TR_TYPE_FACTORY has no interface implemented.
Friends
Class CL_FINB_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 | 20010716 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | YTS_RTTI | Dynamic Types | 20040716 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | FINB_TR_PROGRAM_SOURCE | Generated Program | 20010716 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | YT_TYPES | Table of Generated Types | 20010716 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Boolean Variable (X=True, -=False, Space=Unknown) | 20010716 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | TRDIR-NAME | ABAP Program Name | 20010716 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TRDIR-NAME | 20060315 | ||||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | _RD_TABLE | 20010716 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | _RD_WA | 20010716 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | FINB_TR_PROGRAM_SOURCE | ABAP Source | 20010716 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor: Instantiates the Type Factory | 20010716 | |
| 2 | Instance method | Public | Method | Generate move-corresponding Logic | 20010716 | |
| 3 | Instance method | Public | Method | Generate a Type with Field Info | 20010716 | |
| 4 | Instance method | Public | Method | Generate a Type with DDIC Table | 20010716 | |
| 5 | Instance method | Public | Method | Return a Reference to Deep Table Type for Container | 20030319 | |
| 6 | Instance method | Public | Method | Return a Reference to Table Row for Container | 20030319 | |
| 7 | Instance method | Public | Method | Create Reference to Interface | 20010716 | |
| 8 | Instance method | Public | Method | Generate Reference to Interface (Container Structure) | 20030319 | |
| 9 | Instance method | Public | Method | Create Reference to Interface (DDIC Type) | 20010927 | |
| 10 | Instance method | Public | Method | Generate Reference to Interface (FIELDINFO / RTTI) | 20040716 | |
| 11 | Instance method | Public | Method | Return a Reference to Table Type | 20010716 | |
| 12 | Instance method | Public | Method | Set Unique Type Name for a Table | 20010727 | |
| 13 | Instance method | Public | Method | Return a Reference to Table Row | 20010716 | |
| 14 | Instance method | Public | Method | Move Corresponding from Work Area | 20010716 | |
| 15 | Instance method | Private | Method | Create data reference | 20010716 | |
| 16 | Instance method | Private | Method | Generate a Subroutine Pool | 20010716 | |
| 17 | Instance method | Private | Method | Generate an Individual Type Based on DDIC Structure | 20010716 | |
| 18 | Instance method | Private | Method | Set Unique Type Name | 20010716 |
Events
Class CL_FINB_TR_TYPE_FACTORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_TYPES | Private | Type reference (TYPE) | FINB_TR_TYPEINFO | Information Concerning a Generated Type | 20010716 | |
| 2 | YT_TYPES | Private | Type reference (TYPE) | FINB_TR_T_TYPEINFO | Table of Types | 20010716 | |
| 3 | Y_COUNTER | Private | Type reference (TYPE) | Y_COUNTER | Counter | 20010716 | |
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_FINB_TR_TYPE_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CREATE_DATA_FAILED | 20010716 | ||
| 2 | Objekt konnte nicht instanziiert werden | 20010716 | ||
| 3 | Tabelle ist nicht bekann | 20010716 |
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 | 20010716 | |||
| 2 | I_TO_TYPE | Call by reference | Type reference (TYPE) | STRING | Zieltyp | 20010716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generierung fehlgeschlagen | 20010716 |
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) | FINB_TR_T_FIELDINFO | Tabelle von Feldinformationen für Generierung | 20010716 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20010716 | |||
| 3 | R_TYPENAME | Value transfer | Type reference (TYPE) | STRING | interne Typbezeichnung | 20010716 |
Method GENERATE_TYPE_BY_FIELDINFO on class CL_FINB_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 | 20010716 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20010716 | |||
| 3 | R_TYPENAME | Value transfer | Type reference (TYPE) | STRING | interne Typbezeichnung | 20010716 |
Method GENERATE_TYPE_BY_TABNAME on class CL_FINB_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 | 20030319 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | interne Tabelle | 20030319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20030319 |
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 | 20030319 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20030319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20030319 |
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 | 20010716 | |||
| 2 | RO_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_FINB_TR_ITAB_REFERENCE | FINB TR: Dynamische Interne Tabelle | 20010728 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
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 | 20030319 | |||
| 2 | RO_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_FINB_TR_ITAB_REFERENCE | FINB TR: Dynamische Interne Tabelle | 20030319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20030319 |
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 | 20010927 | |||
| 2 | RO_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_FINB_TR_ITAB_REFERENCE | FINB TR: Dynamische Interne Tabelle | 20010927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
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 (=' ') | 20040716 | ||
| 2 | IT_FIELDINFO | Call by reference | Type reference (TYPE) | FINB_TR_T_FIELDINFO | Tabelle von Feldinformationen für Generierung | 20040716 | |||
| 3 | I_TABLE_KIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | CL_ABAP_TABLEDESCR=>TABLEKIND_STD | 20040716 | |||
| 4 | I_TYPENAME | Call by reference | Type reference (TYPE) | TABNAME | interne Typbezeichnung | 20040716 | |||
| 5 | RO_OBJECT | Value transfer | Object reference (TYPE REF TO) | IF_FINB_TR_ITAB_REFERENCE | FINB TR: Dynamische Interne Tabelle | 20040716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20040716 |
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 | 20010716 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | interne Tabelle | 20010716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
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 | 20010727 | |||
| 2 | R_TYPENAME | Value transfer | Type reference (TYPE) | STRING | 20010727 |
Method GET_TYPENAME_FOR_TABLE on class CL_FINB_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 | 20010716 | |||
| 2 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20010716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
Method MOVE_CORRESPONDING_TO_OBJECT Signature
Method MOVE_CORRESPONDING_TO_OBJECT on class CL_FINB_TR_TYPE_FACTORY has no parameter.
Method MOVE_CORRESPONDING_TO_OBJECT on class CL_FINB_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 | 20010716 | |||
| 2 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | interne Typbezeichnung | 20010716 | |||
| 3 | RO_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20010716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
Method _GENERATE_PROGRAM Signature
Method _GENERATE_PROGRAM on class CL_FINB_TR_TYPE_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Erzeugung temporärer ABAP-Typen | 20020607 |
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 | 20010716 |
Method _GENERATE_TYPEDEF on class CL_FINB_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) | FINB_TR_T_FIELDINFO | Table of Field Information for Generation | 20070827 | |||
| 2 | I_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20010716 | |||
| 3 | R_TYPENAME | Value transfer | Type reference (TYPE) | STRING | 20010716 |
Method _SET_TYPENAME on class CL_FINB_TR_TYPE_FACTORY has no exception.
History
| Last changed by/on | SAP | 20041006 |
| SAP Release Created in | 10A |