Professional Documents
Culture Documents
You can define data objects in a program using the DATA statement. As shown in the figure,
the name of the data object is followed by a TYPE addition. The type is linked to the data
object statically and cannot be changed at runtime.
Other syntax variants are available (for legacy reasons). Some of these legacy variants are no
longer supported within classes.
The ABAP runtime environment provides predefined data types. Incomplete types (C,
N, P, and X) and complete types (I, F, D, T, STRING, XSTRING, DECFLOAT16,
and DECFLOAT34) are differentiated depending on whether the system requires an
additional length specification when you declare the corresponding data objects.
Global data types refer to predefined Dictionary types, which largely correspond to
the predefined ABAP types.