cancel
Showing results for 
Search instead for 
Did you mean: 

dropdown by key

Former Member
0 Kudos

hi balasubramanian,

i tried with the component that u have sent,but im unable to get how to get the values in the drop down. please send me any example or advice u have

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi uvendu bala ,

when you are using drop down by key there are two ways to populate data.

one is you have to use a data element that contain fixed values at domain level as the type of the attribure which you are attaching as the data source for the drop down, once you attached like this all the fixed values defined at domain will automatically populate to the ddk.

another method is bind the values to the node info of the attribute which is attached to the ddk.

steps

1. get a focus to the node info (use interface if_wd_context_nofe_info)

2. then fill the itab of type value_set ( an itab that contains 2 fields 1. value and 2. text)

3. bind the itab to the node info using the methods of node nfo interface.

regards

Sarath

Answers (0)