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

Read File From A Different Server

Former Member
0 Likes
845

Hello Friends,

We have a file (.txt) sitting in a server (not the application server) and there is a requirement to read data from this file into R/3. Manually, one needs a username and password to access this file as the server in which it resides is connected to a network. Now, what are my options? How can I do this? Please let me know!

Thanks,

Sam

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
792

If the server has FTP capability, you could connect via FTP to get the file and place it on the application server. Another option is to have the folder in which the file resides NFS mounted to your app server, the the file is visible to your ABAP program and can be processed using OPEN/READ/CLOSE DATASET.

Hello Friends,

We have a file (.txt) sitting in a server (not the application server) and there is a requirement to read data from this file into R/3. Manually, one needs a username and password to access this file as the server in which it resides is connected to a network. Now, what are my options? How can I do this? Please let me know!

Thanks,

Sam

5 REPLIES 5
Read only

Former Member
0 Likes
793

If the server has FTP capability, you could connect via FTP to get the file and place it on the application server. Another option is to have the folder in which the file resides NFS mounted to your app server, the the file is visible to your ABAP program and can be processed using OPEN/READ/CLOSE DATASET.

Read only

0 Likes
792

Thanks for your reply - I have to try that! Well, I could have used GUI_UPLOAD (since the server is connected to the network) but it needs username/password to access the server/file.

Read only

0 Likes
792

Hi

why don't u copy the file into some folder manually.

Bcoz GUI_UPLOAD has no parameters to specify the username and password..

Cheers,

Abdul Hakim

Read only

0 Likes
792

This is not a one time process. We might have to do this frequently

Read only

0 Likes
792

hi

you can only access the file using either GUI_UPLOAD or OPEN DATASET or (FTP faciliy if one exists) in ABAP.

Cheers,

Abdul Hakim