on 04-07-2014 5:06 PM
Dear experts,
I'm using a Web Template in BI 7.02 with a dropdown item with VARIABLE_SELECTION
<bi:DROPDOWN_ITEM name="DROPDOWN_ITEM_3" designheight="23" designwidth="200" >
<bi:DATA_BINDING_TYPE type="CHOICE" value="VARIABLE_SELECTION" >
<bi:VARIABLE_SELECTION type="COMPOSITE" >
<bi:VAR_NAME value="DPVDBRKST03" text="Kostenstelle" />
</bi:VARIABLE_SELECTION>
</bi:DATA_BINDING_TYPE>
</bi:DROPDOWN_ITEM>
The dropdown shows only characteristic key values but not the texts.
How can I populate teh dropdown with key + text?
Best regards
Gregor
I found a solution:
I changed the standard setting in the infoobject itself to key and text.
Now the variable dropdown shows key+text.
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor,
You have to select "Key and Text" in Display settings of the Char(for which you have created variable) in Query designer. Then your dropdown in WAD will show you both Key+Text.
Regards,
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So you mean to say you have selected key and text in query designer currently.
In WAD 7.0, you just need to select your Variable like below. No custom XML code is required.That's it. It will show Key and text as per the query settings. Close the web template and re-open the template and then execute it.
Hope you have maintained texts for this Char in RSD1 t-code.
Right, it was not checked in my first post. But I checked it before an now again.
The item is setup as
<bi:DROPDOWN_ITEM name="DROPDOWN_ITEM_3" designheight="100" designwidth="100" >
<bi:DATA_BINDING_TYPE type="CHOICE" value="VARIABLE_SELECTION" >
<bi:VARIABLE_SELECTION type="COMPOSITE" >
<bi:VAR_NAME value="DPVDBRKST03" text="Kostenstelle" />
<bi:LABEL_VISIBLE value="X" />
</bi:VARIABLE_SELECTION>
</bi:DATA_BINDING_TYPE>
<bi:TEXT_MAXLENGTH value="100" />
<bi:WIDTH value="100" />
<bi:HEIGHT value="100" />
</bi:DROPDOWN_ITEM>
and shows as
In opposite if I use a dropdown with type CHARACTERISTIC_SELECTION for the same infoobject it is correctly displayed as.
Gregor
Please check if you have maintained long text for that infoobject on which drop down box is created.
As far as i understand Label_Visible picks the long text so check the same.And at BEx level also select long text for that characteristic.
Give it a try and let me know if that works or not.
Regards,
AL
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.