cancel
Showing results for 
Search instead for 
Did you mean: 

Drop_Drow list.

smruti_moharana
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

please be more specific.

you are stuck at which step?

Answers (1)

Answers (1)

vijay_kumar49
Active Contributor
0 Kudos

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

smruti_moharana
Participant
0 Kudos

HI,

In my current application one dropdown field is there which are hardcoded in dictionary , but according to our new requirement the dropdown value should be retrieved from rfc please guide me which type activity i have to do in details.(like context maping)

Thanks,

Smruti Moharana

Former Member
0 Kudos

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)

Also read this thread: