SAP NEWS-46-INCLUDES

Get Example source ABAP code based on a different SAP table
  



Named Includes in Release 4.6A

ABAP Code Snippet ABAP Code Snippet that symbolic accesses to groups of fields in structures are possible.

Variants: The addition AS name causes the components of a type or ABAP Code Snippet 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.