Show TOC

Procedure documentationCreate and Display Error Statistics Snapshots Locate this document in the navigation structure

Procedure

In the SAP Application Interface Framework you are able to create and display snapshots.

A snapshot takes the content in the statistics tables (/AIF/MSG_STAT and /AIF_MSGSTATALL) at a specific point of time and saves it in separate snapshot tables. The same applies to the message summary table (/AIF/T_MMSG_IDX).

Create an Error Statistics Snapshot

A snapshot can be taken using the Generate Snapshot transaction (/AIF/GENMSGSNAP). This transaction allows you to create snapshots of statistics and summary data for messages in the SAP Application Interface Framework and track this data over time.

Using the selection screen, you can select a date for which the snapshot will be created (only applies to daily statistics data). You can also select a package size, that is, the size of the packages in which the single messages are processed. Changing the number of the package size could increase or decrease the performance of the report considerably. 1000 is the suggested value for most situations. However, the optimum package size depends on the system hardware and current system load.

It is recommended that the report is run daily as background task.

Display Error Statistics Snapshots

A snapshot can be displayed using the Display Snapshot transaction (/AIF/DISPMSGSNAP). This transaction allows you to display snapshots of statistics and summary data for messages available in the SAP Application Interface Framework and track this data over time.

There are several ways to filter for snapshots: ID, creation data, creation user and the date the snapshot was created.

There are four different views that can be selected:

  • Cumm. Msg. Statistics: lists all the statistics entries for messages available in the system at the time of snapshot creation.

  • Daily Message Statistics: lists all the message statistics for the effective date specified for the snapshot.

  • Cumm. Msg. Summary: lists all the log message entries available in the system at the time of snapshot creation. Log messages are grouped and their amount cumulated on the basis of namespace, interface name, interface version, recipient namespace, recipient name, message type, message id, and message number. You can see the message text (with placeholders) and the key fields that were the basis for the determination of the specific recipient.

  • Daily Message Summary: shows all the log messages for a specific date, that is, the effective date of the snapshot.