With SAP Application Interface Framework (AIF) you can easily develop, run and monitor all the application interfaces your business needs. SAP AIF is an integral part of SAP S/4HANA and S/4HANA Cloud Edition for interface development, error and monitoring handling. And it is also available as add-on for the SAP Business Suite.
While SAP AIF has a local monitoring tool integrated, the messages sent through SAP AIF can be monitored also with SAP Focused Run to provide a centralized monitoring for all interface types and all systems in the SAP landscape.
SAP Application Interface Framework is the standard monitoring and interface hub for SAP S/4HANA and SAP S/4 HANA Cloud applications. AIF is now part of the S/4HANA core component and no longer needs to be installed as an add-on to the system.
To be able to monitor SAP AIF messages, you need:
FRUN 2.0 Feature Pack 01
S/4HANA running on SAP Basis 7.54 and SAP_ABA 75E or higher
The formerly used ABAP add-on for SAP AIF in SAP ABAP systems with SAP Basis < 7.50 is not supported by SAP Focused Run.
To be able to monitor interfaces of an on-premise system you first have to add it to Interface & Cloud Monitoring and select the monitoring categories you want to monitor for the system.
In the next step, you see all monitoring categories which are available for the system, depending on the system type and the installed software components. Some recommended standard monitoring categories are preselected.
Select the monitoring categories in scope.
Available Monitoring Categories
The available monitoring categories are:
To monitor currently running interfaces and messages in the S/4 system please use transaction /n/AIF/ERR the setup of AIF is done in transaction /n/AIF/IFMON.
After selecting your monitoring categories you have to maintain filters to define what exactly you want to monitor. Some monitoring categories come with standard filters that usually just select all items of this monitoring category. SAP Focused Run can handle this high amount of monitoring data, so you can stick to this standard filters. Or you can set up filters of your own.
Please note that the filters you set in the 'Monitoring' step filter the data which is collected from the managed system or cloud service. You can also set up filters later in the 'Alerting' step, which will filter the data already in Focused Run.
You can create more than one filter for a monitoring category.
Available Filter Options
For AIF Monitoring you can always collect all messages collected by AIF for all categories. However, you can also use the following filter parameters, to restrict the data collection:
To find useful filters for the categories, it makes sense to collect all messages first. The filter values will be in the collection context of the collected messages in Advanced Interface Monitoring
The setup of the filters for the monitoring categories only makes sure that the data is collected, however, alerts are not created automatically. To create alerts and notifications you have to create an alert individually.
In the next sub-step, you have to maintain the filter. For most monitoring categories the available filter fields will be the same as for the 'Monitoring' configuration described above.
For some metrics, you have additional filter fields or you have to maintain metric parameters. You can check the collected data in Focused Run to determine which filter values to use for alerting. Most of the fields can be found in the Collection Context of the collected data.
Please note that the filters on 'Alerting' level filter the data that is already available in Focused Run. They do not influence the data collection itself. You can only filter for data that is collected. Be aware of this if you created strict filters in the 'Monitoring' step.
In the last sub-step you have to activate the alert:
For single exceptions, the threshold type is always 'Already Rated'. This means depending on the calculation frequency the number of exceptions is checked and an alert is created if this number is bigger than 0. If you want to reduce the number of alert for these metrics, you could increase the value for the calculation frequency to increase the time between checks.
For message retrieved from SAP AIF the following metrics are collected:
For all of the collected metrics you can filter by the following parameters additionally to the ones that are already available in the data collection for the respective message type: