SAP DDIC INCLUDE STRUCTURE



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - Include Structures
Components of a structure can be defined by including the components of other DDIC structures, including DDIC database tables or DDIC views. These included structures are referred to as include structures or includes for short. From a technical perspective, the structure in which an include structure is included refers to the included structure and is modified accordingly whenever changes are made to the included structure. An include structure can itself contain include structures, with the maximum nesting depth being nine includes.
When an include structure is included, all of its components are added to the encompassing structure. No substructure is created, which means that the components are inserted as if they were specified individually at this position and they are handled like directly defined components. Regular components and include structures can be combined as required.
When a structure is included as an include structure, it can be assigned a group name and a three-character suffix.
In ABAP programs, the group name is an additional addressing option for data objects declared with reference to the structure. All components of the included structure form a component group and can be addressed together using this name or individual components can be addressed using the structure component selector ( -) after the name.
A suffix is added to each individual component's name to avoid naming conflicts. The original name of an include structure that is included in an encompassing structure must not exceed 27 characters.
Group names and suffixes are assigned in the same way as with the additions AS name $[RENAMING WITH SUFFIX suffix$] of the