Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Calc view with multiple input params error

$
0
0

this same issue is happening when i call it from SQL Console.

 

My query:

 

 

select * from myCalView ( 'PLACEHOLDER' = ('$$i_matnr$$', '000000000000001182'),

'PLACEHOLDER' = ('$$i_location$$', '''D012'',''D005'''))

 

 

The error is:

Could not execute 'SELECT *, ...' in 11 ms 81 µs .

SAP DBTech JDBC: [2048]: column store error: search table error:  [6968] Evaluator: syntax error in expression string;expected TK_RPAREN,parsing "in (\"MATNR\",'000000000000001182') AND in (\"WERKS\",''[here]D012','D005'')"

 

Why does the [here]  show on the error.. I am not sure where that is coming from.

 

the funny thing is that if i pass a single value, then i get a result back..

 

in my calc view i have a filter expression that looks like this:

 

in ("VWERK",'$$i_location$$')

and

in ("MATNR",'$$i_matnr$$')

 

 

 

 


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>