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: 

File transfer using SFTP with ABAP (no PI)

Former Member
0 Kudos

Hi Gurus,

We want to transfer files from a SFTP Server to our SAP Application server.

I know with FTP Server it is no problem we can use Function modules

from SFTP Function Group like FTP_CONNECT etc.


But if I understand it right SFTP itself is not supported with ABAP?

Am I right?


We have windows on our SAP Appliaction Server. Are there any tools which we can install on SAP Application server to

use SFTP like with SM69 commands or similar. Does anybody has some recomendations for this?


(We do not want to use SAP PI).


Thanks+regards

Dieter

6 REPLIES 6

former_member185587
Participant
0 Kudos

Hi Dieter,

Check the following links, it might be of some use to you.

The SAPFTP Library - FTP Programming in ABAP - ABAP Development - SCN Wiki

Regards,

Kiran

0 Kudos

Hi, I know all these things. But this are only for FTP and not for SFTP.

So any help for SFTP?

Thanks Dieter

0 Kudos

AFAIK It is not possible to do SFTP from ABAP without using third party software like FTP Client and then use some FM like SXPG_COMMAND_EXECUTE

R

0 Kudos

Hi, Can you recomend a third party tool for that?

0 Kudos

Hi,

I already mentioned . "FTP Client".

Do a search over the internet. There are some good blogs available on how to use it.

R

0 Kudos

In Windows environment you can try with pscp.exe, then when you have it available in your SAP server you need add and use it through a SM49/SM59 command in SAP.

And you'll need:

Configure the authentication using public and private keys.

One folder on your SAP server (AL11 folder).

And finally, make your own ABAP code to manage your external command.

I implemented it but in an unix server. But is the same stuff.

Regards.