SAP HANA variables and parameters
Let's see SAP HANA basic
information on variables and parameters which for could be relevant for BI designers.
In SAP HANA it is possible to
define the results of a query on an information model at runtime by passing
values to the model.
There are two kinds of input
values which can be passed to a model: variables and parameters.
Both variables and parameters
will appear as prompts for the user running the query (or will be automatically
filled in by the application calling the HANA information model).
HANA variables
HANA variables are used to
filter the content of an information model. They don‟t impact the execution workflow of the information
model and are applied to a query to filter out some values.
Variables can be used to filter
attributes.
As an example, a variable can
be used to filter a result to a specific country or a specific customer.
In SQL, variables are applied
in the WHERE clause of the query.
HANA parameters
Parameters are used to
manipulate the execution of the information model.
Calculations performed by the
model will use the parameters as input values.
Examples of parameters are
currencies codes or dates when exchange rates have to be calculated.
Parameters might be compulsory
for the evaluation of the information model.
In SQL, parameters values are
passed via the PLACEHOLDER reserved word.
See also:
SAP HANA variable creation example
Universe on SAP HANA
See also:
SAP HANA variable creation example
Universe on SAP HANA
interesting blog. It would be great if you can provide more details about it. Thanks you
ReplyDeleteSAP HANA in London UK