Process Observer
Use
The Process Observer is a standard application that enables you to manage and optimize your business processes across different applications and along the entire process management lifecycle. To enable a cross-system monitoring of message flow for business users, the Process Observer is used to store all messages in the context of the corresponding business process.
In the SAP Application Interface Framework, you can set up your interfaces to be monitored by the Process Observer. If the processing of a message in an interface is part of a business process defined in the Process Observer, you can make Customizing settings to be able to monitor the interface in the Process Observer, which provides you with an overview of the current status of a business process.
Integration
To be able to monitor messages in the Process Observer, you make the relevant configuration settings in transactions POC_FACADE (business objects and tasks definition) and POC_MODEL (business process definition).
To be able to use the Process Observer with the SAP Application Interface Framework, you make the relevant settings in Customizing for SAP Application Interface Framework under .
Prerequisites
You have at least one current or remote system with the Process Observer in your system landscape. The Process Observer must be active and configured correctly.
You have a defined a corresponding RFC destination (the SM59 transaction code) if the Process Observer is on the remote system.
To be able to monitor messages in the Process Observer, you have made the relevant configuration settings in transactions POC_FACADE (business objects and tasks definition) and POC_MODEL (business process definition) as follows:
-
In transaction POC_FACADE, you have defined the business object types that are used to monitor interfaces.
A business object type is a representation of a uniquely identifiable business entity, for example, a sales order or a purchase order. You must define a business object type for the message of the SAP Application Interface Framework. In order to pass the namespace, interface name, and interface version to the Process Observer you can also define a business object type for the interface.
-
In transaction POC_FACADE, you also have defined the task types, which represent the business object activity of the implementation layer in the facade of the Process Observer.
-
In transaction POC_MODEL, you have defined a business process.
You assign tasks to the activities of your process. Each task is assigned to a business object type. Each activity should have a task for the business object type “message”.
The message is the main task. If you want to be able to search for the interface and a business key (for example, business partner ID) in the Process Observer, you can also create tasks for those business object types.
Activities
Configuration of the Process Observer Using the POC_FACADE Transaction
In the Process Observer, in transaction POC_FACADE, you define the following business object types, task types, and tasks for use with the SAP Application Interface Framework:
Business Object Types
|
Business Object Type |
Business Object |
|---|---|
|
AIFME |
AIF Message |
|
AIFIF |
AIF Interface |
Task Types
|
Task Type ID |
Task Type |
|---|---|
|
AIF1 |
Received in AIF (Start Event) |
|
AIF2 |
Received in AIF (Previous Step) |
|
AIF3 |
Restart in AIF |
|
AIF4 |
Processed Successfully in AIF (Not Finished) |
|
AIF5 |
Processed Successfully in AIF (Finish Event) |
|
AIF6 |
Processed with Errors in AIF |
|
AIF7 |
Canceled in AIF |
|
AIF8 |
Assigned to AIF Interface |
Tasks
|
Business Object Type |
Task Type ID |
Task |
|---|---|---|
|
AIFIF |
AIF8 |
Assign Interface |
|
AIFME |
AIF1 |
Processed in AIF (Initial) |
|
AIFME |
AIF2 |
Received in AIF |
|
AIFME |
AIF3 |
Restarted in AIF |
|
AIFME |
AIF4 |
Forwarded by AIF |
|
AIFME |
AIF5 |
Finished in AIF |
|
AIFME |
AIF6 |
Error in AIF |
|
AIFME |
AIF7 |
Canceled in AIF |
Customizing for the SAP Application Interface Framework
In order to use the Process Observer with the SAP Application Interface Framework, you can make the following settings in Customizing for SAP Application Interface Framework under :
-
Configure Process Observer
For an interface you want to be monitored by the Process Observer, specify the following:
-
The different event types, for example, Initial Event Type and Finished Event Type, which are forwarded to the Process Observer while a message is being processed
If you leave these fields empty, default event types are used.
-
The business object type to be used for the interface of the SAP Application Interface Framework
If you leave this field empty, the default type AIFIF (AIF Interface) is used.
-
The business object type that is used to monitor a message in the Process Observer
The message is the main object to be monitored by the Process Observer. The initial, start, restart, continue, finished, error, and cancel event types are raised to the Process Observer with this business object type.
If you leave this field empty, the default business object type AIFME (AIF Message) is used.
-
The RFC destination, if the Process Observer is on a remote system
-
-
Configure Interfaces for the Process Observer
For an interface you want to be monitored by the Process Observer, specify the following:
-
The key field from the single index table that contains information about the preceding business object ID, for example, the message GUID or the IDoc number.
For a message of an interface that is not the first step in a process defined in the Process Observer, the ID of the preceding business object has to be passed to the Process Observer to enable it to link the current message to the correct process instance.
-
Whether or not the interface is the last step within a business process
If you select the Process Finished checkbox, you ensure that the process instance is marked as finished in the Process Observer (transaction POC_MONITOR). If a message in this interface is the last step in a business process and it has been processed successfully, the process is completed and the finished event is raised.
-
Whether or not the events are raised when a message is processed in the runtime
If you select the Raise POC Events in Runtime checkbox, events for the Process Observer are forwarded while the message is processed in the runtime of the SAP Application Interface Framework.
-
Whether or not the events are raised when a message is processed by the enabler
If you select the Raise POC Events in Enabler checkbox, events for the Process Observer are raised while the message is processed in the enabler of the runtime of the SAP Application Interface Framework. The enabler is called during message processing to monitor a message in the SAP Application Interface Framework.
-
-
Assign Key Fields to Additional Tasks
You can assign single key fields of your interface (for example, business partner ID) to be passed to the Process Observer as an additional task. You are then able to search for those key field values in the Process Observer.

