Building a universe in IDT on SAP HANA has been made much easier in BI4.1 (prompts are automatically exposed) so I assume you are on BI4.0…
In 4.0 you will need to create a Derived Table in the Data Foundation. You will create all objects on this derived table & not the base column view from SAP HANA
The derived table syntax will look like:
Select * from "_SYS_BIC"."package/TABLENAME" ('PLACEHOLDER' = ('$$INPUT_PARAMETER$$' ,'value'))
this will hard-code the value sent to the Input Parameter. if you want to pass the input parameter to the end user you need to build a Prompt (potentially with a List Of Values) in the Data Foundation
Once you have build the Prompt you can change the Derived Table definition like this:
Select * from "_SYS_BIC"."package/TABLENAME" ('PLACEHOLDER' = ('$$INPUT_PARAMETER$$' ,@Prompt(myPrompt)))
Hello Folks,
I having hard time finding the solution for what if I have two input parameters? how to handle in the universe(IDT)?
I did lot of research on the web and all the examples are related to one parameter.
I have following input parameters defined in HANA calc view:
Division
SalesOrg:
I tried to create derived table and using syntax :
SELECT *
FROM “_SYS_BIC”.“new/InvoiceTestQuery” (‘PLACEHOLDER’=(’$$Division$$’,@Prompt(Division)))
It is giving me error saying that SAP DBTech JDBC: [2048]: column store error: search table error: [34092] search on calculation model requires parameters;Required variable $$SalesOrg$$ is not set.
Basically it is looking for SalesOrg parameter.
How to resolve my issue. Any help would be appreciated.
Thanks
Remata
Hi All,
I am trying to pass a numeric prompt to users using placeholder through Derived table.
The syntax I am using is:-
select * from <view_name> (‘PLACEHOLDER’=(’$$name of the input parameter$$’,)).
In the above syntax for the prompt I have made a parameter which is number.When I try to pass that parameter in place of prompt definition in the above syntax it gives me error,but when i pass that parameter in single quotes the expression gets validated successfully.But I want to pass it as a numeric prompt and after defining the parameter as numeric how can it get validated when i pass it in single quotes.
Any help on this will be appreciated.
Thanks in advance.