In the SAP Application Interface Framework you are able to generate 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).
A snapshot can be taken using Generate Snapshot
(transaction code /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.
On the Generate Snapshot
selection screen, select a date for which the snapshot is to be created (this 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 the current system load.
A snapshot can be displayed using Display Snapshot
(transaction code /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 you can filter for snapshots, for example, ID, creation data, creation user, and the date the snapshot was created.
You can select from the following 4 views:
(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.
You can access the reports to generate and display error statistics snapshots from the SAP Easy Access menu by choosing Generate Snapshot
or Display Snapshot
.
Recommendation
It is recommended that Generate Snapshot
is run daily as a background task.