Hello,
I have a specific scenario here.. Just by reading the title, it may seem simple that we can specify the default values on the HANA View input parameters. But, I am talking about little complicated scenario here.
It would be really nice if someone can help here.
I have one calculation View X1 which has one input parameter as KeyDate (It is defaulted to today's date).
Now, I need to consume this calculation view in another calculation view Y1. But I do not need KeyDate input parameter in View Y1. Instead, I would like to pass the some default value (like yesterday's date) to the input parameter of X1.
So, it is like,
Y1 ----> No Input parameters
|
|
|
|____ X1 -> KeyDate Input Parameter (Pass yesterday's date while calling from Y1 View)
Let me know if it is possible. If yes, how will it be possible?
One may think that I could default the Yesterday's date with expression on X1 View directly. But, remember that this X1 view being used multiple places and depending on the requirement, it should use different default date at different places. So, by changing the dafault value on X1 View may not help.
Another option could be, create copies of X1 view and default different values in each one based on the requriement and then use it in Y View. But, by doing that, we end up maintaining different HANA Views and will create redundancy.
So, let me know if any other option to get to this solution.
-Bhavik