My suggestion is to show the second ALV in a popup screen when the user double clicks on the first ALV.
I would have the standard ALV toolbar defined in the PF-Status of the second ALV and at the bottom only have CANCEL and OK buttons.
Cheers,
Sougata.
Similar to the aproach below:
method process_functions.
set_screen_status(
exporting
iv_pfstatus = |POPUP_WITH_GIZMOS|
iv_set_functions = cl_salv_model_base=>c_functions_all ).
endmethod.
method set_popup_params.
rs_param-start_line = 5.
rs_param-end_line = 25.
rs_param-start_column = 20.
rs_param-end_column = 100.
endmethod. "SET_POPUP_PARAMS
if lcl_report=>lt_infotab is not initial.
create object lo_popup
exporting
i_repid = sy-repid.
lo_popup->publish_alv(
exporting
i_comp_name = space
i_comp_title = space
i_print_header = abap_false
i_popup = lcl_popup=>set_popup_params( )
changing
itab = lcl_report=>lt_infotab ).
endif.