SAP CONVERT UTC ABEXA
Get Example source ABAP code based on a different SAP table
VX_EXA_ONLY
Convert Time Stamp in Time Stamp Field
This example demonstrates the statements
ABAP_SOURCE_CODE
ABAP_DESCRIPTION
The program is given a date, a time, and a time zone and converts these specifications into a time stamp. The program can also include daylight saving time in its calculations. The resulting time stamp is then converted to the local date and local time of another time zone. The following table shows some possible combinations of input and output, where
The third and fifth lines demonstrate that invalid specifications for daylight saving time data raise an exception. The last two lines show how values behave at the limits of the value range. Line 7 produces an invalid time stamp and hence raises an exception. The maximum value in line 8, however, does not calculate a time shift and no exception is raised. If specified,