Hi All,
I have a requirement wherein I have to slice the data set into 3 separate data sets i.e Current Year Data, Current Year -1Data and Current Year -2Data based on Current Year but then the user will not be providing any i/p parameter or variable from the query and there is no current year in the table on which I have created this cal view.
I have only a fiscal year.
Below is what I have tried and think:
1. In normal BW system you can always get your current year/date from sys-datum using an ABAP routine or code so is there any such field in HANA?
2. I have used a filter expression in my cal view on the fiscyear column of my cal view i.e addyears(FISCYEAR,-1) and addyears(FISCYEAR,-2) but this is not working
3. will it help if I join a time dimension table to my table in the cal view to get the current year? if yes, how will I filter this year dynamically.
appreciate if you can provider any thoughts..
PS : My source is BW
Kind Regards,
Ashwin.