Application Development 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: 

How to upload the "Excel" file into SAP Application server from ABAP porgrm

Former Member
0 Kudos
Hi All, 
   We have a requirement  where we need to upload an excel file from an ABAP report  into SAP Application server.But i don't have any knowlege on this. 
            When i search the SDN came to know that we do this from FTP . 
   Can any one tell me step by step procedure to do this from ABAP program. 


thanks in advance. 

Regards 
CB
1 ACCEPTED SOLUTION

anup_deshmukh4
Active Contributor
0 Kudos

Below is the list of Function module for FTP, ( Search for the FM useage FM)

Follow the steps

1. Connect to the client

2. Execute the the FTP Command ie. in your case you will copy the file

3. Close the connection

FTP_CLIENT_TO_R3

FTP_COMMAND

FTP_COMMAND_LIST

FTP_CONNECT

FTP_COPY

FTP_DISCONNECT

FTP_R3_TO_CLIENT

FTP_R3_TO_SERVER

FTP_SERVER_TO_R3

FTP_START_REG_SERVER

FTP_START_SAPFTP

FTP_STOP_REG_SERVER

FTP_VERSION

hope it helps..!

Thanks and regards,

Anup Deshmukh.

Edited by: Anup Deshmukh on Jul 28, 2010 2:26 PM

3 REPLIES 3

anup_deshmukh4
Active Contributor
0 Kudos

Below is the list of Function module for FTP, ( Search for the FM useage FM)

Follow the steps

1. Connect to the client

2. Execute the the FTP Command ie. in your case you will copy the file

3. Close the connection

FTP_CLIENT_TO_R3

FTP_COMMAND

FTP_COMMAND_LIST

FTP_CONNECT

FTP_COPY

FTP_DISCONNECT

FTP_R3_TO_CLIENT

FTP_R3_TO_SERVER

FTP_SERVER_TO_R3

FTP_START_REG_SERVER

FTP_START_SAPFTP

FTP_STOP_REG_SERVER

FTP_VERSION

hope it helps..!

Thanks and regards,

Anup Deshmukh.

Edited by: Anup Deshmukh on Jul 28, 2010 2:26 PM

0 Kudos

Hi Anup,

thanks a lot for your valueable response,but to use FTP_CONNECT we need to give user id and password.which user id shoud i need to give here?

thanks

cb

andreas_mann3
Active Contributor
0 Kudos

a) from presentationserver: use tcode CG3Z (data type binary)

b) from another application server look report rsftp004

you get the logon data from your basis team!

greetings

Andreas

Edited by: Andreas Mann on Jul 28, 2010 3:16 PM