CL_ABAP_CLASSDESCR - Run Time Type Services
RFUMSV00 - Advance Return for Tax on Sales/Purchases rdisp/max_wprun_time - Maximum work process run timeDiese Dokumentation steht unter dem Copyright der SAP AG.
Funktionalität
Diese finale Klasse dient zum Beschreiben von Klassen. Es gibt für jede Klasse genau ein Typobjekt.
Beziehungen
CL_ABAP_TYPEDESCR
|
|--CL_ABAP_DATADESCR
| |
| |--CL_ABAP_ELEMDESCR
| |--CL_ABAP_REFDESCR
| |--CL_ABAP_COMPLEXDESCR
| |
| |--CL_ABAP_STRUCTDESCR
| |--CL_ABAP_TABLEDESCR
|
|--CL_ABAP_OBJECTDESCR
|
|--CL_ABAP_CLASSDESCR
|--CL_ABAP_INTFDESCR
Beispiel
REPORT typedescr_test.
CLASS c01 DEFINITION.
PUBLIC SECTION.
DATA:
my_float type f,
my_int type i.
ENDCLASS.
DATA:
descr_ref_class TYPE REF TO cl_abap_classdescr,
descr_ref_attr TYPE REF TO cl_abap_typedescr.
FIELD-SYMBOLS:
START-OF-SELECTION.
descr_ref_class ?= cl_abap_typedescr=>describe_by_name( 'C01' ).
WRITE: / 'Class', descr_ref_class->absolute_name,
'has following attribute definitions:'.
LOOP AT descr_ref_class->attributes ASSIGNING
descr_ref_attr ?=
descr_ref_class->get_attribute_type(
WRITE: /
descr_ref_attr->absolute_name.
ENDLOOP.
Hinweise
Keine
Weiterführende Informationen
Klassen:
CL_ABAP_DATADESCR
CL_ABAP_COMPLEXDESRC
CL_ABAP_OBJECTDESCR
CL_ABAP_TYPEDESCR
CL_ABAP_REFDESCR
CL_ABAP_STRUCTDESCR
CL_ABAP_TABLEDESCR
CL_ABAP_ELEMDESCR
CL_ABAP_INTFDESCR
CPI1466 during Backup General Data in Customer Master
Diese Dokumentation steht unter dem Copyright der SAP AG.
Length: 1720 Date: 20120527 Time: 082816 triton ( 55 ms )






