Show TOC

Including Components from Existing StructuresLocate this document in the navigation structure

Syntax Form
[group :] INCLUDE structure | database table | view 
          [WITH SUFFIX suffix] [component_extensions];
Definition

Components of a structure can be defined by including the components of other structures in ABAP Dictionary, including database tables or views. The name of the include structure thus follows after the INCLUDE keyword.

Notes

Optionally, you can add:

  • a group to address the whole include structure like a component inside of an ABAP program
  • a suffix to resolve name conflicts with other components of the structure by using the WITH SUFFIX keywords, followed by a suffix of up to three characters that is added to the included components
  • component extensions to add/overrule value help or foreign key assignments to/of components from the include structure

Example

The employee structure includes all components of the following structures:

  • org_data
  • address as the group office_address with the suffix off
  • address as the group private_address with the suffix pri
...
  INCLUDE org_data;
  office_address  : INCLUDE address WITH SUFFIX off;
  private_address : INCLUDE address WITH SUFFIX pri;
...