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

Pulling data file from FTP server

Former Member
0 Likes
949

Hello All,

I would require help on how to read a data file stored in FTP server from my ABAP program. The type of file is .csv, I need this file to actually upload the data coming into SAP. Please suggest how do I solve this.

Thanks,

Sunil Kumar

1 ACCEPTED SOLUTION
Read only

former_member189629
Active Contributor
0 Likes
822

Hi Sunil,

Go thru the following link...

http://www.sap-img.com/ab003.htm

If you find it useful, please reward me for the same.

Good luck

Karthik Potharaju

6 REPLIES 6
Read only

former_member189629
Active Contributor
0 Likes
823

Hi Sunil,

Go thru the following link...

http://www.sap-img.com/ab003.htm

If you find it useful, please reward me for the same.

Good luck

Karthik Potharaju

Read only

Former Member
0 Likes
822

HI

GOOD

TRY THESE FUNCTION MODULES

FTP_COMMAND Execute a command on the FTP server

FTP_CONNECT Open a connection (and log in) to an FTP server

FTP_DISCONNECT Close the connection (and log off) the FTP server

THANKS

MRUTYUN

Read only

ferry_lianto
Active Contributor
0 Likes
822

Hi Sunil,

Please check this standard program.

RSFTP002

RSFTP003

RSFTP004

RSEPSFTP (ECC 5.0)

Hope this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
822

hi,

You will find the link useful...

http://www.sap-img.com/ab003.htm

Also, check out the standard program ... RSEPSFTP

The flow should be..

Open a FTP connection by FM- FTP_CONNECT

Execute a command on the FTP server by FM - FTP_COMMAND

and finally Close the connection by FM - FTP_DISCONNECT

Regards,

Richa

Read only

Former Member
0 Likes
822

Hi,

FTP_CONNECT

use the FM and connect the FTP server.

FTP_COMMAND

using the FM you can execute the commands to transfer the file mput and mget will help you to transfer.

FTP_DISCONNECT

use the FM and close the FTP server connecttion .

Regards

vijay

Read only

Former Member
0 Likes
822

Thanks to all of you..every one is rewarded