SAP CL UTCLONG READ ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

Read Time Stamp from String
This example demonstrates the method READ of the system class CL_ABAP_UTCLONG.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
On a selection screen, a time stamp is specified in a string whose content can be modified in any way. A date format and a time format can be selected as well.
When Execute is chosen, the method READ of the system class CL_ABAP_UTCLONG is used to read the string as a time stamp. If the read raises an exception, this is shown using a message.