Skip to Content
0
Former Member
Mar 13, 2007 at 09:14 AM

DOUBLE_CLICK and LOOP

21 Views

Hi all!

I have 2 internal tables g_t_mbew and g_t_sloc.

g_t_mbew is appended trough loop into output table itab_custdata of ALV list.

after display of the first ALV i would like to trigger DOUBLE CLICK event on that ALV. DOUBLE_CLICK should trigger an output of another screen.

My question is as follows: how can i loop at internal table g_t_sloc and search only records that correspond to the DOUBLE_CLICKED row, my search criteria should be MATNR field.

with:

READ TABLE g_t_sloc INTO wa_sl INDEX e_row-index.

i only get one record, how can i retrieve all the record that have same MATNR in g_t_mbew and g_t_sloc????

thanx!