Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Declarations →  Declaration Statements →  Data Types and Data Objects 

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:
  • Declaration of static attributes in classes:
  • Declaration of static variables in procedures:
  • Declaration of interface work areas:

Other versions: 7.31 | 7.40 | 7.54

Continue

Literals

Text Symbols

DATA

CONSTANTS

STATICS

TABLES