Get Example source ABAP code based on a different SAP table
ABAP_CDS_DDL - DDIC-Based View, Date Functions and Time Functions Date Functions and Time Functions> in a ABAP_CDS_V1_VIEW >:
Date Functions>
Time Functions>
Time Stamp Functions>
Time Zone Functions>
Date/Time Conversions>
Latest notes:
The session variable $session.system_date>> is used in a CDS view to provide direct access to the current system date.
There is not yet a session variable for the current system time and a CDS view can be given an appropriate input parameter> instead. The special annotation @Environment.systemField>> makes it possible to pass the value of the ABAP system field> sy-uzeit> to a parameter of this type. NON_V5_HINTS ABAP_HINT_END