05-16-2006 5:54 AM
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
05-16-2006 6:35 AM
Hi Naidu,
do you have a FTP-connection to this machine? If so, you can FTP it from SAP.
Cheers,
Stefan
05-16-2006 6:39 AM
is its a non sap machine you can use, SAP java connectors,SAP .Net connectors WEB methods and UNIX shell scripting.
cheers
Ajay
05-16-2006 6:41 AM
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.
05-16-2006 6:42 AM
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.
05-16-2006 7:27 AM
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
05-16-2006 10:13 AM
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
05-16-2006 10:19 AM
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
05-16-2006 12:06 PM
Hi again,
1. make sure the variable for
file name is type STRING.
regards,
amit m.
05-16-2006 12:26 PM
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