objects_statements

Get Example source ABAP code based on a different SAP table
  


ARTICLE

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 CREATE DATA or the instance operator NEW.
Data objects that are not declared using key words:
Literals are data objects that are declared in operand positions using literal source code.
Text symbols are character-like constant data objects that are declared outside the program.
Declaration of variables and constants in every context:
DATA
CONSTANTS
Declaration of static attributes in classes:
CLASS-DATA
Declaration of static variables in procedures:
STATICS
Declaration of interface work areas:
TABLES
NODES (obsolete)