Skip to Content
Author's profile photo rohini potham

Monitoring and error handling for interfaces in AIF

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

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Srilaxmi divi
      Srilaxmi divi

      Hi Rohini,


      Thank you for the blog.

      I want to know the back end tables for storing all AIF related information including the total records along with error and success messages. Could you please help me?






      Author's profile photo Sadashiv Nayak
      Sadashiv Nayak

      Try /AIF/T_ERR_MSG

      Author's profile photo Surendra Polamreddy
      Surendra Polamreddy

      Hi Rohini,


      Nice Blog ,very much useful .

      Author's profile photo RAHUL SINGH

      Nice blog.


      Just one question is there any option where we can find the error in AIF by giving a particular  document number, instead of date ranges.