Hi folks,
I have a Microstrategy query successfully passing input parameter to a calculation view. For example I can pass a movement type to a material movements calculation view input parameter. However if I try to pick more than one movement type the query then fails;
Generated SQL that works looks like this;
| select | sum(a11.TOTALQUANTITY) WJXBFS1 | ||
| from | "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER" | ||
| ('PLACEHOLDER' = ('$$MoveType$$', '101') | |||
| a11 |
When choosing more than one value in Microstrategy the SQL now fails and looks like this;
| select | sum(a11.TOTALQUANTITY) WJXBFS1 |
| from | "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER" |
| ('PLACEHOLDER' = ('$$MoveType$$', '101'), | |
| 'PLACEHOLDER' = ('$$MoveType$$', '103')) | |
| a11 |
If I cut and paste the SQL and run directly in HANA studio the error is;
Could not execute 'select sum(a11.TOTALQUANTITY) WJXBFS1 from "_SYS_BIC"."MyPackage/CA_TEST_PASS_PARAMETER" ...' in 66 ms 361 µs .
SAP DBTech JDBC: [2048]: column store error: search parameter error: [2018] A received argument has an invalid value;TABLE/VIEW parameter: ( 'PLACEHOLDER'='$$MoveType$$, 103') not supported
Is it possible to pass multiple values in a single parameter? I'm using SP67 for this test.
Thanks,
-Patrick