AIF-Monitoring and error handling for interfaces

AIF官方产品简介页面:

https://support.sap.com/en/alm/focused-solutions/focused-run-expert-portal/integration-cloud-monitoring/sap-aif.html

 

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:

AIF-Monitoring and error handling for interfaces

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:

AIF-Monitoring and error handling for interfaces

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

AIF-Monitoring and error handling for interfaces

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

AIF-Monitoring and error handling for interfaces

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.

AIF-Monitoring and error handling for interfaces

– 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

AIF-Monitoring and error handling for interfaces

Standard view:

AIF-Monitoring and error handling for interfaces

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

AIF-Monitoring and error handling for interfaces

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

AIF-Monitoring and error handling for interfaces

It navigates to alert inbox of the particular user

AIF-Monitoring and error handling for interfaces

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.

AIF-Monitoring and error handling for interfaces

Value Mappings overview in AIF:

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

AIF-Monitoring and error handling for interfaces

Below is the snapshot that shows sample maintenance of value maps

AIF-Monitoring and error handling for interfaces

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

Regards,

Rohini Potham

 

From <https://blogs.sap.com/2016/02/15/monitoring-and-error-handling-for-interfaces-in-aif/>

本文作者: GavinDong

版权属于: GavinDong博客

文章链接: https://gavindong.com/3034.html

如果使用过程中遇到问题,可 **点击此处** 交流沟通。

版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

(0)

相关文章

发表回复

登录后才能评论