cancel
Showing results for 
Search instead for 
Did you mean: 

System variables

former_member1038687
Active Participant
0 Kudos

Hi friends.

I'm trying to add calculated column in a projection with current year. In Hana I have system variables like sy-datum in abap for example?

Thanks for any help.

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos

You could go with the now() function for the current date and extract the YEAR component for this.

Depending on what you actually want to achieve, it might be better though to pass the year in as an input parameter.

- Lars

former_member1038687
Active Participant
0 Kudos

Thanks for the help! Maybe is better use input parameter instead!

Answers (0)