Get Example source ABAP code based on a different SAP table
Data Types in ABAP Release 7.77 ITOC
ABAP_MODIFICATION_NN 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 types c> and string>, 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.