---
title: How to Consume an OData Service from a Cloud System in SAP Web IDE
description: Learn how to create destinations in SAP BTP or SAP Web IDE to easily access OData services. Get step-by-step instructions in this informative blog post.
---

[Learn SAP from the Experts | The SAP PRESS Blog](https://blog.sap-press.com)

# [How to Consume an OData Service from a Cloud System in SAP Web IDE](https://blog.sap-press.com/how-to-consume-an-odata-service-from-a-cloud-system-in-sap-web-ide)

 Written by [SAP PRESS](https://blog.sap-press.com/author/sap-press) | Dec 1, 2023, 2:00:00 PM

Editor's Note: SAP Web IDE was superseded by SAP Business Application Studio. Neo has also matured into a legacy ABAP environment.

 

The use of OData services in a cloud system represents another common use case in SAP Web IDE.

 

There are two ways to create destinations for the consumption of [OData](https://blog.sap-press.com/introduction-to-odata-in-sap) services in SAP Web IDE. In the first section of this blog post, we show you how to create a destination in [SAP BTP](https://learning.sap-press.com/sap-btp). The alternative is creating a destination in SAP Web IDE itself. This will be shown in the second section.

## Create Destination in SAP BTP, Neo Environment Cockpit

You must also create a destination to consume an OData service. To do this, navigate to the **Connectivity >** **Destinations** area in the SAP BTP cockpit of the subaccount, as shown below. Click **New Destination**.

 

Now maintain the properties of the destination as usual (see next figure). In **Additional Properties**, add **WebIDEEnabled** with the value “true” and **WebIDEUsage** with the value “odata\_gen”.

 

 

 

Then perform a connection test. This should give a positive result, as shown here.

 

In SAP Web IDE, you can include the service in an SAP Fiori project by selecting **New >** **OData Service** from the context menu.

 

 

Now select the **Service URL** as the **Source**. Then you must select the previously created destination in the dropdown menu. You also have to specify the path of the OData service, as shown in the following figure. Afterward you must maintain the model, which is not discussed in detail here because it depends on your application.

 

If you’d like to learn more about OData services, we recommend the book *[SAP Gateway and OData](https://www.sap-press.com/sap-gateway-and-odata_5759/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2413_chapter5&utm_content=2468)* by Carsten Bönnen, Volker Drees, André Fischer, Ludwig Heinz, and Karsten Strothmann.

**5**

## Create Destination from SAP Web IDE

For some time now, developers have also been able to create a destination directly from the SAP Web IDE. To do this, they have to click the **Create a New Data Source** link in the dialog for adding a new OData service, as shown below. The link is then displayed in the dialog.

 

Afterward you can maintain all required attributes, like creation via the SAP BTP cockpit (see final figure). At this point, however, it isn’t necessary to maintain the **Additional Properties**.

 

Editor’s note: This post has been adapted from a section of the book *[Cloud Connector for SAP](https://www.sap-press.com/cloud-connector-for-sap_5683/?utm_source=sappressblog&utm_medium=referral&utm_campaign=Blogs&utm_term=2413_chapter5&utm_content=2413)* by Martin Koch and Siegfried Zeilinger.

[View full post](https://blog.sap-press.com/how-to-consume-an-odata-service-from-a-cloud-system-in-sap-web-ide)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "SAP PRESS"
  },
  "dateModified" : "2026-08-24T17:22:31.906Z",
  "datePublished" : "2023-12-01T14:00:00Z",
  "headline" : "How to Consume an OData Service from a Cloud System in SAP Web IDE",
  "image" : {
    "@type" : "ImageObject",
    "height" : 443,
    "url" : "https://5707200.fs1.hubspotusercontent-na1.net/hubfs/5707200/How%20to%20Consume%20an%20OData%20Service%20from%20a%20Cloud%20System%20in%20SAP%20Web%20IDE.png",
    "width" : 1440
  },
  "mainEntityOfPage" : "https://blog.sap-press.com/how-to-consume-an-odata-service-from-a-cloud-system-in-sap-web-ide",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://cdn2.hubspot.net/hubfs/5707200/rheinwerk-sappress-logo.png",
      "width" : 312.23303
    },
    "name" : "Blog"
  }
}
```