cancel
Showing results for 
Search instead for 
Did you mean: 

Binding a DOMAIN to the dropdown list box

Former Member
0 Kudos

Hi All

i have a DOMAIN with value range, and now my requirement is to display those value range in my drop down list box,

Best Regards

Chaitanya.A

Accepted Solutions (0)

Answers (1)

Answers (1)

uday_gubbala2
Active Contributor
0 Kudos

Hi Chaitanya,

Just make use of a DropDownByKey in your layout.

1) Define a context attribute with a data type that is based on your desired domain.

2) Bind the selectedKey property of the DropDownByKey element to this context attribute

Thats it you should be able to see the fixed values from your domain in the drop down list. You can try go through this [sample extract|http://www.sap-press.de/download/dateien/1079/sappress_web_dynpro_for_abap.pdf] from Ulli Hoffman's book WebDynpro for ABAP to get a better understanding about usage of the DropDownByKey & DropDownByIndex elements.

Regards,

Uday

Former Member
0 Kudos

Hi Uday

Thank you

Best Regards

Chaitanya.A

Former Member
0 Kudos

hi uday,

can u have a detailed book of that u have referred earlier ? iam getting only 53 pages.for detailed book from where i can get it from?

Regards,

Murthy.

uday_gubbala2
Active Contributor
0 Kudos

Hi Murthy,

Am sorry but we don't have any complete free pdf version available over the web. The only possible way of going through the entire book is to get a copy of one.

Regards,

Uday