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)
⤷ 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 | ABAP | 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 | ABSOLUTE_NAME | Instance attribute | Public | Type reference (TYPE) | ABAP_ABSTYPENAME | Absolute type name | 19981023 | ||
2 | ADMIN_TAB | Static Attribute | Protected | See coding | - | 19981023 | |||
3 | ADMIN_TAB_LINE | Static Attribute | Protected | See coding | - | 19981027 | |||
4 | DD_X031L_TABLE_CACHE | Instance attribute | Private | Object reference (TYPE REF TO) | DD_X031L_TABLE | - | 20020403 | ||
5 | DECIMALS | Instance attribute | Public | Type reference (TYPE) | I | Decimals with type P | 19981023 | ||
6 | FALSE | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Incorrect value | 19981110 | |
7 | KIND | Instance attribute | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | Type Category (See Constants KIND_xxx) | 20030918 | ||
8 | KIND_CLASS | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'C' | Class | 20030918 | |
9 | KIND_ELEM | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'E' | Elementary Type | 20030918 | |
10 | KIND_INTF | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'I' | Interface | 20030918 | |
11 | KIND_REF | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'R' | Reference type | 20030918 | |
12 | KIND_STRUCT | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'S' | Structured Type | 20030929 | |
13 | KIND_TABLE | Constant | Public | Type reference (TYPE) | ABAP_TYPECATEGORY | 'T' | Table Type | 20030918 | |
14 | LENGTH | Instance attribute | Public | Type reference (TYPE) | I | Internal length | 19981023 | ||
15 | ME_XTYPE | Instance attribute | Protected | Type reference (TYPE) | XTYPE_TYPE | - | 19981027 | ||
16 | RETURNING_REF | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | - | 19981023 | ||
17 | TRUE | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Correct value | 19981110 | |
18 | TYPEKIND_ANY | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '~' | Internal Type (Data Object or Object) | 19981026 | |
19 | TYPEKIND_BREF | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'j' | Internal Type for Boxed Components/Attributes | 20070524 | |
20 | TYPEKIND_CHAR | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'C' | Internal type C | 19981023 | |
21 | TYPEKIND_CLASS | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '*' | Internal Type (Class) | 19981023 | |
22 | TYPEKIND_CLIKE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '&' | Internal Type (Data Object) | 20010116 | |
23 | TYPEKIND_CSEQUENCE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '?' | Internal Type (Data Object) | 20010116 | |
24 | TYPEKIND_DATA | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '#' | Internal Type (Data Object) | 20001110 | |
25 | TYPEKIND_DATE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'D' | Internal type D | 19981023 | |
26 | TYPEKIND_DECFLOAT | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '/' | Internal Type (Generic Decimal Floating Point Type) | 20070118 | |
27 | TYPEKIND_DECFLOAT16 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'a' | Internal Type a (Decimal Floating Point, 16 Decimal Places) | 20060111 | |
28 | TYPEKIND_DECFLOAT34 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'e' | Internal Type e (Decimal Floating Point, 34 Decimal Places) | 20060111 | |
29 | TYPEKIND_DREF | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'l' | Internal Type l (Data Object Reference) | 19990219 | |
30 | TYPEKIND_FLOAT | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'F' | Internal type F | 19981023 | |
31 | TYPEKIND_HEX | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'X' | Internal type X | 19981023 | |
32 | TYPEKIND_INT | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'I' | Internal type I | 19981023 | |
33 | TYPEKIND_INT1 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'b' | Internal Type b (1 Byte Integer) | 19981023 | |
34 | TYPEKIND_INT2 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 's' | Internal Type s (2 Byte Integer) | 19981023 | |
35 | TYPEKIND_INTF | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '+' | Internal Type (Interface) | 19981023 | |
36 | TYPEKIND_IREF | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'm' | Internal Type m (Instance Reference) | 19981221 | |
37 | TYPEKIND_NUM | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'N' | Internal type N | 19981023 | |
38 | TYPEKIND_NUMERIC | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '%' | Internal Type (Data Object) | 20010116 | |
39 | TYPEKIND_OREF | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'r' | Internal type r (object reference) | 19981023 | |
40 | TYPEKIND_PACKED | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'P' | Internal type P | 19981023 | |
41 | TYPEKIND_SIMPLE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '$' | Internal Type (Data Object) | 20010116 | |
42 | TYPEKIND_STRING | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'g' | Internal type g (character string) | 19981221 | |
43 | TYPEKIND_STRUCT1 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'u' | Internal type u (flat structure) | 19981023 | |
44 | TYPEKIND_STRUCT2 | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'v' | Internal type v (deep structure) | 19981023 | |
45 | TYPEKIND_TABLE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'h' | Internal Type h (Internal Table) | 19981027 | |
46 | TYPEKIND_TIME | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'T' | Internal type T | 19981023 | |
47 | TYPEKIND_W | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'w' | Internal type w (wide character) | 19981023 | |
48 | TYPEKIND_XSEQUENCE | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | '!' | Internal Type (Data Object) | 20010116 | |
49 | TYPEKIND_XSTRING | Constant | Public | Type reference (TYPE) | ABAP_TYPEKIND | 'y' | Internal type y (byte string) | 19981023 | |
50 | TYPEPROPKIND_DBMAXLEN | Constant | Public | Type reference (TYPE) | ABAP_TYPEPROPKIND | 'D' | Property DBMAXLEN | 20010108 | |
51 | TYPEPROPKIND_HASCLIENT | Constant | Public | Type reference (TYPE) | ABAP_TYPEPROPKIND | 'C' | Has Structure Client Field | 20020926 | |
52 | TYPE_KIND | Instance attribute | Public | Type reference (TYPE) | ABAP_TYPEKIND | Internal ABAP type | 19981023 | ||
53 | UNDEFINED | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | Value unknown | 19981110 | |
54 | X030L_CACHE | Instance attribute | Private | Boxed Components (TYPE ... BOXED) | X030L | - | 20020403 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | - | 20030708 |
2 | DESCRIBE_BY_DATA | Static method | Public | Method | Description of data object type | 19981221 |
3 | DESCRIBE_BY_DATA_REF | Static method | Public | Method | Description of data object type using reference | 19990119 |
4 | DESCRIBE_BY_NAME | Static method | Public | Method | Description of object type using relative/absolute names | 19981029 |
5 | DESCRIBE_BY_OBJECT_REF | Static method | Public | Method | Description of object type using reference | 19981221 |
6 | GET_BY_XTYPE | Static method | Protected | Method | 20030915 | |
7 | GET_DDIC_HEADER | Instance method | Public | Method | Returns the Nametab Header of a Dictionary Type | 20020328 |
8 | GET_DDIC_OBJECT | Instance method | Public | Method | Returns the Nametab Object of a Dictionary Type | 20020328 |
9 | GET_PROPERTY | Instance method | Public | Method | Returns Special Information for Specified Types | 20010105 |
10 | GET_RELATIVE_NAME | Instance method | Public | Method | Returns the relative name of a type | 20020326 |
11 | HAS_PROPERTY | Instance method | Public | Method | Ascertains whether a type has a specific attribute | 20021009 |
12 | IS_DDIC_TYPE | Instance method | Public | Method | Returns ABAP_TRUE if it is a Dictionary type | 20020328 |
13 | IS_INSTANTIATABLE | 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 | Importing | P_DATA | Call by reference | Type reference (TYPE) | ANY | Feld | 19981221 | ||
2 | Returning | 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 | Importing | P_DATA_REF | Call by reference | Object reference (TYPE REF TO) | DATA | Referenz auf zu beschreibenes Datenobjekt | 19990203 | ||
2 | Returning | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19990119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | REFERENCE_IS_INITIAL | 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 | Returning | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19981221 | ||
2 | Importing | P_NAME | Call by reference | Type reference (TYPE) | ANY | Typename | 19981029 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | TYPE_NOT_FOUND | 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 | Returning | P_DESCR_REF | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Referenz auf Beschreibungsobjekt | 19981221 | ||
2 | Importing | P_OBJECT_REF | Call by reference | Object reference (TYPE REF TO) | OBJECT | Referenz auf zu beschreibenes Objekt | 19981221 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | REFERENCE_IS_INITIAL | 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 | Importing | P_KIND | Call by reference | Attribute reference (LIKE) | KIND | 20030915 | |||
2 | Returning | P_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | 20030915 | |||
3 | Importing | P_XTYPE | Call by reference | Type reference (TYPE) | XTYPE_TYPE | 20030915 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_UNKNOWN_TYPE | 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 | Returning | P_HEADER | Value transfer | Type reference (TYPE) | X030L | DDIC Header | 20020328 |
# | 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_DDIC_OBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | P_OBJECT | Value transfer | Type reference (TYPE) | DD_X031L_TABLE | DDIC Object | 20020328 |
# | 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_PROPERTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_PROPERTY_KIND | Call by reference | Type reference (TYPE) | ABAP_TYPEPROPKIND | Art des Properties | 20010111 | ||
2 | Returning | 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 | Returning | 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 | Returning | P_ABAP_BOOL | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag ob Property für Typ verfügbar ist | 20021009 | ||
2 | Importing | 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 | Returning | 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 | Returning | 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 |