on 08-09-2011 9:16 AM
Dear friends,
In my application i have to retive data fro r3 table and need to be populate in a dropdown list,please guide me.
Thanks,
Smruti Moharana
please be more specific.
you are stuck at which step?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u want to populate values using a DropDownByKey UI Element this code will help you.
IWDAttributeInfo ainfo = wdContext.node<<NodeName>>().getNodeInfo().getAttribute("<<Value Attribute that is bound to the Drop Down by Key element>>");
ISimpleTypeModifiable st = aiinfo.getModifiableSimpleType();
IModifiableSimpleValueSet vs = st.getSVServices().getModifiableSimpleValueSet();
for(int i=0;i<wdContext.node<<name of the node>>().size();i++)
{
vs.put(Key,Value}
}
Please look at this thread[webdynpro populating dropdown values programmatically|;
Hope this helps!!
Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smruti,
Hope you already did a simple search on this topic, as this is a very common requirement. Here are few helpful links:
http://www.sdn.sap.com/irj/scn/advancedsearch?query=rfc+dropdown#sdn_content_category_value_forums
(search under forums category on left)
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.