..1 Context
On the top level, Lets create two nested structure (HEADER и FOOTER) and one nested table (POSITIONS) :
Nested structure HEADER will be referred by the dictionary type ZCONTEXT_HEADER; Nested structure FOOTER will be referred by the dictionary type ZCONTEXT_FOOTER. The dictionary types of the structures has to be also created in the ABAP-dictionary. These structures, in turn, consist of simple fields that have predefined elementary ABAP-type:
Nested table POSITIONS will be referred by the dictionary table type ZCONTEXT_POSITIONS, which based on the row type (structure) ZCONTEXT_POSITION. This structure, in turn, consists of simple fields that have predefined elementary ABAP-type:
Entire context in a hierarchical representation:
Entire context in a hierarchical representation: