Dear Experts,
I am facing an issue on HANA parameters handling at design studio level. I tried to search this scenario by text "Assigning user input to HANA variables on design studio". but I do not see any concrete help on this. Here is the scenario -
I have a Design studio dashboard v1.6 sourced from universe based on HANA view which has Input Parameters defined at HANA query view.
I have hard coded the input parameter "IP_FiscalPeriodFrom" and "IP_FiscalPeriodTo" in design studio on initialization and on startup as -
APPLICATION.setVariableValueExt("psHana Variable Models.QueryViews/APQuery/IP_FiscalPeriodFrom","001");
APPLICATION.setVariableValueExt("psHana Variable Models.QueryViews/APQuery/IP_FiscalPeriodTo","003");
Now the dashboard run fine if I run it for period from 001 to PeriodTo 003 via prompt window, but if I change the period say PeriodFrom 001 to PeriodTo 006 then its giving following error -
User can select any range so it should not be always dependent on hard coded values.
I given a try to trace this issue by using loop for DS_1.getVariables(); and it returns exactly the same variable names which are being paasesd in APPLICATION.setVariableValueExt() function.
Also i tried APPLICATION.setVariableValue(variable, value) and DS_1.setVariableValue(variable, value) or DS_1.setVariableValueExt(variable, value) but issue still exist.
Any suggestion to fix this issue.
Thanks & Regards,
Jiten