SapHanaTutorial.Com HOME     Learning-Materials Interview-Q&A Certifications Quiz Online-Courses Forum Jobs Trendz FAQs  
     Explore The World of Hana With Us     
About Us
Contact Us
 Apps
X
HANA App
>>>
Hadoop App
>>>
Tutorial App on SAP HANA
This app is an All-In-One package to provide everything to HANA Lovers.

It contains
1. Courses on SAP HANA - Basics, Modeling and Administration
2. Multiple Quizzes on Overview, Modelling, Architeture, and Administration
3. Most popular articles on SAP HANA
4. Series of Interview questions to brushup your HANA skills
Tutorial App on Hadoop
This app is an All-In-One package to provide everything to Hadoop Lovers.

It contains
1. Courses on Hadoop - Basics and Advanced
2. Multiple Quizzes on Basics, MapReduce and HDFS
3. Most popular articles on Hadoop
4. Series of Interview questions to brushup your skills
Apps
HANA App
Hadoop App
';
Search
Stay Connected
Search Topics
Topic Index
+
-
SAPUI5 Overview
+
-
SAP Fiori Overview
+
-
SAP Web IDE

How to access 3rd Party OData Service in SAP Web IDE

In previous articles Prerequisite for SAPUI5 and Fiori, What is SAPUI5?, What is Fiori?, we explained the basics of SAPUI5 and Fiori. We also talked about SAP Web IDE and how to get started with that.

SAP Web IDE is used to extend or create an SAPUI5/Fiori application. Let us assume that the application is consuming an OData service coming from a 3rd party (non-SAP) system. In this article, we will explain how you can configure SAP Web IDE to use these OData Service.

Northwind OData service

Here we will use Northwind OData service as an example. This is a publicly available test service and contains good sample data.
The OData service URL is http://services.odata.org/V4/Northwind/Northwind.svc/

Steps to configure OData Service for SAP Web IDE

  1. Create destination in HANA Cloud Platform
  2. Access the OData in SAP Web IDE using Service URL (Destination)
SAP Web IDE

Step 1: Create Destination in HANA Cloud Platform

Open your HANA Cloud Platform account. If you do not have a HCP account, refer to the article Get Free Access to SAP HANA Cloud Platform and create one.
 
In the SAP HANA Cloud Platform Cockpit, as shown below, click on the “Destinations” menu item on the left. Then click on “New Destination”.
SAP Web IDE
 
Create a new destination in the following way:

Parameter

Value

Name

NorthwindODataService

Type

HTTP

Description

Northwind OData Service

URL

http://services.odata.org

Proxy Type

Internet

Cloud Connector version

2

Authentication

NoAuthentication


Add following additional properties:

Parameter

Value

WebIDEEnabled

true

WebIDESystem

Northwind

WebIDEUsage

odata_gen


Finally the destination should look like below
SAP Web IDE

Step 2: Access the OData in SAP Web IDE using Service URL

Now if you want to create a SAP Fiori application using the SAP Fiori Starter template you have to do the following at step 3 of the creation process:
  • Select Service URL
  • Select the destination we have created, in this case it’s Northwind OData Service
  • Copy here the path to the service, in this case “/V3/northwind/northwind.svc
  • Click on the little “Play” button
  • Click on Next and proceed with project creation

SAP Web IDE

This is the way we access and consume OData Service in Web IDE. If you still have any dout, post that in the comment below.


Support us by sharing this article.



Explore More
Close X
Close X

5 thoughts on “How to access 3rd Party OData Service in SAP Web IDE ?

  1. Erin says:

    I added the new destination in the hana cloud cockpit and it is successfully connected. When I go to choose a service URL the “choose a system to connect to the required service” field is blank. How can I fix this?

    • Admin says:

      Hi Erin,
      Did you added the property WebIDEUsage, WebIDEEnabled properly? Could you please crosscheck the value of these properties.

  2. naresh says:

    hi i am using /V3/northwind/northwind.svc in sap web ide . But still i am facing one issue this servicves.
    issue: odata version 3 is not supporting .

  3. Heena says:

    Hi,

    After selecting service URL, when i am entering value in Workspace getting error “Odata version3 is not supported”.

  4. Heena says:

    Got solution..

Leave a Reply

Your email address will not be published. Required fields are marked *

Current day month ye@r *

 © 2017 : saphanatutorial.com, All rights reserved.  Privacy Policy