Show TOC

Process documentationError and Conflict Handler in Asynchronous Processes with Enterprises Services Locate this document in the navigation structure

 

You use Error and Conflict Handler (ECH) to process conflicts in asynchronous processes with Enterprises Services.

Process

The individual components have the following relationships:

This graphic is explained in the accompanying text.

  1. The receiving ABAP server receives a service call through the Web service runtime. The relevant proxy forwards it to the service implementation (provider). The service implementation processes the query.

  2. If an error occurs during processing, the error symptom is transferred to ECH.

  3. ECH registers itself as a callback with the Web service runtime

  4. The service implementation then issues an exception. Depending on the service implementation, the Web service runtime either does or does not execute a rollback.

  5. If a rollback has been executed, the Web service runtime calls ECH to handle the previously entered error symptom. Multiple error symptoms are entered for a bulk service.

  6. ECH uses HDS to determine the resolution strategy for each error symptom.

  7. A corresponding postprocessing order is then created in PPO. A postprocessing order is created for each object instance in a bulk message.

  8. Finally, the Web service runtime triggers a Commit. The service message that was received gets the status Error – Transfer to External Application.

At the time of postprocessing, the service implementation calls up its callback functions Repeat, Reject, or Confirm according to the resolution strategy. If the message is processed repeatedly, an additional error symptom, for which another resolution strategy is needed, may occur. The postprocessing order is updated accordingly. When you have completed the postprocessing order using one of the callback functions, the Web service runtime is informed, if all postprocessing orders resulting from the same service message have been solved. The service message has the status Processing Successful or Incorrect.