Skip to Content

File transfer using SFTP with ABAP (no PI)

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).



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 27, 2015 at 10:36 AM

    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

    Performing FTP Commands From ABAP



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2015 at 01:01 AM

    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.


    Add comment
    10|10000 characters needed characters exceeded