hi all,
im uisng the FM GUI_DOWNLOAD,
for getting my data from sap to excel sheet, but wnen im opening the excel sheet, im able to see the records, but i cant see the header level for that particular records.
so plz tell me how can i able to see this.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = l_file
filetype = 'DAT'
write_field_separator = '*'
TABLES
data_tab = it_comm_product.
IF sy-subrc EQ 0.
WRITE:/ 'Download to Excel complete'.
ELSE.
WRITE:/ 'Error with download'.
ENDIF.