Consider the following:
A message is processed and ends with an error message. A user is required to check the problem and reprocess the message if possible. Some problems are solved without requiring the user to do anything other than restart the message, for example, update of an object and the object was locked. It's a problem if the user spends a lot of time analyzing errors that are already solved.
Solution: Restart the messages automatically.
Configure automatic reprocessing for errors that can be solved automatically via transactions:/AIF/REP_AC_DEF and /AIF/REP_AC_ASGN.
Example: "Object is locked by user &1". The following settings are possible:
- Define a reprocessing action and maintain a function module (/AIF/RESTART_MSG with SAP Application Interface Framework).
- Define for each interface in which error case the message should automatically be restarted.
- Define the maximum number of retries.
- Define a maximum and minimum waiting time.
- Define a Runtime Configuration Group with Run Active and Run Scheduled/AIF/PERS_CGR.
Trace Levels are defined in theApplication Interface Framework Customizing → Error Handling → Global Features.There you define the following:
- Which messages are added to the application log.
- By default, trace level 0 is used.
- Set trace level for interface in view /AIF/V_FINF_TL.
- Then restart with a higher trace level from Monitoring and Error Handling.
- Restart the message with a higher trace level for error analysis.

SAP Application Interface Framework displays the component names of a structure in the Monitoring and Error Handling Data Structure and the Data Content view. Those names are not always easy to understand for a business user.
With structure labels, it's possible to display a different text instead of the component name. Two options are possible:
- Use the text from the dictionary.
- Define your own text.
