cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Sender to FTP Receiver, plus a RFC Receiver Call

Dallas1
Explorer
0 Kudos

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?

Thanks!

Dallas

Accepted Solutions (0)

Answers (3)

Answers (3)

gagandeep_batra
Active Contributor
0 Kudos

Hi Dallas,

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

first:

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

Regards

GB

sunil_singh13
Active Contributor
0 Kudos

Dallas,

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.

Thanks,

Sunil Singh

iaki_vila
Active Contributor
0 Kudos

Hi Dallas,

You can do a SFTP - RFC scenario, and at mapping level do the FTP connection like this blog explains

Regards.