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

Save a text file from ABAP program in Remote Server

Former Member
0 Likes
921

How to save a text file directly from ABAP program to remote server like iPEX and FTP.

2 REPLIES 2
Read only

Former Member
0 Likes
539

Hi Sitesh,

One way to do it would be to download your file temporarily to application server and then FTP it using either FTP function modules available or, by using external commands(SM49, Sm69).

Hope it helps.Let me know if you need more information on this.

Regards,

Komal.

Read only

0 Likes
539

Hi there,

You can use Enhancement SQUE0001 which will activate function module EXIT_RSAQEXCE_001 where you can code the logic to download data to a file using OPEN DATASET ...

The only issue with this is you don't have option to specify filepath/filename. You have to use a directory that you will include in your code with sy-repid + sy-uname + sy-datum + sy-uzeit.txt can become a unique file name.

Good luck.

Sudhakar