Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hunction module for data transfer

Former Member
0 Likes
392

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

2 REPLIES 2
Read only

Former Member
0 Likes
365

Hi

Use the

<b>CG3Y</b> tcode

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
365

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