SAP ABAP Class CL_ABAP_TYPEDESCR (Runtime Type Services)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_RTTI (Package)
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ABAP_DATADESCR | Runtime Type Services | 19981023 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_ABAP_OBJECTDESCR | Runtime Type Services | 19981023 |
Properties
| Class | CL_ABAP_TYPEDESCR | |
| Short Description | Runtime Type Services | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_RTTI | |
| Created | 19981023 | 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) |
Interfaces
Class CL_ABAP_TYPEDESCR has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_ABAP_DATA_TYPE_HANDLE | 20121008 | Runtime Type Services | |
| 2 | CL_ABAP_REFDESCR | 20031222 | 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_ABSTYPENAME | Absolute type name | 19981023 | |||
| 2 | Static Attribute | Protected | See coding | - | 19981023 | ||||
| 3 | Static Attribute | Protected | See coding | - | 19981027 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | DD_X031L_TABLE | - | 20020403 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | I | Decimals with type P | 19981023 | |||
| 6 | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Incorrect value | 19981110 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | Type Category (See Constants KIND_xxx) | 20030918 | |||
| 8 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'C' | Class | 20030918 | ||
| 9 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'E' | Elementary Type | 20030918 | ||
| 10 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'I' | Interface | 20030918 | ||
| 11 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'R' | Reference type | 20030918 | ||
| 12 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'S' | Structured Type | 20030929 | ||
| 13 | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'T' | Table Type | 20030918 | ||
| 14 | Instance attribute | Public | Type reference (TYPE) | I | Internal length | 19981023 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | XTYPE_TYPE | - | 19981027 | |||
| 16 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | - | 19981023 | |||
| 17 | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Correct value | 19981110 | ||
| 18 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '~' | Internal Type (Data Object or Object) | 19981026 | ||
| 19 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'j' | Internal Type for Boxed Components/Attributes | 20070524 | ||
| 20 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'C' | Internal type C | 19981023 | ||
| 21 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '*' | Internal Type (Class) | 19981023 | ||
| 22 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '&' | Internal Type (Data Object) | 20010116 | ||
| 23 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '?' | Internal Type (Data Object) | 20010116 | ||
| 24 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '#' | Internal Type (Data Object) | 20001110 | ||
| 25 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'D' | Internal type D | 19981023 | ||
| 26 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '/' | Internal Type (Generic Decimal Floating Point Type) | 20070118 | ||
| 27 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'a' | Internal Type a (Decimal Floating Point, 16 Decimal Places) | 20060111 | ||
| 28 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'e' | Internal Type e (Decimal Floating Point, 34 Decimal Places) | 20060111 | ||
| 29 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'l' | Internal Type l (Data Object Reference) | 19990219 | ||
| 30 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'F' | Internal type F | 19981023 | ||
| 31 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'X' | Internal type X | 19981023 | ||
| 32 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'I' | Internal type I | 19981023 | ||
| 33 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'b' | Internal Type b (1 Byte Integer) | 19981023 | ||
| 34 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 's' | Internal Type s (2 Byte Integer) | 19981023 | ||
| 35 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '+' | Internal Type (Interface) | 19981023 | ||
| 36 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'm' | Internal Type m (Instance Reference) | 19981221 | ||
| 37 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'N' | Internal type N | 19981023 | ||
| 38 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '%' | Internal Type (Data Object) | 20010116 | ||
| 39 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'r' | Internal type r (object reference) | 19981023 | ||
| 40 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'P' | Internal type P | 19981023 | ||
| 41 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '$' | Internal Type (Data Object) | 20010116 | ||
| 42 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'g' | Internal type g (character string) | 19981221 | ||
| 43 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'u' | Internal type u (flat structure) | 19981023 | ||
| 44 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'v' | Internal type v (deep structure) | 19981023 | ||
| 45 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'h' | Internal Type h (Internal Table) | 19981027 | ||
| 46 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'T' | Internal type T | 19981023 | ||
| 47 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'w' | Internal type w (wide character) | 19981023 | ||
| 48 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '!' | Internal Type (Data Object) | 20010116 | ||
| 49 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'y' | Internal type y (byte string) | 19981023 | ||
| 50 | Constant | Public | Type reference (TYPE) | ABAP_TYPEPROPKIND | 'D' | Property DBMAXLEN | 20010108 | ||
| 51 | Constant | Public | Type reference (TYPE) | ABAP_TYPEPROPKIND | 'C' | Has Structure Client Field | 20020926 | ||
| 52 | Instance attribute | Public | Type reference (TYPE) | ABAP_TYPEKIND | Internal ABAP type | 19981023 | |||
| 53 | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Value unknown | 19981110 | ||
| 54 | Instance attribute | Private | Boxed Components (TYPE ... BOXED) | X030L | - | 20020403 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | - | 20030708 | |
| 2 | Static method | Public | Method | Description of data object type | 19981221 | |
| 3 | Static method | Public | Method | Description of data object type using reference | 19990119 | |
| 4 | Static method | Public | Method | Description of object type using relative/absolute names | 19981029 | |
| 5 | Static method | Public | Method | Description of object type using reference | 19981221 | |
| 6 | Static method | Protected | Method | 20030915 | ||
| 7 | Instance method | Public | Method | Returns the Nametab Header of a Dictionary Type | 20020328 | |
| 8 | Instance method | Public | Method | Returns the Nametab Object of a Dictionary Type | 20020328 | |
| 9 | Instance method | Public | Method | Returns Special Information for Specified Types | 20010105 | |
| 10 | Instance method | Public | Method | Returns the relative name of a type | 20020326 | |
| 11 | Instance method | Public | Method | Ascertains whether a type has a specific attribute | 20021009 | |
| 12 | Instance method | Public | Method | Returns ABAP_TRUE if it is a Dictionary type | 20020328 | |
| 13 | Instance method | Public | Method | Can Be Created of the Type (Data) Objects? | 20030926 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | CREATE_CLASSDESCR | Static Event (1) |
Protected (1) |
- | 19981023 |
| 2 | CREATE_ELEMDESCR | Static Event (1) |
Protected (1) |
- | 19981023 |
| 3 | CREATE_INTFDESCR | Static Event (1) |
Protected (1) |
- | 19981023 |
| 4 | CREATE_REFDESCR | Static Event (1) |
Protected (1) |
- | 19981216 |
| 5 | CREATE_STRUCTDESCR | Static Event (1) |
Protected (1) |
- | 19981023 |
| 6 | CREATE_TABLEDESCR | Static Event (1) |
Protected (1) |
- | 19981027 |
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | XTYPE_TYPE | Protected | See coding | XTYPE_TYPE | 20000920 | BEGIN OF XTYPE_TYPE,
I1 TYPE I,
I2 TYPE I,
END OF XTYPE_TYPE
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ABAP_TYPEDESCR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_TYPEDESCR has no exception.
Method DESCRIBE_BY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATA | Call by reference | Type reference (TYPE) | ANY | Feld | 19981221 | |||
| 2 | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19981221 |
Method DESCRIBE_BY_DATA on class CL_ABAP_TYPEDESCR has no exception.
Method DESCRIBE_BY_DATA_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DATA_REF | Call by reference | Object reference (TYPE REF TO) | DATA | Referenz auf zu beschreibenes Datenobjekt | 19990203 | |||
| 2 | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19990119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Refernz ist nicht gültig | 19990119 |
Method DESCRIBE_BY_NAME 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_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19981221 | |||
| 2 | P_NAME | Call by reference | Type reference (TYPE) | ANY | Typename | 19981029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Typ mit Namen p_name konnte nicht gefunden werden | 19981029 |
Method DESCRIBE_BY_OBJECT_REF 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_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19981221 | |||
| 2 | P_OBJECT_REF | Call by reference | Object reference (TYPE REF TO) | OBJECT | Referenz auf zu beschreibenes Objekt | 19981221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Referenz ist nicht gültig | 19981221 |
Method GET_BY_XTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_KIND | Call by reference | Attribute reference (LIKE) | KIND | 20030915 | ||||
| 2 | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | 20030915 | ||||
| 3 | P_XTYPE | Call by reference | Type reference (TYPE) | XTYPE_TYPE | 20030915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception für 'Typ nicht gefunden' | 20030915 |
Method GET_DDIC_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_HEADER | Value transfer | Type reference (TYPE) | X030L | DDIC Header | 20020328 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Typ konnte nicht gefunden werden | 20020328 | ||
| 2 | Typ ist kein DDIC Typ | 20020328 |
Method GET_DDIC_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_OBJECT | Value transfer | Type reference (TYPE) | DD_X031L_TABLE | DDIC Object | 20020328 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Typ konnte nicht gefunden werden | 20020328 | ||
| 2 | Typ ist kein DDIC Typ | 20020328 |
Method GET_PROPERTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_PROPERTY_KIND | Call by reference | Type reference (TYPE) | ABAP_TYPEPROPKIND | Art des Properties | 20010111 | |||
| 2 | P_VALUE | Value transfer | Object reference (TYPE REF TO) | DATA | Referenz auf Property-Wert | 20010111 |
Method GET_PROPERTY on class CL_ABAP_TYPEDESCR has no exception.
Method GET_RELATIVE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RELATIVE_NAME | Value transfer | Type reference (TYPE) | STRING | Relativer Typname | 20020403 |
Method GET_RELATIVE_NAME on class CL_ABAP_TYPEDESCR has no exception.
Method HAS_PROPERTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ABAP_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag ob Property für Typ verfügbar ist | 20021009 | |||
| 2 | P_PROPERTY_KIND | Call by reference | Type reference (TYPE) | ABAP_TYPEPROPKIND | Art des Properties | 20021009 |
Method HAS_PROPERTY on class CL_ABAP_TYPEDESCR has no exception.
Method IS_DDIC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ABAP_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Rückgabewert | 20020328 |
Method IS_DDIC_TYPE on class CL_ABAP_TYPEDESCR has no exception.
Method IS_INSTANTIATABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Rückgabewert | 20030926 |
Method IS_INSTANTIATABLE on class CL_ABAP_TYPEDESCR has no exception.
Event Signatures
Event CREATE_CLASSDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | xtyype | 19981027 |
Event CREATE_ELEMDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | XTYPE | 19981027 |
Event CREATE_INTFDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | XtTYPE | 19981027 |
Event CREATE_REFDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | XTYP | 19981216 |
Event CREATE_STRUCTDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | xtypde | 19981027 |
Event CREATE_TABLEDESCR Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XTYPE | Exporting | Value transfer | Type reference (TYPE) | XTYPE_TYPE | XTYPe | 19981027 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |