05-13-2013 7:09 AM
Hi,
We are currently transferring files from R/3 to FTP using abap. But now we will be using SFTP.
Can you please let me know what program changes we need to do for transfering files to SFTP.
I came to know that we cannot directly transfer the files from R3 to SFTP. What is the solution for this.
Please help.
05-13-2013 7:43 AM
Hi,
There is no such functionality.You neet to go to XI/PI to send data to an SFTP server.
Please check the below links:
05-13-2013 8:11 AM
Hi Juheb,
You can also send directly from ABAP R3 ABAP Stack (without involving SAP PII) by using an O.S. script and calling the script from the ABAP report:
- create an O.S. script that calls the sftp client and providing the path to source file as parameter
- create a logical command in R3 with transaction SM69. Then you can test the command with SM49:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/c4/3a607b505211d189550000e829fbbd/frameset.htm
- then modify your ABAP code to call the logical command using FM SXPG_COMMAND_EXECUTE and providing the path of the file as parameter:
http://help.sap.com/saphelp_erp2004/helpdata/en/fa/0971fb543b11d1898e0000e8322d00/frameset.htm
Regards,
Luis
05-13-2013 11:06 AM
Hi,
Please check the FM SXPG_COMMAND_EXECUTE with this you can use the SFTP feature if your UNIX/Windows Application server.
Cheers,
Arindam