Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Kangkana
Advisor
Advisor
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.

AIF configuration

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



Fig 4.



Fig 5.

Define the structure mapping for the interface in the path

SAP Application Framework–>Interface Development–>Define structure Mappings



Fig 6.



Fig 7.



Continue to Part 2 for  the ABAP part .

https://blogs.sap.com/?p=721036&preview=true

Continue to Part 3 for checking the proxy structure details.

https://blogs.sap.com/?p=705437&preview=true&preview_id=705437

Continue to Part 4 for checking the created AIF structure details.

https://blogs.sap.com/?p=720977&preview=true