I am not able to show the data in the excel and other standard buttons are working fine .
anybody helps will give rating more.
Please see the attached screenshot which i have been attached .
DATA:go_alv TYPE REF TO cl_salv_table,
go_columns TYPE REF TO cl_salv_columns,
go_funs TYPE REF TO cl_salv_functions.
DATA: gr_layout TYPE REF TO cl_salv_layout.
*
TRY.
CALL METHOD cl_salv_table=>factory
IMPORTING
r_salv_table = go_alv
CHANGING
t_table = itab.
CATCH cx_salv_msg. "#EC NO_HANDLER
ENDTRY.
go_funs = go_alv->get_functions( ).
go_funs->set_all( ).
go_columns = go_alv->get_columns( ).
go_columns->set_optimize( 'X' ).
gr_layout = go_alv->get_layout( ).
gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
go_alv->display( ).
this is the code i am using to display the report . please suggest me any thing i am wrong .
Thanks In Advance.