cancel
Showing results for 
Search instead for 
Did you mean: 

Design Studio 1.6 ignores Filter Member and changing Prompts

Former Member
0 Kudos

Hi All,

It seems my Design Studio lives its own life.

So, I have DS 16.0.5, Analysis for Office 2.2 SP1, SAP BW 7.31 SP16, BI Platform 4.2 SP1

BEx has a simple BW Query, Controlling Area (CA), Cost Center (CC), Cost Element (CE), Year (Y), Month (M) and Amount (A). CA, CC and Y are variables, CA and Y single-value and mandatory, CC selection option and optional.

First I have built Workbook with 3 tabs in Analysis based on that BEx Query, CA and Y are the same for all 3 tabs, CC not: 1001, 1002, 1003, 1004 for the first and second, 1003, 1004, 1005, 1006 for the third. No issues, everything looks fine. Then I have clicked the Create Web Application button, log on to my BI Platform and all three tabs are exported to DS.

Now the strange

1.1. All my tables in all three tabs have CC 1001, 1002, 1003, 1004 already in DS.

1.2. Click Edit Initial View for the Data Source 3. CC is 1001, 1002, 1003, 1004. I change it manually with Filter by InputString for 1003, 1004, 1005, 1006, preview shows everything correct. OK + create new crosstab. Nothing changes, it is still wrong.

1.3. Go to Show Prompts. CA and Y are OK, and CC is 1001, 1002, 1003, 1004. Reset them, click OK. Now I see all CC values in all three tabs

1.4. Edit Initial View for the Data Source 1. Change CC manually with Filter by InputString for 1001, 1002, 1003, 1004, preview shows everything correct. But neither OK nor  OK + create new crosstab gives me the correct result, I still see all members.

2.1. I decide to change DS prompt CC for 1003, 1004, 1005, 1006. Of course, all my three tabs are showing 1003, 1004, 1005, 1006 now as well as Data Sources.

2.2. Save, click Execute locally, Browser IE11 is opened, I go to tab three and... I see that CC is 1001, 1002, 1003, 1004!!!

2.3. Check DS, close it, close browser, open and click Execute locally. Again, CC is 1001, 1002, 1003, 1004 in Browser but 1003, 1004, 1005, 1006 in DS

2.4. Copy link and open it FF browser. Again, CC is 1001, 1002, 1003, 1004.

3.1. I go to Analysis once again, check Workbook, click Create Web Application and receive again the same as in Step 1.1

What is happening?!

Thanks and Regards,

Ekaterina

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ekaterina,

can you try unmerging the prompts on the application level.

thanks

Former Member
0 Kudos

Hi Naveen,

Thanks, seems it is almost working. Great!

But now my application asks me to fill in mandatory variables for data source 3, though I have filled in them and saved. I see a prompt screen with 9 prompts, 3 for each tab, for tab 1 and 2 everything is filled in, on tab 3 only optional CE is filled in, CA and Y are empty.

Also when I open Edit initial view... those prompts are not saved for DS3. For DS1 and DS2 - ok.

How can I solve it?

Regards,

Ekaterina

Former Member
0 Kudos

Hi Ekaterina,

Instead of using APPLICATION.setVariableValue() for the prompts, can you try using

DS_1.setVariableValueExt()

DS_2.setVariableValueExt()

DS_3.setVariableValueExt() so on to set the values for the variables of each data source, in the onstartup of the application


thanks.

Former Member
0 Kudos

Please set Merge Prompts = "False" and pass the variable to DS_3 in "On variable initialization" script.

DS_3.setVariableValueExt("VARIABLE_NAME", Params);

By doing this, you would not see the prompt screen during execution.

Thanks,

Anand

Former Member
0 Kudos

Hi Naveen,

This is what I do, but it seems to be workaround, setting a fake prompt value in "On variable initialization" and re-defining in "On before prompts submit" with a script.

I already have 2 of 3 Data sources, where prompts are saved, and try to find out why I don't receive the same for the third.

Regards,

Ekaterina

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ekaterina,

Are you using .SetVariableValue function to amend the prompts values? (during Runtime)

If so, please read:

Regards,

Bogdan

Former Member
0 Kudos

Hi Bogdan,

No, I do not use any functions, and my data source is BEx, not universe.

Regards,

Ekaterina

Former Member
0 Kudos

This message was moderated.