Declaring Data Objects
A data object is an instance of a data type and occupies as much memory space as its type specifies.
An ABAP program only works with data that is available as content of data objects. Data objects are either created implicitly in their declaration as
named data objects or explicitly as
anonymous data objects using
In addition to named and anonymous data objects, data objects can also be defined as literals in the source code of a program.
- Declaration of variables and constants in every context:
- Declaration of static attributes in classes:
- Declaration of static variables in procedures:
- Declaration of interface work areas: