We've just upgraded our HANA from version 82 to version 11.
Whenever we try to preview data in the new HANA Studio on a scripted calculation view we receive the following error.
Error executing the query
Error: SAP DBTech JDBC: [2048]: column store error: search table error: [34023] Instantiation of calculation model failed;exception 306106: Undefined variable: $$IN_MULTI$$. Variable is marked as required but not set in the query
If we preview the same view in the older version of HANA Studio, it will still return correctly even though the database itself was upgraded. We are also receiving errors when trying to access the view through an Information Design Tool (IDT)-generated universe (.unx) in our BO 4.0 environment.
We did also create a brand new view with two parameters, and it had the same behavior (although it worked fine with only one parameter).
The script for the view is like the below.
/********* Begin Procedure Script ************/
BEGIN
var_out = select PROV_NAME, LOCATION, REGION, count(log_id) as LOG_COUNT
from "_SYS_BIC"."PackageJamie/AN_JamieTest"
where location = :IN_LOCATION
AND region = :IN_REGION
GROUP BY PROV_NAME, LOCATION, REGION;
END /********* End Procedure Script ************/
Any help you gurus/ninjas/swamis/shaman can provide would be much appreciated.