‎2007 Jul 06 7:05 AM
Hi All,
I want to transfer the file which is in the application server to excel sheet in the presentation server.Is there any direct function module available.
Thanks
Uma
‎2007 Jul 06 7:11 AM
Hi
Use the
<b>CG3Y</b> tcode
Reward points for useful Answers
Regards
Anji
‎2007 Jul 06 7:30 AM
Hi,
Retrieve data file from presentation server(Upload from PC)
DATA: i_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.
DATA: begin of it_datatab occurs 0,
row(500) type c,
end of it_datatab.
CALL FUNCTION <b>'GUI_UPLOAD'</b>
EXPORTING
filename = i_file
filetype = 'ASC'
TABLES
data_tab = it_datatab "ITBL_IN_RECORD[]
EXCEPTIONS
file_open_error = 1
OTHERS = 2.
Pls reward points.
Regards,
Ameet