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 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_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 FURTHER_SCND_KEYS_NO Constant Public Type reference (TYPE) I 26453703 Further Secondary Keys Not Permitted 20060712
2 FURTHER_SCND_KEYS_NOT_SPEC Constant Public Type reference (TYPE) I 26453701 Further Secondary Keys Permitted, if Primary type is Generic 20060712
3 FURTHER_SCND_KEYS_YES Constant Public Type reference (TYPE) I 26453702 Further Secondary Keys Permitted 20060712
4 HAS_UNIQUE_KEY Instance attribute Public Type reference (TYPE) ABAP_BOOL Unique key definition 19981027
5 INITIAL_SIZE Instance attribute Public Type reference (TYPE) I Initial size of table 19981027
6 KEY Instance attribute Public Type reference (TYPE) ABAP_KEYDESCR_TAB Table keys 19981027
7 KEYDEFKIND_DEFAULT Constant Public Type reference (TYPE) ABAP_KEYDEFKIND 'D' Default key 19981027
8 KEYDEFKIND_EMPTY Constant Public Type reference (TYPE) ABAP_KEYDEFKIND 'E' Empty key (only with kernel >= 7.40) 20120716
9 KEYDEFKIND_TABLELINE Constant Public Type reference (TYPE) ABAP_KEYDEFKIND 'L' Table line is key 19981027
10 KEYDEFKIND_USER Constant Public Type reference (TYPE) ABAP_KEYDEFKIND 'U' User-defined key 19981027
11 KEY_DEFKIND Instance attribute Public Type reference (TYPE) ABAP_KEYDEFKIND Type of table definition 19981027
12 LINE_TYPE_CACHE Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_DATADESCR 20030916
13 TABLEKIND_ANY Constant Public Type reference (TYPE) ABAP_TABLEKIND 'A' Untyped table 19981027
14 TABLEKIND_HASHED Constant Public Type reference (TYPE) ABAP_TABLEKIND 'H' Hashed table 19981027
15 TABLEKIND_INDEX Constant Public Type reference (TYPE) ABAP_TABLEKIND 'I' Indexable table 19981027
16 TABLEKIND_SORTED Constant Public Type reference (TYPE) ABAP_TABLEKIND 'O' Sorted table 19981027
17 TABLEKIND_STD Constant Public Type reference (TYPE) ABAP_TABLEKIND 'S' Standard table 19981027
18 TABLE_KIND Instance attribute Public Type reference (TYPE) ABAP_TABLEKIND Table category 19981027
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor - 19981028
2 CREATE Static method Public Method Factory Method for Table Type Creation Without Reuse 20030916
3 CREATE_TABLEDESCR_OBJECT Static method Protected Event handling method - 19981027
4 CREATE_WITH_KEYS Static method Public Method Table Type Creation with Secondary Keys but without Reuse 20060712
5 CREATE_XTYP_FROM_ITAB_DESC Static method Private Method Create XTYP for an Internal Table Description 20031006
6 GET Static method Public Method Factory Method for Table Type Creation With Reuse 20051125
7 GET_KEYS Instance method Public Method Returns All Primary and Secondary Keys of the Table 20060306
8 GET_KEYS_TAB Instance method Private Method Returns All Primary and Secondary Keys of the Table 20060817
9 GET_TABLE_LINE_TYPE Instance method Public Method Navigation method table type -> Line type 19981102
10 GET_WITH_KEYS Static method Public Method Table Type Creation with Secondary Keys and Reuse 20060712
11 GET_XTYP_FROM_ITAB_DESC Static method Private Method Return XTYP for an Internal Table Description 20051123
12 GET_XTYP_FROM_ITAB_W_KEY_DESC Static method Private Method Return XTYP for Internal Table Description with Key Table 20060712
13 LOAD_CLASS 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 Importing P_KEY Call by reference Type reference (TYPE) ABAP_KEYDESCR_TAB Schlüsseltabelle 20030916
2 Importing P_KEY_KIND Call by reference Type reference (TYPE) ABAP_KEYDEFKIND KEYDEFKIND_DEFAULT Schlüsselart 20030916
3 Importing P_LINE_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Zeilentyp 20030916
4 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Ergebnistyp 20030916
5 Importing P_TABLE_KIND Call by reference Type reference (TYPE) ABAP_TABLEKIND TABLEKIND_STD Tabellenart (STANDARD, SORTED, HASHED) 20030916
6 Importing P_UNIQUE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Eindeutigkeit des Schlüssels 20030916
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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 Importing 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 Importing P_INITIAL_SIZE Call by reference Type reference (TYPE) I 0 Initiale Tabellengröße 20060712
2 Importing P_KEYS Call by reference Type reference (TYPE) ABAP_TABLE_KEYDESCR_TAB Tabellenschlüssel 20060712
3 Importing P_LINE_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Typbeschreibungsobjekt des Zeilentyps der Tabelle 20060712
4 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Typbeschreibungsobjekt der Tabelle 20060712
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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 Importing KEY Call by reference Type reference (TYPE) ABAP_KEYDESCR_TAB 20031006
2 Importing KEYKIND Call by reference Type reference (TYPE) ABAP_KEYDEFKIND 20031006
3 Importing LINE_TYPE Call by reference Type reference (TYPE) XTYPE_TYPE 20031006
4 Importing TABLEKIND Call by reference Type reference (TYPE) ABAP_TABLEKIND 20031006
5 Importing UNIQUE Call by reference Type reference (TYPE) ABAP_BOOL 20031006
6 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20031006
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION Ausnahme beim Erzeugen eines Tabellentyps 20031006

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_KEY Call by reference Type reference (TYPE) ABAP_KEYDESCR_TAB Schlüsseltabelle 20051125
2 Importing P_KEY_KIND Call by reference Type reference (TYPE) ABAP_KEYDEFKIND KEYDEFKIND_DEFAULT Schlüsselart 20051125
3 Importing P_LINE_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Zeilentyp 20051125
4 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Ergebnistyp 20051125
5 Importing P_TABLE_KIND Call by reference Type reference (TYPE) ABAP_TABLEKIND TABLEKIND_STD Tabellenart (STANDARD, SORTED, HASHED) 20051125
6 Importing P_UNIQUE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Eindeutigkeit des Schlüssels 20051125
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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 Returning 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 Returning 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 Returning 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 Importing P_INITIAL_SIZE Call by reference Type reference (TYPE) I 0 Initiale Tabellengröße 20060712
2 Importing P_KEYS Call by reference Type reference (TYPE) ABAP_TABLE_KEYDESCR_TAB Tabellenschlüssel 20060712
3 Importing P_LINE_TYPE Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Typbeschreibungsobjekt des Zeilentyps der Tabelle 20060712
4 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_TABLEDESCR Typbeschreibungsobjekt der Tabelle 20060712
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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 Importing KEY Call by reference Type reference (TYPE) ABAP_KEYDESCR_TAB 20051123
2 Importing KEYKIND Call by reference Type reference (TYPE) ABAP_KEYDEFKIND 20051123
3 Importing LINE_TYPE Call by reference Type reference (TYPE) XTYPE_TYPE 20051123
4 Importing TABLEKIND Call by reference Type reference (TYPE) ABAP_TABLEKIND 20051123
5 Importing UNIQUE Call by reference Type reference (TYPE) ABAP_BOOL 20051123
6 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20051123
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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 Importing FURTHER_SCND_KEYS Call by reference Type reference (TYPE) I Sind weitere Sekundärschlüssel zulässig? 20060712
2 Importing INITIAL_SIZE Call by reference Type reference (TYPE) I Initiale Tabellengröße 20060712
3 Importing KEYS Call by reference Type reference (TYPE) ABAP_TABLE_KEYDESCR_TAB Tabelle mit den Schlüsselbeschreibungen 20060712
4 Importing LINE_TYPE Call by reference Type reference (TYPE) XTYPE_TYPE Zeilentyp des zu erzeugenden Tabellentyps 20060712
5 Importing WITH_REUSE Call by reference Type reference (TYPE) ABAP_BOOL Typ erzeugen oder liefern? 20060712
6 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE Tabellentyp 20060712
# Exception Resumable Description Created on
1 CX_SY_TABLE_CREATION 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