11-26-2007 7:32 AM
hi,
can anybody help me out to get the values from different internal table written into a text file.
regs,
raja
11-26-2007 7:34 AM
hi
use the function module
gui_download,
give the internal table name and other parameter
regards
karthik
11-26-2007 7:36 AM
used gui_download,ws_download,cl_gui_file_save.
data: ld_filename type string ;
ld_filename = 'c:\demo.txt'.
DATA: begin of it_datatab occurs 0,
row(500) type c,
end of it_datatab.
HII
call function 'GUI_DOWNLOAD'
exporting
filename = ld_filename
filetype = 'ASC'
tables
data_tab = it_datatab[]
exceptions
file_open_error = 1
file_write_error = 2
others = 3.
11-26-2007 7:52 AM
first combine the data of all internal table into one internal table and then finally download the data from internal table into text file / excel file . this you can do it either from your program using gui_download or directly from your abap debuger.
plz reward points if helps.
regards,
Rahul