cancel
Showing results for 
Search instead for 
Did you mean: 

Current Index of table without lead selection

Former Member
0 Kudos

I have a table in webdynpro component. One of the column is input field. When the user inputs his value and hits the enter key, i need to pick the current line index(Without using lead selection). How can i do this?

Regards,

Sridhar M R

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Refer this code :

data: lr_element type ref to if_wd_context_element.
DATA ls_cn_popin TYPE wd_this->element_cn_popin.
data lv type I.
lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
 lv = lr_element->GET_INDEX( ).

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks a lot Saurav.

My issue is solved now.

former_member185879
Active Contributor
0 Kudos

Hello Guys,

Can you tell me the Associated Type of the attribute element_cn_popin?

Regards

Nizamudeen SM

Former Member
0 Kudos

Hi ,

Probably the associated type would be a structure containing all the attributes under the corresponding node as fields of the structure.

Thanks,

Aditya.