ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.54
Data Types in Release 7.54
1. New built-in ABAP type utclong
Other versions:
7.31 | 7.40 | 7.54
Modification 1
New Built-In ABAP Type utclong
The new built-in
time stamp type utclong
makes it possible to declare
time stamp fields. The new data type is taken into account in all relevant positions. Important points are:
- The associated data type in ABAP Dictionary was introduced with the name UTCLONG.
- The value range of the new data type are time stamps between "0001-01-01T00:00:00.0000000" and "9999-12-31T23:59:59.9999999” plus a special initial value.
-
In assignments and comparisons, the data type
utclong
can only be converted to the typesc
andstring
, and vice versa. In assignments, any attempt to perform another conversion raises an exception of the new class CX_SY_CONVERSION_NOT_SUPPORTED. -
Time stamp fields are formatted specially in
string templates or using the statement
WRITE TO
. -
There is a mapping rule for asXML.
Time stamp fields must meet an alignment requirement. Their memory address must be divisible by eight.