We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
TYPES BEGIN OF struc_type.
...
TYPES comp ...
TYPES comp TYPE struc_type BOXED.
INCLUDE TYPE$|STRUCTURE ...
...
TYPES END OF struc_type.
Definition of a structured type struc_type. This is introduced using a TYPES statement with the addition BEGIN OF and must end with a TYPES statement with the addition END OF.
The following can be included between these TYPES statements:
Structured types must not be created without at least one component.
The TYPES statements within the statements BEGIN OF and END OF define the components of the structured type struc_type. If a component is a structured type or if a new structured type is defined within a structure using BEGIN OF and END OF, substructures are created. A structure with substructures is a nested structure.
A component of struc_type cannot be declared with reference to struc_type itself. If the name struc_type is specified after TYPE in the declaration of a component, a search is performed for the next type with this name in a higher visibility section, and used if found. If there is no other global type of this name, a syntax error occurs.
If a component is created as a table type, it must not be generic. The name of a component cannot be the reserved name of the pseudo component table_line.
The statement INCLUDE defines components of the structured type struc_type by copying the components of a differently structured type or an existing structure at the same level.
The components of a structured type are addressed using the name struc_type and the name of the component, separated by the structure component selector (-).
This example defines two structured types, street_type and address_type. address_type
contains structured types as components. The definition of zipcode_type shows the access to substructures.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki