on 10-03-2012 6:24 AM
hi everyone....
i am new to webdynpro java .please help me regarding the following.
i am getting data of 3 fields (name,id,contact) from bapi.now thew issue is i want the field(name)should be binded to the dropdown list.
i need the coding please provide in detail.
thanks in advance,
krishna
Hi,
You can create one DropDownBy Index UI element in the View.
Create one context node by name Values with attribute Name in it.
In Properties setting for DropDownBy Index UI set text property to name attribute in context node created.
Then in the View Controler use the below code to add elements to it. You can put this in loop of your bapi results and set the name with the bapi result instead of count.
IValuesElement valueElement=wdContext.nodeValues().createAndAddValuesElement();
valueElement.setName("Count");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.