Hi Vishal,
I have a same problem like you got. I am not able to get download option in ALV popup though I am using the below code.
Could you please let me know how you fixed this issue? I mean how you got the download option button in pop up screen? Thanks in advance. Request you please reach out me at sreddy.kotha@gmail.com.
DATA: lo_table TYPE REF TO cl_salv_table,
lo_functions TYPE REF TO cl_salv_functions_list,
lo_columns TYPE REF TO cl_salv_columns.
DATA: lt_data TYPE TABLE OF zehs_stderr.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = lo_table
CHANGING
t_table = it_zehs_stderr ).
CATCH cx_salv_msg.
ENDTRY.
lo_functions = lo_table->get_functions( ).
lo_functions->set_all( abap_true ).
lo_columns = lo_table->get_columns( ).
lo_columns->set_optimize( abap_true ).