
Dictionary structures can be used as data types in the ABAP dictionary.
The structure on the left-hand side of our example consists of five components. The first four components reference various data elements. The last component is typed with predefined dictionary type CHAR, directly.
The ABAP code on the right-hand side defines exactly the same structure type using the TYPES statement. This code could be located in a method, in the definition part of a class, or in an interface. The first four components use the same data elements as the components in the dictionary structure. The last component uses built-in ABAP type C.
Apart from the extensibility and the label, the two structures are fully compatible.

