cancel
Showing results for 
Search instead for 
Did you mean: 

drop down by key

Former Member
0 Kudos

Hi

I am using dropdownbykey UI element in my WDA,

actually my doubt is while testing the application the dropdown box is displayed with a blank value as default and the values are displayed only if i press the button in the dropdown,

I want to make the drop down to display some value rather than a blank one initially.

Can anyone help me how to do???

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can do two things:

selecting a default value

or delete the initial line in the value set: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/27/c3c241fdc6c617e10000000a155106/frameset.htm">documentation</a>

get the valueset table, delete initial line and set it back

grtz,

Koen

Answers (1)

Answers (1)

former_member205703
Participant
0 Kudos

Hi tamilselvank ,

As you must have binded the <b>selectedKey</b> property of the DDK with context node attribute , In the <b>init</b> method of the view set this node attribute with the key value you want to make default.

Regards

Amol

Former Member
0 Kudos

thanks a lot amol and koen