Hi,
My requirement is: I want to check certain date from my projection list is less than today's system date in my CDS where clause.
I am using a case and deriving a date field. Now I want to check whether this calculated date field is less than today's system date.
Regards,
Vinayak
Up to Release 7.50, there is no session variable for the system date in ABAP CDS. This will only come with an upcoming release (7.51). Before 7.51, you can use a parameter for that. See the discussion Current date in ABAP CDS views | SCN. If you are working on 7.51 already, use $session.system_date.
Add a comment