Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dropdown change displayed selection value

Hello all,

I have a strange issue and maybe someone of you could help me.

In one of my dashboard views I have a chart with a timeline and a dropdown with a start month.

So the user can set a start month in the dropdown. Next step, the select event set the variable in the (bex) data source to the selected value. This works fine.

Additional Information: To make sure the user can go back to the old value, dropdown an timeline use different queries (otherwise the variable would restrict my dropdown values, too).

The issue is, that after the variable set the displays value is wrong.

For example:

User select the 01.2015 from the dropdown menu. So the diagram restrict the values (because of the variable) to an interval from 01.2015 to current month. (Until here, everything is fine.) But then the dropdown switch the value to the first value of the dropdown list (without calling select event).

Has someone an idea how to display the correct selected value in the drop down or how to stop the second selection switch?

Regards

Severin

Tags:
replied

I have solved the issue. The issue occurs because of data binding. So I have removed the data binding and moved the item assignment into the script (DD.setItem).

Because of this, the DD will not refresh every time I change a variable and the selection works.

In addition: In this case of implementation, the DD.setSelectedValue() method works, too.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question