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 | 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 | Instance attribute | Public | Type reference (TYPE) | ABAP_COMPDESCR_TAB | Table of components | 19981023 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | COMPONENT_TABLE | Cache for Component Table | 20030915 | |||
| 3 | Instance attribute | Private | See coding | Cache for GET_DDIC_FIELD_LIST | 20020403 | ||||
| 4 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | Structure Contains Includes | 20030915 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Do optimization kernel methods exist? | 20121227 | |||
| 6 | Constant | Public | Type reference (TYPE) | ABAP_STRUCTKIND | 'F' | Flat structure | 19981023 | ||
| 7 | Constant | Public | Type reference (TYPE) | ABAP_STRUCTKIND | 'M' | Structure is a mesh | 20130715 | ||
| 8 | Constant | Public | Type reference (TYPE) | ABAP_STRUCTKIND | 'N' | Nested structure | 19981023 | ||
| 9 | Instance attribute | Public | Type reference (TYPE) | ABAP_STRUCTKIND | Type of structure | 19981023 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Correctness Test of a Component Description Table | 20121227 | |
| 2 | Static method | Private | Method | Correctness Test of a Component Description Table | 20060714 | |
| 3 | Static method | Public | Constructor | - | 19981026 | |
| 4 | Static method | Public | Method | Factory Method for Structure Type Creation Without Reuse | 20030915 | |
| 5 | Static method | Private | Method | Create and cache XTYP for component table | 20121227 | |
| 6 | Static method | Protected | Event handling method | - | 19981026 | |
| 7 | Static method | Private | Method | Create XTYP for a Structure Description | 20031006 | |
| 8 | Static method | Public | Method | Factory Method for Creating Structure Description with Reuse | 20051125 | |
| 9 | Static method | Private | Method | Get XTYP from cache for component table | 20121227 | |
| 10 | Instance method | Public | Method | Returns Component Description Table of Structure | 20030915 | |
| 11 | Instance method | Private | Method | Returns Component Description Table of Structure | 20060816 | |
| 12 | Instance method | Public | Method | Navigation method structure -> Component | 19981102 | |
| 13 | Instance method | Public | Method | List of Dictionary Descriptions for all Components | 20020328 | |
| 14 | Instance method | Public | Method | Returns Included View of Component Description Table | 20030915 | |
| 15 | Instance method | Private | Method | Returns Included View of Component Description Table | 20060816 | |
| 16 | Instance method | Public | Method | 20030919 | ||
| 17 | Instance method | Private | Method | 20060816 | ||
| 18 | Static method | Private | Method | Return XTYP for a Structure Description | 20051123 | |
| 19 | Static method | Public | Method | - | 19981026 | |
| 20 | Static method | Private | Method | Calculates standardized component table | 20121227 | |
| 21 | 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 | P_COMPONENTS | Call by reference | Type reference (TYPE) | COMPONENT_TABLE | Komponentenbeschreibungstabelle | 20121227 | |||
| 2 | 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 | 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 | P_COMPONENTS | Call by reference | Type reference (TYPE) | COMPONENT_TABLE | Component Table | 20060714 | |||
| 2 | P_COMPTAB | Value transfer | Type reference (TYPE) | STRUC_COMP_TAB | Normalisierte Komponententabelle | 20060714 | |||
| 3 | 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 | 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 | P_COMPONENTS | Call by reference | Type reference (TYPE) | COMPONENT_TABLE | Komponententabelle | 20030915 | |||
| 2 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Strukturtyp-Objekt | 20030915 | |||
| 3 | P_STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | TRUE | Typerzeugung nach ABAP-OO Regeln? | 20031017 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | DESC | Call by reference | Type reference (TYPE) | STRUC_COMP_TAB | 20121227 | ||||
| 2 | STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121227 | ||||
| 3 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20121227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | DESC | Call by reference | Type reference (TYPE) | STRUC_COMP_TAB | 20031006 | ||||
| 2 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20031006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme beim Erzeugen eines Strukturtyps | 20031006 |
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_COMPONENTS | Call by reference | Type reference (TYPE) | COMPONENT_TABLE | Komponententabelle | 20051125 | |||
| 2 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Strukturtyp-Objekt | 20051125 | |||
| 3 | P_STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | TRUE | Typerzeugung nach ABAP-OO Regeln? | 20051125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | DESC | Call by reference | Type reference (TYPE) | STRUC_COMP_TAB | 20121227 | ||||
| 2 | STRICT | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20121227 | ||||
| 3 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20121227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | Beschreibungsobjekt | 19990204 | |||
| 2 | P_NAME | Call by reference | Type reference (TYPE) | ANY | Name der Komponente | 19981102 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Suchen der Komponente | 19981102 | ||
| 2 | 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 | P_FIELD_LIST | Value transfer | Type reference (TYPE) | DDFIELDS | Liste der DDIC-Beschreibung der Komponenten | 20020328 | |||
| 2 | P_INCLUDING_SUBSTRUCTRES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Liste auch für Unterstrukturen | 20030919 | ||
| 3 | P_LANGU | Value transfer | Type reference (TYPE) | SYST-LANGU | SY-LANGU | aktuelle Sprache | 20020404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Typ konnte nicht gefunden werden | 20020328 | ||
| 2 | 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 | P_LEVEL | Value transfer | Type reference (TYPE) | I | Level, bis zu dem INCLUDES aufgelöst werden sollen | 20030915 | |||
| 2 | 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 | P_LEVEL | Value transfer | Type reference (TYPE) | I | Level, bis zu dem INCLUDES aufgelöst werden sollen | 20060816 | |||
| 2 | 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 | 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 | 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 | DESC | Call by reference | Type reference (TYPE) | STRUC_COMP_TAB | 20051123 | ||||
| 2 | XTYP | Value transfer | Type reference (TYPE) | XTYPE_TYPE | 20051123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | P_COMPONENTS | Call by reference | Type reference (TYPE) | COMPONENT_TABLE | Komponentenbeschreibungstabelle | 20121227 | |||
| 2 | P_COMPTAB | Value transfer | Type reference (TYPE) | STRUC_COMP_TAB | Normalisierte Komponententabelle | 20121227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | DESC | Value transfer | Type reference (TYPE) | STRUC_COMP_TAB | 20031006 | ||||
| 2 | EXPAND_ON | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | 20031006 | |||
| 3 | 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 |