05-19-2006 11:49 AM
Hi,
I would like to know if there are ways to transfer the contents of an internal table to an excel sheet.
Thanks in advance,
Hema
05-19-2006 11:53 AM
05-19-2006 11:53 AM
Hi,
check these links..
http://www.sapdevelopment.co.uk/file/file_updown.htm
Regards
vijay
Message was edited by: Vijay Babu Dudla
05-19-2006 11:58 AM
05-19-2006 12:03 PM
use GUI_DOWNLOAD with field_separator = 'X'.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = 'C:\file.xls'
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = ITAB
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
regards
srikanth.
05-19-2006 3:25 PM
Hi,
Use the following FM.
1)ws_download
2)gui_download.
i think you can met your requirement
thanks
Sunil.
05-19-2006 3:41 PM
05-19-2006 3:51 PM
HI,
use GUI_DOWNLOAD function module
follow this steps:
pass your final internal table to that
give file name
file type as DAT
give a parameter for filepath on the selection screen.
filename = your parameter name
filetype = 'ASC'
has_field_separator = 'X'
tables = your final internal table
rgds,
latheesh