TAW_12 Chapter 11, Dynamic programming Flashcards
Fully generic types are
DATA and ANY
Generic type SIMPLE is for
Elementary data types or flat structures
There are two ways to type generic object refferences. What are they
Type ref to object
Type ref to data
The two numeric generic types are
DECFLOAT and NUMERIC
The two character like generics are
CLIKE and CSEQUENCE
The single generic hex type is
xsequence
What are the two variants of CASTING
If the type is defined FIELD-SYMBOLS TYPE mystruct. ASSIGN mydata to CASTING. If the field symbol is type ANY ASSIGN mydata to CASTING TYPE MYSTRUCT
What is the only statement which can dereference a generically typed reference variable
Assign fld1->* to
What is the superclass RTTI class hierarchy?
CL_ABAP_TYPEDESCR
How many classes are part of the RTTI Class hierarchy?
10 (4 of which are abstract)
There are two main subclasses under cl_bap_typedescr. Name them
cl_abap_datadescr
cl_abap_objectdescr
Under cl_abap_datadescr there are three subclasses. Name them
cl_abap_elemdescr
cl_abap_refdescr
cl_abap_complexdescr
Under cl_abap_complexdescr there are two subclasses. name them
cl_abap_structdescr
cl_abap_tabledescr
Under cl_abap_objectdescr there are two subclasses. name them.
cl_abap_classdescr
cl_abap_intfdescr
Name the 6 instanciable rtti classes
cl_abap_elemdescr cl_abap_refdescr cl_abap_structdescr cl_abap_tabledescr cl_abap_classdescr cl_abap_intfdescr