Named Includes in Release 4.6A
The statements INCLUDE STRUCTURE rec.
and INCLUDE TYPE type. were enhanced so
that symbolic accesses to groups of fields in structures are possible.
Variants:
The addition AS name causes the components of a type or
structure inserted with INCLUDE to be accessed as a whole under
the alias name .
The addition RENAMING WITH SUFFIX suff renames the component
names by appending the ID suff . The structure type can then be
included more than once.
Advantages:
Flat / structures and hierarchy views can
be defined simultaneously.
There are no problems in alignment
because the flat structure is automatically aligned so that it can carry
the hierarhic structure.
Flat and hierarchic views use the same storage space, so no exchange
between the different storage areas is necessary.
Existing structures can be extended compatibly and are completely
integrated in the ABAP Dictionary.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved