11-20-2006 7:42 PM
11-20-2006 7:50 PM
You must the ALV event for this. There is no at line selection. You have double click event for that and many more.
This will explain you all about ALV and the event handling.
Some more at SDN forums
Regards
Kathirvel
11-20-2006 7:50 PM
You must the ALV event for this. There is no at line selection. You have double click event for that and many more.
This will explain you all about ALV and the event handling.
Some more at SDN forums
Regards
Kathirvel
11-20-2006 9:31 PM
Hi,
In the 'REUSE_ALV_LIST_DISPLAY' Function module usze the i_callback_user_command option to mention a sub-routine for handling the events as follows:
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = sy-repid
i_callback_pf_status_set = 'STANDARD'
<b>i_callback_user_command = 'RETURN_FROM_ALV0'</b>
is_layout = z_layout
it_fieldcat = t_fcat[]
tables
t_outtab = t_log
exceptions
program_error = 1
others = 2.
-
Then in the sub-routine code the following:
form return_from_alv0 using ucomm like sy-ucomm
selfield type slis_selfield.
case ucomm.
when '&IC1'.
endcase.
endform.
- Irudayaraj Peter
11-21-2006 9:57 AM