Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 

Hi All,

We have been hearing about AIF for quite sometime, what is AIF?

AIF - It is a powerful framework for interface implementation, monitoring and error handling.

Architecture of AIF:

Architecture shows that AIF is located on the SAP application system.

AIF is generally used for proxy i.e. either outbound or inbound

It also supports several IDOC scenarios.

Briefing on Designing of interfaces using AIF:

The interface development for these scenarios are done using TCODE "/AIF/CUST" , it is customizing transaction for interfaces in AIF

Snapshot of the transaction looks like below:

Steps to build an interface:

1. Creating Namespaces

2. Defining interface

3. Create value mappings or fixed values ( if any)

4. Defining actions

5. Creating structure mapping

6. Writing the proxy code

Monitoring in AIF:

In this blog, I am primarily concentrating on the monitoring capabilities of AIF from PI perspective

To monitor interfaces, use TCODE "/AIF/ERR"

Below snapshot is the selection screen for checking errors in AIF

On executing the request, we navigate to the below screen:

This screen shows the interface errors for that particular date range selection along with detailed logs.

The left side of the screen pane shows the list of interface errors under each namespaces created.

The right side of the pane shows the detailed logs for the error.

Use of different icons on this screen:

1. Navigate to SXMB_MONI:

We can also navigate to Integration engine monitor using highlighted icon on the below screen.

- Once the data is corrected, we can also restart the processing of message using Restart button on the menu bar

- Messages can also be cancelled using Cancel button on the menu bar

2. Technical view of errors:

We can have technical/ standard view of errors. Below snapshot shows technical view of errors

Standard view:

We can switch between technical or standard view as per our requirement and understanding.

If you look at the second half of the above screenshot, it shows the proxy structure on the left side and corresponding data on the right side.

3. Alert Inbox:

We can navigate to alert inbox by clicking on the below highlighted portion

It navigates to alert inbox of the particular user

For more details regarding alerts in AIF, we can also look into table "/AIF/T_ALRT_DEF" which will give a list of all alerts for AIF interfaces.

Value Mappings overview in AIF:

Go to TCODE "AIF/VMAP" - It is for maintaining value mapping for AIF interfaces.

Below is the snapshot that shows sample maintenance of value maps

Hope this blog will give some idea to folks who are new to AIF.


Rohini Potham

Labels in this area