Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Input Parameters in Scripted Calculation Views

$
0
0

Hi All!

 

Why are input parameters restricted in scripted calculation views? I mean the following:

 

1) Mandatory: They must be mandatory.

2) Single Values: No multiple values are possible.

3) Default values

 

1) and 3) are possible with graphical calculation views.

 

My major problem concerns 1): I offer several input parameters but the application does not require that all of them are always provided with input values. In the SQL script I use them in where-conditions of select statements.

 

How can I handle it best, when the value shall not be filled? I already thought about passing a default value like X, if one would like to enter nothing. Then do an if - else branch to decide whether there is an X and if yes write a select statement without that input parameter. This sounds clumsy and does not work anyway.

 

So who has an idea?

 

Thanks,

Ingo


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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