Skip to Content
0
Nov 07, 2012 at 09:31 AM

How to get row index on select of table row

1413 Views

Hello All,

I have a table view and I need the selected row index value when I will select a particular row by clicking on the selection tab.

I have written the following code inside eh_onselect method. But I am not getting the row index value in lv_index. every time it is giving me 0 value.

me

-> typed_context -> result -> eh_on_row_selection (
iv_htmlb_event = lv_htmlb_event
iv_htmlb_event_ex = htmlb_event_ex ).

cl_thtmlb_util => get_event_info (
EXPORTING
iv_event = htmlb_event_ex
IMPORTING
ev_index = lv_index

).

Can you please help me on that.

Thanks,

Chhanda Sarkar