Hello all,
I found the post (link below) that is similar to what I want to do but instead of the dimension itself, i would like to do the attibute. Since I am using BPC data, this is also the property of the Dimension (if anyone has previous experience).
Previous link: http://scn.sap.com/thread/3441939
What I am trying to do:
I have a dimension filter that changes my crosstab selections [DS_1] based on an INDICATOR(key). For example, I will select M1 in my Filter and then my crosstab and chart will display the data for M1. I am trying to display in a textbox a property (or attribute [UOFM]) for my dimension [INDICATOR].
My crosstab is made of the following:
Indicator measure by Time and Version (actual and target). I am trying to get the unit of measure [UOFM] of the selected indicator in a textbox. This unit of measure is an attribute of my Performance Indicator. Since I am using BPC data, it can also be a stand alone dimension. However, it is important to note that my filter is applied solely on the INDICATOR.
Based on the previous steps in the link, some logic I have right now:
On Startup:
DROPDOWN_1.setItems(DS_1.getMemberList("UOFM", MemberPresentation.internal_key,memberdisplay.key,10));
This works perfectly fine. It is now populated with the 4 units of measure I will need for my textbox.
The next step is where I get stuck. My dropdown doesn't seem to want to change based on the selection made in the crosstab, it always stays on the first one.
On event for Crosstab:
DROPDOWN_1.setSelectedValue(CROSSTAB_1.getSelectedMember("UOFM", internalkey);
And then of course, to populate the text:
TEXT_1.setText(DROPDOWN_1.getSelectedValue);
Any idea on how I can alter the second line of code to get the dropdown to change for it to pick up the UofM - the attribute - of the Filtered Indicators?
Thanks so much for your time,
Nikki