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

Data Types

Data types are a subtree of the ABAP type hierarchy. Data types are only type descriptions. Data types do not have any attached memory for storing working data, but they may require space for administration information. A data type characterizes the technical attributes of all data objects that have this type. In ABAP, data objects occur as attributes of data objects, but they can also be defined as standalone data types.

The definition of standalone data types is based on a set of built-in data types. Standalone data types can either be defined internally in the program using the statement TYPES in the global declaration part of a program, in the declaration part of a class, locally in procedures, or for all programs in the ABAP Dictionary. Data types in ABAP Dictionary are either created directly as repository objects or in a type group.

Built-in and self-defined data types can be used to create data objects and for typing. For the latter in particular, built-in generic data types are available. A generic data type is a data type that does not determine all attributes of a data object. Generic data types can only be used for typing formal parameters and field symbols.

Data types can be divided into elementary, reference, and complex types.