Skip to Content
0
Feb 08, 2018 at 10:37 PM

get current year in ABAP CDS view

7082 Views Last edit Feb 09, 2018 at 04:53 AM 2 rev

Hello,

I need to get the revenue of the current year in my ABAP CDS view. I tried using the environment variables which provides me the entire date. Is there any feature in ABAP CDS where I can I simply get the year like I get lv_date+0(4) in ABAP ?

Thanks,

Kabir