In ABAP we have to distinguish between types and objects. While types are simple descriptions that do not use storage, objects are instances of types using storage. A type specifies the technical properties of all objects of that type.
The ABAP types make up the ABAP type hierarchy:
Types ---- Data types ---- Elementary ---- Fixed
length--- C
|
|
| |-- N
| |
| |-- D
| |
| |-- T
| |
| |
| |
| |-- X
| |
| |
| |
| |-- P
| |
| |-- I
| |
| |-- F
| |
|
|
|
|-- Var. length--- STRING
| |
|-- XSTRING
|
|-- Reference
types
| |
| |--
Complex ---- Structured
|
|--
Table type
|
|-- Object
types --- Classes
|-- Interfaces
We basically distinguish between data types and object types.
The hierarchy of the ABAP objects reflects the ABAP type hierarchy:
Instances ---- Data objects ---- Elementary ---- Static
---- C
|
| |
|-- N
|
| |
|-- D
|
| |
|-- T
|
| |
|
|
| |
|-- X
|
| |
|
|
| |
|-- P
|
| |
|-- I
|
| |
|-- F
|
| |
| |
|-- Dynamic ---- STRING
| |
|-- XSTRING
| |--
Reference variables
|
|
|
|-- Complex ---- Structures
|
|-- Internal tables
|
|-- Objects
Objects as instances of ABAP types are divided into the following two categories: