ABAP Keyword Documentation → ABAP - Reference → Predefined types, data objects, and functions → Predefined Data Types
Predefined ABAP Types
The following types are predefined in every ABAP program:
All predefined ABAP types from these tables are elementary and are included in the generic type
simple
. Apart from the types
b
and s
, the predefined ABAP types can also be used to define your own
data types and
data objects and for typing.
Besides the predefined ABAP types, there is a global predefined data type cursor
,
which currently has the same meaning as the predefined ABAP type i
. This is required for the declaration of a cursor variable for
database cursor handling.
Other versions: 7.31 | 7.40 | 7.54
Notes
- If you do not specify a start value when creating a data object with one of the predefined ABAP types, the start value is set to the initial value specified for the relevant type.
- The predefined 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 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).