ABAP Keyword Documentation → ABAP − Reference → Built-In Types, Data Objects, Functions, and Constructors → Predefined Data Types
Built-In ABAP Types
The following types are predefined in every ABAP program:
All built-in ABAP types from these tables are elementary and are included in the generic type
simple
. Apart from the types
b
and s
, the built-in ABAP types can also be used to define separate
data types and
data objects and for typing.
Besides the built-in ABAP types, there is a global predefined data type cursor
,
which currently has the same meaning as the built-in ABAP type i
. This is required when declaring a cursor variable for
database cursor handling.
Other versions: 7.31 | 7.40 | 7.54
Notes
- If a start value is not specified when creating a data object with one of the built-in ABAP types, the start value is set to the initial value specified for the relevant type.
- The built-in data types
string
andxstring
describe data objects of variable length (dynamic data objects). While the length of data objects in all other elementary data types is determined for its whole lifetime, the length of text strings and byte strings varies according to their content (the maximum size of a string is determined by the profile parameter ztta/max_memreq_MB (see Maximum Size of Dynamic Data Objects)).