on 04-20-2006 8:43 AM
Hello,
Please help me, if anybody knows.
I want to know how to implement multiple selection in dropdown box using webdynpro.
Regards
Rajakumar.
Hi Rajakumar Kandasamy,
I dont think it is possible to select multiple values in a dropdown box of a WD application. May i know for what and where you need such a requirement ?? go through the following links to know why you cannot use drop down box and probably you can use the alternative - ItemListBox element.
Ref :
A <b>DropDownByIndex UI element</b> provides the user with a dropdown list box. You cannot select more than one entry from the selection list. The UI element consists of a text field, a button, and a selection list. Any list entry already selected is displayed in the text field. When selecting the button, a list with all possible values is displayed.
http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/422b035f01914e80251a660e39ab14/frameset.htm
click <u>Standard Library (Simple Elements)->DropDownByIndex </u>
A <b>DropDownByIndex UI element</b> provides the user with a dropdown list box. You cannot select more than one entry from the selection list. The UI element consists of a text field, a button, and a selection list. Any list entry already selected is displayed in the text field. When you select the pushbutton, a list with all possible values is displayed.
http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/422b035f01914e80251a660e39ab14/frameset.htm
click <u>Standard Library (Simple Elements)->DropDownByIndex </u>
I suppose you can use <b>ItemListBox </b> instead.
A classical GUI concept of a selection list with simple and multiple selection (list box). A list of text entries is displayed in a box of a fixed size, which if necessary you can scroll through.You can find further details in this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/422b035f01914e80251a660e39ab14/frameset.htm
click <u>Standard Library (Simple Elements)->ItemListBox</u>
I am sure you can also find some help in the following tutorial link.
<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">Web Dynpro Tutorials</a>
Try reading these. Please do let us know if you could solve your problem. Gud luck !
Rgds,
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
"ItemListBox" itself is not listed in my SAP NWDS Element list when I am trying to add. I am using the version 2.0.9. Can you tell me how to add this?
I want to load a list of values in an element from xml file. We should allow the user to choose multiple values at a time. It can be any element,either dropdown, ItemListBox etc.. This is what my requirement.
could you please provide me a solution?
Regards
Rajakumar
Hi Rajakumar
I think DropDown by index/key multiple selection is not possible in NW04.
Can you please elaborate the requirement i.e why you require this.
Regards
Ananda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ananda,
Thanks for your reply.
I have 3 dropdown box, dynamically I want to add the list. Based on the first dropdown selection, the second dropdown list should populate.I implemented using DropDownByKey.
Now my requirement is, want to select more than one value from the second dropdown and I want to display the selected values separated by comma.
Thanks in Advance
Rajakumar
Hi RajaKumar
No way you can multiselect from dropdown.You can refer to this SAP help link
http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/content.htm
Instead, for multi-selection capability use table UI element with one column with properties selectionMode=multi and retrieve the values.
Hope this helps
Regards
Ananda
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.