ABAP Keyword Documentation → ABAP - Quick Reference
DATA BEGIN OF - Quick reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
DATA BEGIN OF struc [READ-ONLY] [OCCURS n].
...
INCLUDE ...
...
DATA END OF struc [VALID BETWEEN intlim1 AND intlim2].
Effect
Declares a data object or instance attribute struc
. This variant of the statement
DATA
creates a structure whose components can be declared using any
DATA statements or adopted from other structures using INCLUDE
.
Additions
-
READ-ONLY
Protects a non-private structure against writes from outside its own class. -
OCCURS n
Obsolete: Creates an internal table with a structured row type, standard key, a header line, and initial memory requirementn
. -
VALID BETWEEN intlim1 AND intlim2
Obsolete: Defines the columnsintlim1
and intlim2 in an internal table, created usingOCCURS
, as interval limits for the obsolete short form ofPROVIDE
.