Skip to Content

SFTP Sender to FTP Receiver, plus a RFC Receiver Call

Hi everyone,

I'm wondering if this scenario is possible in PI 7.31...

I need to transfer a PDF file daily from an SFTP site external to our organization to an FTP site internal to the organization. The file needs to be transferred unchanged to the target FTP server.

At the same time, I need to call the RFC BAPI_XBP_EVENT_RAISE, to indicate to another process that the file has been received.

How can I construct this scenario? Is it possible using an integrated configuration? which objects are required in the ESR?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Nov 02, 2015 at 04:30 PM

    Hi Dallas,

    You can do a SFTP - RFC scenario, and at mapping level do the FTP connection like this blog explains File Lookup with effective error handling


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2015 at 05:15 PM


    One More option Could be use "Archive Files on File System" feature of SFTP Adapter and store the file on Local PI System.

    If you can mount the Location of Receiver on PI System itself then you can further simplify the process. Otherwise you can write a Scrit to perform FTP of file and call it in "Run Operating System Commond After Message Processing".

    In Message Mapping you can call RFC Function Module and in Receiver you can use email Adpater to Notify the Status of Process.


    Sunil Singh

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2015 at 05:54 PM

    Hi Dallas,

    I think I have two options you can check that also.


    Create a two receivers, first for file then second for rfc and use "maintain order at run time in ICO" and second receiver for RFC and call RFC after placing the file.

    2nd option:

    create a two scenario(ICO's)

    first scenario is for file with two receivers and

    in second scenario poll the channel for second file and use it as a trigger for rfc



    Add comment
    10|10000 characters needed characters exceeded