Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding Dropdown

Hi All,

I intend to get a column from a table as a dropdown in my WebDynPro form.

Can someone tell me how to proceed.

Regards

Nikhil Bansal

Former Member
replied

Hi Nikhil

You have to add a value set to your Context Attribute where it is binded.

ISimpleTypeModifiable myType=wdContext.getModifiableTypeOf("<Attribute>");

//Set allowed values for this data type

IModifiableSimpleValueSet values=myType.getSVServices().getModifiableSimpleValueSet();

values.put("0","January");

values.put("1","February");

values.put("2","March");

values.put("3","April");

values.put("4","May");

values.put("5","June");

values.put("6","July");

values.put("7","August");

values.put("8","September");

values.put("9","October");

values.put("10","November");

values.put("11","December");

Regards

Abhimanyu L

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question