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:

/wp-content/uploads/2016/02/1_887583.jpg

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:

/wp-content/uploads/2016/02/1_887583.jpg

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

/wp-content/uploads/2016/02/1_887583.jpg

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

/wp-content/uploads/2016/02/1_887583.jpg

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.

/wp-content/uploads/2016/02/1_887583.jpg

– 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

/wp-content/uploads/2016/02/1_887583.jpg

Standard view:

/wp-content/uploads/2016/02/1_887583.jpg

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

/wp-content/uploads/2016/02/12_887613.jpg

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

/wp-content/uploads/2016/02/12_887613.jpg

It navigates to alert inbox of the particular user

/wp-content/uploads/2016/02/12_887613.jpg

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.

/wp-content/uploads/2016/02/12_887613.jpg

Value Mappings overview in AIF:

Go to TCODE “AIF/VMAP” – It is for maintaining value mapping for AIF interfaces.

/wp-content/uploads/2016/02/12_887613.jpg

Below is the snapshot that shows sample maintenance of value maps

/wp-content/uploads/2016/02/12_887613.jpg

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

Regards,

Rohini Potham

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply