Skip to Content
Author's profile photo Rahul Yadav

Pass Throgh/ByPass Scenario in SAP PI

There are requirements when we pass through files with the help of SAP PI interfaces. Its very simple to achieve this functionality i PI.

To achieve this scenario we don’t require ESR objects. We have to use dummy sender/receiver interface and namespace.

Below are the steps for creating this scenario:

Step1: Create a File/SFTP sender channel to pick the file from source directory.

Step 2: Create a Receiver file Channel to place the file in target directory.


Step 3: Create an ICO with dummy Sender and Receiver Interface.



Step 4: Now Place a test file in the source directory, so that channel picks it and send it to the target directory.

Step 5: Now start your sender communication Channel and you can see the log in communication channel that file is successfully picked and placed to target directory.



You can see the file in the target directory and file is successful message log in message monitoring tab as below:

In target directory you can see your output file.

This is simple and basic scenario but it can be helpful for newbies.

Regards,

Rahul

Assigned tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Nyc and explained very well.

      Author's profile photo Punith Kumar k
      Punith Kumar k

      Hi Rahul,

      I have a query, can we pass any kind of files (excel, PDF, etc ) from source (AL11 directory) to target (FTP server) ?

      Author's profile photo Rahul Yadav
      Rahul Yadav
      Blog Post Author

      Yes Punith.

      You can pass any kind of file as it doesn't check your content.

       

      Rahul

      Author's profile photo Moumita Majumdar
      Moumita Majumdar

      Hi Rahul,

      Thanks for this blog 🙂

      Wanted to ask how about file name parameter in sender and receiver channels? I mean I need to pass all the files so can not hardcode a file name. So how to pass all the files?

       

      -Moumita

      Author's profile photo Rahul Yadav
      Rahul Yadav
      Blog Post Author

      HI Moumita,

       

      You can use ASMA in File of SFTP Adapater

      File:

      SFTP:

      Rahul

      Author's profile photo Rocio Avila
      Rocio Avila

      Hello Rahul

      I have an issue with the communication channel Sender, PI don´t take the new files creates in the AL11, it only recognizes old files and it takes them without problems.

      PI needs special permissions to be able to take the files that we upload new from an AL11 folder?

      Thanks in advance