Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

System variables

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.

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question