sapdev logo background
sapdev logo sapdev logo
Comments

ABAP TYPES DATA BOXED Statement syntax, information and example SAP source code



Return to Statement index


INCLUDE
A structured data type must be specified for struc_type . This can be a local program structured type, a visible structured type of a class or a global interface, or a structure from the ABAP Dictionary, and can contain static boxes.
Static boxes support initial value sharing . The structure is not saved in the higher-level context itself. Instead, an internal reference that points to the actual structure is stored in place of the component. A static box is therefore a deep component.
Latest notes: A structure with a static box is a deep structure and the corresponding restrictions apply.

The BOXED addition defines the static box with reference to its context (structure or class). A data type that is declared by a direct TYPE or LIKE reference to a static box is assigned its data type but is not a static box.

When a static box is copied from one structure to another structure using the INCLUDE TYPE|STRUCTURE statement, its static box attribute is also copied.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




TYPES_BOXED
TYPES_IMPLICIT




comments powered by Disqus