Creating an OData Model Using the Service Catalog

Create an OData model using an existing file from the Service Catalog.

Context

This section will guide you to create new OData model based on existing OData service in SAP NetWeaver Gateway.

Procedure

  1. Create a project as outlined in the Creating a Project section.
  2. Right click on the project in the Project Tree region, and select Start of the navigation path New Next navigation step Other End of the navigation path.
    The Select a Wizard window displays.
  3. Locate OData Development folder, expand it and select OData Model.
  4. Click Next to proceed.

    The Create New OData Model window appears.

  5. Choose Browse or enter the folder name in the Folder field to select a project folder for the new OData model.
  6. Enter a name for the model in the Model Name field.
  7. Select Service Catalog from the list and click Next.
    Note Atleast one connection should be added to the SAP NetWeaver Gateway system to view the service catalog available in the system. See for more information.
    The Connections and Services window appears. The Select OData service from Service Catalog window appears.
    The available connection and services are displayed in the Connections and services region.
    Note You can also choose Manage Connections links to open the Start of the navigation path Preferences Next navigation step Connections End of the navigation path window. See for more information.
  8. Select a service from the service catalog and click Finish.
    The selected service opens in the OData Model Editor for editing.