Hi to all,
I have an ALV table in a WDA view. I have implemented the method to create the header of the table:
set visible row count
lr_table_settings type ref to if_salv_wd_table_settings,
header type ref to cl_salv_wd_header.
lr_table_settings ?= wd_this->alv_config_table.
call method lr_table_settings->create_header
value = header.
call method header->set_text
value = ' My Header text'.
now, reading documentation:
at page 207 it should be possible to include this header in excel export, using the method SET_EXPORT_NO_TOL:
call method wd_this->alv_config_table->if_salv_wd_export_settings~set_export_no_tol
value = abap_false.
but nothing happen, so i obtain the excel with column header and cell data, without the header defined.
Does someone tested this functionality?
Thank a lot
For ALV related, you can download the Header of table i mean top of list into excel. Even if you try with normal ALV also the same feature is avilable. The download excel option will work only for the Content of the list not for the total screen.
Header is only visible on the screen