Setting the OData Mobile Data Object Service Assignment

You can assign SAP system aliases to a service. With the assignment, an OData request from an SAP Gateway consumer can be routed to the corresponding back end service.

Context

Assign OData services to the SAP Asset Manager application using the Service Assignments tab.

Build a hierarchy between assigned services using Composition Settings. To utilize OData entities from a different service such as the Crew Management and Field Operations Worker component service, add the relevant OData services (/MERP/SAP_CREW_MANAGER_<XX> and /MERP/SAP_FIELD_OPER_WORKER_<XX>) under the SAP Service and Asset Manager service as shown in the following example:

Procedure

  1. Ensure that your mobile application is selected in the Mobile Application Filter field at the top of the page.
  2. Expand the Mobile Application List in the left pane and select your mobile object.

    Your chosen mobile application OData service assignment details are displayed in the main window on the Service Assignments tab.

  3. Click the Change button to change the existing mobile service assignment details or to add a new mobile service assignment.
  4. To add a new mobile service assignment, click the Assign OData Service button.
    1. Select an OData Version, if there is more than one to choose from, from the dropdown menu.
    1. Select an OData Service, or system alias, from the dropdown menu.

      The corresponding back-end server is populated in the Service field.

    2. To Defer Batch Response, mark the checkbox. That is, you are setting the OData service to process all of the CHANGESET operations at once (deferred processing).
    3. To activate your new service assignment, check the Active checkbox.
  5. On the Composition Settings tab, build a hierarchy between your OData services to include all metadata from different child services. You can add and remove component assignments depending on your service needs.
  6. To add a component assignment, choose Add Component Assignment.
    1. Select a Parent OData Service from the dropdown list.
    2. Select Component OData Service from the available list to make it a child service for the parent OData service.
    3. To activate the new component assignment, check the Enabled checkbox.
  7. To remove the component assignment, select the service component you want to remove and choose Remove Component Assignment.

    The hierarchy relationship with its parent service component is removed.