Show TOC

Configuring the RuntimeLocate this document in the navigation structure

Use
  1. In transaction SPRO, open the SAP Reference IMG and navigate to Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step SAP Gateway OData Channel Development Next navigation step Registration End of the navigation path to display the registration tasks that we need to carry out:



    Figure 1: Runtime configuration - Assign Data Provider to Data Model
  2. Select Assign Data Provider to Data Model.

  3. Create the following new entry to assign the data provider runtime class to the UC Data Model that we created:

    Model Identifier

    Type

    Software Version

    Class/Interface

    Description

    Model Name

    ZHS_EPM_GI_0001_UC

    (Adaption) Data Provider

    DEFAULT

    ZHS_CL_MGW_EPM_GI_RT

    EPM Tutorial

    ZHS_EPM_GI

    Note

    The model name (ZHS_EPM_GI in our example) is identical to the GSDO group name we will register in Step 7.

  4. In the expanded IMG tree, select Assign SAP System Aliases to OData Service.

  5. Create the following new entry, choosing a system alias of LOCAL.

    Service Doc. Identifier

    User Role

    SAP System Alias

    Technical Service Name

    External Service Name

    Version

    ZHS_EPM_GI_0001

     

    LOCAL

    ZHS_SG_EPM_GI

    ZHS_SG_EPM_GI

    1

  6. In the expanded IMG tree, select Manage GSDO Group for OData Service.

  7. Create the following new entry:

    GSDO Group

    Active

    Service Doc. Identifier

    Implementation

    Description

    ZHS_EPM_GI

    Yes

    ZHS_EPM_GI_0001

    OData Channel Implementation

    EPM Goods Issue Tutorial

Result

The runtime configuration is completed. To check the service, proceed as follows:

  1. Go to transaction SE80 and open the Consumption Model we created (ZHS_SG_EPM_GI) by double-clicking it.

  2. Start the XML and Metadata URL by selecting the XML and Metadata buttons at the end of the URL field.

An example for the XML can be found at: http://<server>:<port>/sap/opu/sdata/sap/ZHS_SG_EPM_GI/?sap-client=100&$format=xml

An example for retrieving goods issue information can be found at: http://<server>:<port>sap/opu/sdata/sap/ZHS_SG_EPM_GI/GoodsIssueItemCollection?sap-client=100&$format=xml