Show TOC

Setting Up Task Gateway Service for Multi Origin Composition (MOC)Locate this document in the navigation structure

Use

Multi Origin Composition (MOC) enables you to collect data from different backend systems, aggregate them in one single service, and update different backend systems using the same user.

For more information, see Multiple Origin Composition.

When working with Multi Origin Composition, you need to consider the error behavior specified for a given service. The default error behavior is not error-tolerant. If the data retrieval from any of the backend systems causes an error, the READ feed returns that error. If a service is market as error tolerant the following applies:

  • An error is returned only if the data retrieval from all backend systems causes an error. Otherwise, if only some of the backend systems cause an error, a feed is returned to the client.

  • The data retrieved successfully from some of the backend systems is fed into that feed.

  • The data missing from those backend systems that caused an error can be requested again.

In the SAP Gateway system, open the SAP Reference IMG in transaction SPRO and navigate to Start of the navigation path SAP NetWeaver Next navigation step Gateway Next navigation step OData Channel Next navigation step Composition Next navigation step Set Error Tolerance for OData Services for MOC End of the navigation path.

Procedure

Set up your Task Gateway service for use with MOC by adjusting the error tolerance as follows:

  1. In the SAP Gateway system, start transaction SPRO.

  2. Choose SAP Reference IMG.

  3. Choose SAP Customizing Implementation Guide: Start of the navigation path SAP NetWeaver Next navigation step Gateway Next navigation step OData Channel Next navigation step Composition Next navigation step Set Error Tolerance for OData Services for MOC End of the navigation path.

    Note

    If your system is based on SAP NetWeaver 7.40 or higher, choose SAP Customizing Implementation Guide: Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step OData Channel  Next navigation step  Composition End of the navigation path.

  4. Select the Set Error Tolerance for OData Services for MOC activity.

  5. Choose New Entries. The screen New Entries: Overview of Added Entries is displayed.

  6. Enter the name of the service you previously created and activated (see Activating Task Gateway Service). After you have entered the name of your service in this table, your service is effectively flagged as being error tolerant for MOC.