sy-datum→cl_abap_context_info=>get_system_date( ) · cl_abap_context_info=>get_system_time( )
System date and time
System fields for date and time aren’t allowed in ABAP Cloud. Use the context info class.
All objects · Expert note
Use cl_abap_context_info=>get_system_date( ), cl_abap_context_info=>get_system_time( ) instead.
System fields for date and time aren’t allowed in ABAP Cloud. Use the context info class.