Skip to Content

Application Designer - Pass variable prompt values to story/app with BW Live Connection Model

Hi Folks,

we are starting with application designer and some BW queries. One requirement is to have a similar feature like the report-report-interface. The user wants to select a data cell in a table and then start via a button another report (story or application designer app) that calls another BW query and uses the data cell to fill in the prompt variables.

I know I can pass filter values to stories etc. but I need to set the variable in the BW live connection prompts.
Is something like this possible?

In the BEX web world we had been able to do this:
https://blogs.sap.com/2014/09/29/passing-filter-values-through-url-in-bex-wad/

Thanks in advance for all replies!

Best regards,

Axel

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 15, 2020 at 08:29 AM

    Hello Axel,

    What I understood from your post (correct me if I am wrong), you have a table which is created on top of a BW live query as a datasource. Once the user clicks on the cells of a table (i.e. on any dimensions, you need to open another popup with charts built on another BW live query and you need to pass the value of the cell to a variable of that query.

    If my understanding is correct. The below code may help you.

    Suppose in the table you have a cell 'Country'. On clicking on this cell you can open a popup with various charts built on a BW query which has Country as input parameter.

    in onSelect() for Table.

    V_COUNTRY (global variable) = Table_1.getSelections()[0]['Country'];

    (suppose in your popup i.e popup_1 you have a chart which is built on your second query)

    Chart_1.getDataSource().setVariableValue('VAR_COUNTRY',V_COUNTRY);

    popup_1.open();

    Hope this helps.

    Regards,

    Megh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2020 at 04:45 AM

    Hi Axel,

    You can also achieve this requirement by using NavigationUtils.openStory().

    Hope this helps.

    Regards,

    Megh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.