Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8332

Re: how to capture selected value from drop down by index

$
0
0

Hi Lakshmi,

 

Create an action for the onselect event. and implement the following logic

 

data: lo_nd_ddix type ref to if_wd_context_node,

         lo_el_ddix type ref to if_wd_context_element,

         ls_ddix     type wd_this->element_ddix.

 

 

lo_nd_ddix = wd_context->get_child_node( 'DDIX' ).

lo_el_ddix = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).

lo_el_ddix->get_attribute( exporting name 'ATTRIBUTE' importing value = lv_ddix ).

 

or

 

lo_el_ddix->get_static_attributes( importing static_attributes = ls_ddix ).

 

 

Hope this should help you.

 

 

Thanks & Regards,

Sankar Gelivi


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>