ABAP - Types and Objects

In ABAP, we distinguish between types and objects. Types are purely descriptions, to which no memory is attached apart from administration information. Objects are instances of types and take up memory space. A type characterizes the technical properties of all objects of the relevant type.

The ABAP types form the ABAP type hierarchy, which is illustrated below:

The left side of the graphic shows the hierarchy of all types and objects: it shows which types are possible in ABAP, and the objects that can be generated from these types. The right-hand side lists the generic data types, which are assigned to individual nodes of the type hierarchy.

In principle, we distinguish between data types and object types.

The following sections summarize some important facts on data types and data objects. For more information on object types and objects, see ABAP Objects.