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.
Nyc and explained very well.
I have a query, can we pass any kind of files (excel, PDF, etc ) from source (AL11 directory) to target (FTP server) ?
You can pass any kind of file as it doesn't check your content.
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?
You can use ASMA in File of SFTP Adapater
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