Example: Monitoring SAP Programs Update Requests

SAP programs may request asynchronous updates that are executed in different processes and transactions. For more information, see the SAP website. With the following workflow solution you may monitor these requests.

Monitoring Workflow

Create a workflow containing two SAP Job objects. The first Job shall schedule update requests and the second one shall wait until all update requests have been executed.

The status of the workflow will be ENDED_OK, if all update requests have finished without errors.

The second SAP job contains only one command:

R3_ACTIVATE_REPORT REPORT="Z_WAIT_FOR_UPDATE"

The example program Z_WAIT_FOR_UPDATE uses the function module UPD_CHECK_LOCAL_QUEUE to periodically get the status of update requests. It completes, if no update requests are active.

For this information in FCC 2.0 you may use external Jobs. Details on external Jobs may be found on SAPs website.

See also: