SAP ABAP Class CL_ABAP_TABLEDESCR (Runtime Type Services)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_RTTI (Package)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ABAP_COMPLEXDESCR | Runtime Type Services | 00000000 |
Properties
| Class | CL_ABAP_TABLEDESCR | |
| Short Description | Runtime Type Services | |
| Super Class | CL_ABAP_COMPLEXDESCR | Runtime Type Services |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_RTTI | |
| Created | 19981027 | 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_ABAP_TABLEDESCR has no interface implemented.
Friends
Class CL_ABAP_TABLEDESCR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 26453703 | Further Secondary Keys Not Permitted | 20060712 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 26453701 | Further Secondary Keys Permitted, if Primary type is Generic | 20060712 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 26453702 | Further Secondary Keys Permitted | 20060712 | ||
| 4 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Unique key definition | 19981027 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | I | Initial size of table | 19981027 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ABAP_KEYDESCR_TAB | Table keys | 19981027 | |||
| 7 | Constant | Public | Type reference (TYPE) | ABAP_KEYDEFKIND | 'D' | Default key | 19981027 | ||
| 8 | Constant | Public | Type reference (TYPE) | ABAP_KEYDEFKIND | 'E' | Empty key (only with kernel >= 7.40) | 20120716 | ||
| 9 | Constant | Public | Type reference (TYPE) | ABAP_KEYDEFKIND | 'L' | Table line is key | 19981027 | ||
| 10 | Constant | Public | Type reference (TYPE) | ABAP_KEYDEFKIND | 'U' | User-defined key | 19981027 | ||
| 11 | Instance attribute | Public | Type reference (TYPE) | ABAP_KEYDEFKIND | Type of table definition | 19981027 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | 20030916 | ||||
| 13 | Constant | Public | Type reference (TYPE) | ABAP_TABLEKIND | 'A' | Untyped table | 19981027 | ||
| 14 | Constant | Public | Type reference (TYPE) | ABAP_TABLEKIND | 'H' | Hashed table | 19981027 | ||
| 15 | Constant | Public | Type reference (TYPE) | ABAP_TABLEKIND | 'I' | Indexable table | 19981027 | ||
| 16 | Constant | Public | Type reference (TYPE) | ABAP_TABLEKIND | 'O' | Sorted table | 19981027 | ||
| 17 | Constant | Public | Type reference (TYPE) | ABAP_TABLEKIND | 'S' | Standard table | 19981027 | ||
| 18 | Instance attribute | Public | Type reference (TYPE) | ABAP_TABLEKIND | Table category | 19981027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | - | 19981028 | |
| 2 | Static method | Public | Method | Factory Method for Table Type Creation Without Reuse | 20030916 | |
| 3 | Static method | Protected | Event handling method | - | 19981027 | |
| 4 | Static method | Public | Method | Table Type Creation with Secondary Keys but without Reuse | 20060712 | |
| 5 | Static method | Private | Method | Create XTYP for an Internal Table Description | 20031006 | |
| 6 | Static method | Public | Method | Factory Method for Table Type Creation With Reuse | 20051125 | |
| 7 | Instance method | Public | Method | Returns All Primary and Secondary Keys of the Table | 20060306 | |
| 8 | Instance method | Private | Method | Returns All Primary and Secondary Keys of the Table | 20060817 | |
| 9 | Instance method | Public | Method | Navigation method table type -> Line type | 19981102 | |
| 10 | Static method | Public | Method | Table Type Creation with Secondary Keys and Reuse | 20060712 | |
| 11 | Static method | Private | Method | Return XTYP for an Internal Table Description | 20051123 | |
| 12 | Static method | Private | Method | Return XTYP for Internal Table Description with Key Table | 20060712 | |
| 13 | Static method | Public | Method | - | 19981027 |
Events
Class CL_ABAP_TABLEDESCR has no event.
Types
Class CL_ABAP_TABLEDESCR has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ABAP_TABLEDESCR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_TABLEDESCR has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | Schlüsseltabelle | 20030916 | |||
| 2 | P_KEY_KIND | Call by reference | Type reference (TYPE) | ABAP_KEYDEFKIND | KEYDEFKIND_DEFAULT | Schlüsselart | 20030916 | ||
| 3 | P_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Zeilentyp | 20030916 | |||
| 4 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Ergebnistyp | 20030916 | |||
| 5 | P_TABLE_KIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | TABLEKIND_STD | Tabellenart (STANDARD, SORTED, HASHED) | 20030916 | ||
| 6 | P_UNIQUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Eindeutigkeit des Schlüssels | 20030916 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20030916 |
Method CREATE_TABLEDESCR_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Value transfer | Attribute reference (LIKE) | 19981027 |
Method CREATE_TABLEDESCR_OBJECT on class CL_ABAP_TABLEDESCR has no exception.
Method CREATE_WITH_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INITIAL_SIZE | Call by reference | Type reference (TYPE) | I | 0 | Initiale Tabellengröße | 20060712 | ||
| 2 | P_KEYS | Call by reference | Type reference (TYPE) | ABAP_TABLE_KEYDESCR_TAB | Tabellenschlüssel | 20060712 | |||
| 3 | P_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Typbeschreibungsobjekt des Zeilentyps der Tabelle | 20060712 | |||
| 4 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Typbeschreibungsobjekt der Tabelle | 20060712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20060712 |
Method CREATE_XTYP_FROM_ITAB_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | 20031006 | ||||
| 2 | KEYKIND | Call by reference | Type reference (TYPE) | ABAP_KEYDEFKIND | 20031006 | ||||
| 3 | LINE_TYPE | Call by reference | Type reference (TYPE) | XTYPE_TYPE | 20031006 | ||||
| 4 | TABLEKIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | 20031006 | ||||
| 5 | UNIQUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20031006 | ||||
| 6 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20031006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20031006 |
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | Schlüsseltabelle | 20051125 | |||
| 2 | P_KEY_KIND | Call by reference | Type reference (TYPE) | ABAP_KEYDEFKIND | KEYDEFKIND_DEFAULT | Schlüsselart | 20051125 | ||
| 3 | P_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Zeilentyp | 20051125 | |||
| 4 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Ergebnistyp | 20051125 | |||
| 5 | P_TABLE_KIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | TABLEKIND_STD | Tabellenart (STANDARD, SORTED, HASHED) | 20051125 | ||
| 6 | P_UNIQUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Eindeutigkeit des Schlüssels | 20051125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20051125 |
Method GET_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEYS | Value transfer | Type reference (TYPE) | ABAP_TABLE_KEYDESCR_TAB | 20060306 |
Method GET_KEYS on class CL_ABAP_TABLEDESCR has no exception.
Method GET_KEYS_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KEYS | Value transfer | Type reference (TYPE) | ABAP_TABLE_KEYDESCR_TAB | 20060817 |
Method GET_KEYS_TAB on class CL_ABAP_TABLEDESCR has no exception.
Method GET_TABLE_LINE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Beschreibungsreferenz | 19981221 |
Method GET_TABLE_LINE_TYPE on class CL_ABAP_TABLEDESCR has no exception.
Method GET_WITH_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_INITIAL_SIZE | Call by reference | Type reference (TYPE) | I | 0 | Initiale Tabellengröße | 20060712 | ||
| 2 | P_KEYS | Call by reference | Type reference (TYPE) | ABAP_TABLE_KEYDESCR_TAB | Tabellenschlüssel | 20060712 | |||
| 3 | P_LINE_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Typbeschreibungsobjekt des Zeilentyps der Tabelle | 20060712 | |||
| 4 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Typbeschreibungsobjekt der Tabelle | 20060712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20060712 |
Method GET_XTYP_FROM_ITAB_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | ABAP_KEYDESCR_TAB | 20051123 | ||||
| 2 | KEYKIND | Call by reference | Type reference (TYPE) | ABAP_KEYDEFKIND | 20051123 | ||||
| 3 | LINE_TYPE | Call by reference | Type reference (TYPE) | XTYPE_TYPE | 20051123 | ||||
| 4 | TABLEKIND | Call by reference | Type reference (TYPE) | ABAP_TABLEKIND | 20051123 | ||||
| 5 | UNIQUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20051123 | ||||
| 6 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20051123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20061115 |
Method GET_XTYP_FROM_ITAB_W_KEY_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FURTHER_SCND_KEYS | Call by reference | Type reference (TYPE) | I | Sind weitere Sekundärschlüssel zulässig? | 20060712 | |||
| 2 | INITIAL_SIZE | Call by reference | Type reference (TYPE) | I | Initiale Tabellengröße | 20060712 | |||
| 3 | KEYS | Call by reference | Type reference (TYPE) | ABAP_TABLE_KEYDESCR_TAB | Tabelle mit den Schlüsselbeschreibungen | 20060712 | |||
| 4 | LINE_TYPE | Call by reference | Type reference (TYPE) | XTYPE_TYPE | Zeilentyp des zu erzeugenden Tabellentyps | 20060712 | |||
| 5 | WITH_REUSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Typ erzeugen oder liefern? | 20060712 | |||
| 6 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | Tabellentyp | 20060712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Tabellentyps | 20060712 |
Method LOAD_CLASS Signature
Method LOAD_CLASS on class CL_ABAP_TABLEDESCR has no parameter.
Method LOAD_CLASS on class CL_ABAP_TABLEDESCR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |