Skip to Content

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

sample code on how to populate data in DropDownListbox

Hi all

i am new to the webdynpro for java.

i have one UI element called DropDownListBox and i want to populate some desired values to the dropdown list box.

what are the different ways are there to populate data in DropDownList box.

for example i have city as dropdownlist box and i want to populate some values in drop downlistbox like bangalore,hyderabad,chennai and delhi,

can you pls send the sample code on the same?

Regards

Suresh Babu

replied

Hi,

If you want to retrieve the city names then you can use the standard tables in R/3.

We have countries list in T500T. Like this we have table for the cities also.

Or

You can manually populate a table and bind this table to the list box.

Please check out this link -

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194

http://help.sap.com/saphelp_nw70/helpdata/EN/74/450e8af57065468e88e4b86de47e4b/frameset.htm

Regards

Lekha

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