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 read and writre file into remote machine in the network

Former Member
0 Kudos

HI Experts,

i want to write the data and read data into file in remote machine(not in application server and presentation server).is it possible in abap.

thanks in advance

With Regads

Naidu

9 REPLIES 9

Former Member
0 Kudos

Hi Naidu,

do you have a FTP-connection to this machine? If so, you can FTP it from SAP.

Cheers,

Stefan

Former Member
0 Kudos

is its a non sap machine you can use, SAP java connectors,SAP .Net connectors WEB methods and UNIX shell scripting.

cheers

Ajay

Former Member
0 Kudos

Hi !

The best thing would by to "mount" the path's to your SAP-System's machine.

Ask your SAP-Basis if they can do so.

Regards

Rainer

Some points would be nice of that helped a bit.

Former Member
0 Kudos

Hi naidu,

1. We can use this type of path


computername
folder
file.ext

2. We can use this in GUI_UPLOAD

and it will run on presentation server,

connect to
computer

and read the file contents.

regards,

amit m.

Former Member
0 Kudos

Hi All,

thanks all for ur quick reply,

my problem is i have an xml file in my abap program and i want to upload that one to WAS folder which is no where related to my r/3 application server.is this possible in abap,if possible can u suggest me the solution.

or shall we require WAS with ftp.

With Regards

Naidu

Former Member
0 Kudos

Hi Amit,

I have mentioned path in the GUI_Download methos.but it not working.it is throwing invalid type exception.can u give a sample code.

thanks in advance

With Regds

naidu

Former Member
0 Kudos

Hi Amit,

I have mentioned path in the GUI_Download methos.but it not working.it is throwing invalid type exception.can u give a sample code.

thanks in advance

With Regds

naidu

0 Kudos

Hi again,

1. make sure the variable for

file name is type STRING.

regards,

amit m.

0 Kudos

Hi Amit,

you can write the file to application server then FTP it to required server using unix commands.

You can use CALL 'SYSTEM' ID 'COMMAND' to execute unix commands.

Regards

Savitha