Proxy Outbound Interface Example SAP to PI File Receiver

Hi Guys!

It has been a while since my last post and most of my previous blogs are related to ABAP. This time thought of writing an article on PI. This article shows how to send data from SAP though a Proxy interface to PI. In this example PI convert this data to create a file.

ECC Proxy —->PI—-> File

I am using PI 7.31 single stack version and ECC 6.0.

In the example I would be sending FI document information from ECC to a file in application server. There are three main steps which needs to be carried out when creating this interface.

First create PI interface.

  • Create data type of the sender and receiver

  • Create Message types of sender and receiver

  • Create inbound and outbound interfaces

  • Create message mapping and operation mapping

  • Create proxy sender communication channel.

  • Create file receiver communication channel.

  • Create configuration scenario and activate communication channels.

After PI interface is created. Import the interface to ECC through SPROXY transaction.

  • Create proxy class

Finally create the program that fetch the data and call the proxy outbound interface in ECC.

Test Scenario:

Trigger the Program using se38

PI Message Monitor results.



File created successfully with document data.

proxy interface, SAP PI, PI proxy interface, SPROXY, Integration, Integration directory, Integration repository, Message monitor, PI 7.3, PI Java, PI Java stack, PI single stack, File adapter, PI XML

Get the latest tips and tricks on SAP!


Add a Comment

Your email address will not be published. Required fields are marked *