In this blog I shall show the actual step by step process on AIF(Application Interface Framework) configuration for outbound Scenario along with how to code for the same.
AIF for outbound Interface.
Say if there is any outbound interface developed in PI from S4 as shown in the below screen then one can use the below steps to generate the proxy.
Note : Either SPROXY transaction / ESR browser from SE80 can be used to check the interfaces.
Fig 1. Interface Proxy definition
Generate the proxy by clinking on the Generate icon . Or by double clicking the interface.
Once generated , the default proxy class , along with the the structures gets automatically created.
A default proxy class with methods is created as shown in the fig 2.
Fig 2. Default proxy class.
In the transaction /AIF/CUST
Fig 3. All the structures mentioned in this diagram should be available in the system.
Open the transaction /AIF/CUST
In this example we are getting the message from the service max
So we configure a namespace for the same system in the path
SAP Application Framework –>Interface Development –> Define Namespace
Fig 3. Namespace for the the third party system
Define the interfaces in the path
SAP Application Framework–>Interface Development–>Define interfaces
Define the structure mapping for the interface in the path
SAP Application Framework–>Interface Development–>Define structure Mappings
Continue to Part 2 for the ABAP part .
Continue to Part 3 for checking the proxy structure details.
Continue to Part 4 for checking the created AIF structure details.