SAP ABAP Class CL_ABAP_STRUCTDESCR (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_STRUCTDESCR  
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 19981023   SAP 
Last change 20140121   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)
Interfaces
Class CL_ABAP_STRUCTDESCR has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_ABAP_REFDESCR 20080325 Runtime Type Services
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COMPONENTS Instance attribute Public Type reference (TYPE) ABAP_COMPDESCR_TAB Table of components 19981023
2 COMPONENTS_CACHE Instance attribute Private Type reference (TYPE) COMPONENT_TABLE Cache for Component Table 20030915
3 DDFIELDS_CACHE Instance attribute Private See coding Cache for GET_DDIC_FIELD_LIST 20020403
4 HAS_INCLUDE Instance attribute Public Type reference (TYPE) ABAP_BOOL Structure Contains Includes 20030915
5 HAS_OPTIMIZED_GET_METHOD Static Attribute Private Type reference (TYPE) ABAP_BOOL Do optimization kernel methods exist? 20121227
6 STRUCTKIND_FLAT Constant Public Type reference (TYPE) ABAP_STRUCTKIND 'F' Flat structure 19981023
7 STRUCTKIND_MESH Constant Public Type reference (TYPE) ABAP_STRUCTKIND 'M' Structure is a mesh 20130715
8 STRUCTKIND_NESTED Constant Public Type reference (TYPE) ABAP_STRUCTKIND 'N' Nested structure 19981023
9 STRUCT_KIND Instance attribute Public Type reference (TYPE) ABAP_STRUCTKIND Type of structure 19981023
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_COMPONENT_TAB Static method Private Method Correctness Test of a Component Description Table 20121227
2 CHECK_COMPONENT_TABLE Static method Private Method Correctness Test of a Component Description Table 20060714
3 CLASS_CONSTRUCTOR Static method Public Constructor - 19981026
4 CREATE Static method Public Method Factory Method for Structure Type Creation Without Reuse 20030915
5 CREATE_CACHED_XTYP Static method Private Method Create and cache XTYP for component table 20121227
6 CREATE_STRUCTDESCR_OBJECT Static method Protected Event handling method - 19981026
7 CREATE_XTYP_FROM_STRUC_DESC Static method Private Method Create XTYP for a Structure Description 20031006
8 GET Static method Public Method Factory Method for Creating Structure Description with Reuse 20051125
9 GET_CACHED_XTYP Static method Private Method Get XTYP from cache for component table 20121227
10 GET_COMPONENTS Instance method Public Method Returns Component Description Table of Structure 20030915
11 GET_COMPONENTS_TAB Instance method Private Method Returns Component Description Table of Structure 20060816
12 GET_COMPONENT_TYPE Instance method Public Method Navigation method structure -> Component 19981102
13 GET_DDIC_FIELD_LIST Instance method Public Method List of Dictionary Descriptions for all Components 20020328
14 GET_INCLUDED_VIEW Instance method Public Method Returns Included View of Component Description Table 20030915
15 GET_INCLUDED_VIEW_TAB Instance method Private Method Returns Included View of Component Description Table 20060816
16 GET_SYMBOLS Instance method Public Method 20030919
17 GET_SYMBOLS_TAB Instance method Private Method 20060816
18 GET_XTYP_FROM_STRUC_DESC Static method Private Method Return XTYP for a Structure Description 20051123
19 LOAD_CLASS Static method Public Method - 19981026
20 NORMALIZE_COMPONENT_TABLE Static method Private Method Calculates standardized component table 20121227
21 XTYP_TO_STRUC_DESC Static method Private Method Specify XTYP for a Structure Description 20031006
Events
Class CL_ABAP_STRUCTDESCR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 COMPONENT Public Type reference (TYPE) ABAP_COMPONENTDESCR Component Description 20030915
2 COMPONENT_TABLE Public Type reference (TYPE) ABAP_COMPONENT_TAB Component Description Table 20030915
3 DDFIELDS_CACHE_LINE_TYPE Private See coding 20030411 begin of ddfields_cache_line_type, langu type SPRAS, not_found type abap_bool, value type ref to DDFIELDS, end of ddfields_cache_line_type
4 INCLUDED_VIEW Public Type reference (TYPE) ABAP_COMPONENT_VIEW_TAB Description of a View 20030915
5 STRUC_COMP Private See coding 20031014 begin of STRUC_COMP, NAME type string, XTYP type xtype_type, TYPE_KIND type ABAP_TYPECATEGORY, AS_INCLUDE type abap_bool, SUFFIX type string, end of struc_comp
6 STRUC_COMP_TAB Private See coding 20031014 STRUC_COMP_TAB type standard table of STRUC_COMP with non-unique default key
7 SYMBOL_TABLE Public Type reference (TYPE) ABAP_COMPONENT_SYMBOL_TAB Description of a Symbol Table 20031006
Method Signatures

Method CHECK_COMPONENT_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENTS Call by reference Type reference (TYPE) COMPONENT_TABLE Komponentenbeschreibungstabelle 20121227
2 Importing P_STRICT Call by reference Type reference (TYPE) ABAP_BOOL TRUE Prüfe Komponententabelle nach ABAP-OO-Bedingungen? 20121227
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Exception when creating a structure description 20121227

Method CHECK_COMPONENT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENTS Call by reference Type reference (TYPE) COMPONENT_TABLE Component Table 20060714
2 Returning P_COMPTAB Value transfer Type reference (TYPE) STRUC_COMP_TAB Normalisierte Komponententabelle 20060714
3 Importing P_STRICT Call by reference Type reference (TYPE) ABAP_BOOL TRUE Type Creation According to ABAP-OO Rules? 20060714
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Ausnahme beim Erzeugen eines Strukturtyps 20060714

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_ABAP_STRUCTDESCR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_STRUCTDESCR has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENTS Call by reference Type reference (TYPE) COMPONENT_TABLE Komponententabelle 20030915
2 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Strukturtyp-Objekt 20030915
3 Importing P_STRICT Call by reference Type reference (TYPE) ABAP_BOOL TRUE Typerzeugung nach ABAP-OO Regeln? 20031017
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Ausnahme beim Erzeugen einer Strukturbeschreibung 20030918

Method CREATE_CACHED_XTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESC Call by reference Type reference (TYPE) STRUC_COMP_TAB 20121227
2 Importing STRICT Call by reference Type reference (TYPE) ABAP_BOOL 20121227
3 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20121227
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Exception when creating a structure description 20121227

Method CREATE_STRUCTDESCR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XTYPE Call by reference Attribute reference (LIKE) 19981027

Method CREATE_STRUCTDESCR_OBJECT on class CL_ABAP_STRUCTDESCR has no exception.

Method CREATE_XTYP_FROM_STRUC_DESC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESC Call by reference Type reference (TYPE) STRUC_COMP_TAB 20031006
2 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20031006
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Ausnahme beim Erzeugen eines Strukturtyps 20031006

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENTS Call by reference Type reference (TYPE) COMPONENT_TABLE Komponententabelle 20051125
2 Returning P_RESULT Value transfer Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Strukturtyp-Objekt 20051125
3 Importing P_STRICT Call by reference Type reference (TYPE) ABAP_BOOL TRUE Typerzeugung nach ABAP-OO Regeln? 20051125
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Ausnahme beim Erzeugen eines Strukturtyps 20051125

Method GET_CACHED_XTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESC Call by reference Type reference (TYPE) STRUC_COMP_TAB 20121227
2 Importing STRICT Call by reference Type reference (TYPE) ABAP_BOOL 20121227
3 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20121227
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Exception when creating a structure description 20130102

Method GET_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_RESULT Value transfer Type reference (TYPE) COMPONENT_TABLE Komponentenbeschreibungstabelle 20030915

Method GET_COMPONENTS on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_COMPONENTS_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_RESULT Value transfer Type reference (TYPE) COMPONENT_TABLE Komponentenbeschreibungstabelle 20060816

Method GET_COMPONENTS_TAB on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_COMPONENT_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 Beschreibungsobjekt 19990204
2 Importing P_NAME Call by reference Type reference (TYPE) ANY Name der Komponente 19981102
# Exception Resumable Description Created on
1 COMPONENT_NOT_FOUND Fehler beim Suchen der Komponente 19981102
2 UNSUPPORTED_INPUT_TYPE P_NAME unterstütztet nur CSEQUENCE und NUMERIC 20020926

Method GET_DDIC_FIELD_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_FIELD_LIST Value transfer Type reference (TYPE) DDFIELDS Liste der DDIC-Beschreibung der Komponenten 20020328
2 Importing P_INCLUDING_SUBSTRUCTRES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Liste auch für Unterstrukturen 20030919
3 Importing P_LANGU Value transfer Type reference (TYPE) SYST-LANGU SY-LANGU aktuelle Sprache 20020404
# Exception Resumable Description Created on
1 NOT_FOUND Typ konnte nicht gefunden werden 20020328
2 NO_DDIC_TYPE Typ ist kein DDIC Typ 20020328

Method GET_INCLUDED_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Value transfer Type reference (TYPE) I Level, bis zu dem INCLUDES aufgelöst werden sollen 20030915
2 Returning P_RESULT Value transfer Type reference (TYPE) INCLUDED_VIEW Rückgabewert: inkludierte Sicht 20030915

Method GET_INCLUDED_VIEW on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_INCLUDED_VIEW_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Value transfer Type reference (TYPE) I Level, bis zu dem INCLUDES aufgelöst werden sollen 20060816
2 Returning P_RESULT Value transfer Type reference (TYPE) INCLUDED_VIEW Rückgabewert: inkludierte Sicht 20060816

Method GET_INCLUDED_VIEW_TAB on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_SYMBOLS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_RESULT Value transfer Type reference (TYPE) SYMBOL_TABLE 20030919

Method GET_SYMBOLS on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_SYMBOLS_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_RESULT Value transfer Type reference (TYPE) SYMBOL_TABLE 20060816

Method GET_SYMBOLS_TAB on class CL_ABAP_STRUCTDESCR has no exception.

Method GET_XTYP_FROM_STRUC_DESC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESC Call by reference Type reference (TYPE) STRUC_COMP_TAB 20051123
2 Returning XTYP Value transfer Type reference (TYPE) XTYPE_TYPE 20051123
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Ausnahme beim Erzeugen eines Strukturtyps 20060713

Method LOAD_CLASS Signature

Method LOAD_CLASS on class CL_ABAP_STRUCTDESCR has no parameter.
Method LOAD_CLASS on class CL_ABAP_STRUCTDESCR has no exception.

Method NORMALIZE_COMPONENT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPONENTS Call by reference Type reference (TYPE) COMPONENT_TABLE Komponentenbeschreibungstabelle 20121227
2 Returning P_COMPTAB Value transfer Type reference (TYPE) STRUC_COMP_TAB Normalisierte Komponententabelle 20121227
# Exception Resumable Description Created on
1 CX_SY_STRUCT_CREATION Exception when creating a structure description 20121227

Method XTYP_TO_STRUC_DESC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DESC Value transfer Type reference (TYPE) STRUC_COMP_TAB 20031006
2 Importing EXPAND_ON Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE 20031006
3 Importing XTYP Call by reference Type reference (TYPE) XTYPE_TYPE 20031006

Method XTYP_TO_STRUC_DESC on class CL_ABAP_STRUCTDESCR has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in