cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown By Key

Former Member
0 Kudos

Hi All,

I could not get the difference between Dropwdown By Index and Key. Please help me to understand the usage.

Regards,

Kumar K

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

just go thru this link

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dd/b0884118aa1709e10000000a155106/content.htm and also refer the standard component: WDR_TEST_EVENTS.

uday_gubbala2
Active Contributor
0 Kudos

Hi Kumar,

As a reference you can try go through this [free sample version|http://www.sap-press.de/download/dateien/1079/sappress_web_dynpro_for_abap.pdf] of Ulli Hoffman's textbook Web Dynpro For ABAP. Go through section 3.3.1 "Using Dropdown Lists". Hope that this helps resolve your problem.

Regards,

Uday

uday_gubbala2
Active Contributor
0 Kudos

Hi Kumar,

Dropdown by index & key differ in the nature of binding properties. Just have a look at the info below:

Index Binding:

1) Selecting a value leads to a round trip only if the corresponding event property is bound to an action.

2) Selecting a value will change the lead selection.

3) The data stored in the context will not be changed by selecting any value.

Key Binding:

1) Selecting a value leads to a round trip only if the corresponding event property is bound to an action.

2) Selecting a value will not change the lead selection.

3) The data stored in the context element at lead selection will be overwritten by the key value related to the selected data.

Regards,

Uday

arjun_thakur
Active Contributor
0 Kudos

Hi

Refer these online help:[DropDownByIndex|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dd/b0884118aa1709e10000000a155106/content.htm], [DropDownByKey|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/e4884180951809e10000000a155106/content.htm].

Also refer the standard component WDR_TEST_EVENTS.

I hope it helps.

Regards

Arjun