How can i get a file header using this method cl_gui_frontend_services=>gui
How can i get a file header using this method cl_gui_frontend_services=>gui_download
NagaSwapna Thota replied
For having the header in the internal table, all the fields must have type C. So, just fill the fields with the header text and insert at index 1.
CALL METHOD cl_gui_frontend_services=>gui_download EXPORTING filename = <Your file name> filetype = 'TXT' CHANGING data_tab = i_data EXCEPTIONS file_write_error = 1 no_batch = 2