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
+
-
Cloud Computing Overview
+
-
SAP Cloud Platform
+
-
Internet of Things
+
-
SAP and IoT
+
-
Cloud Foundry Overview
+
-
Examples with Pivotal CF

How to Create Destination in SAP Cloud Platform

In previous article SAP Cloud Platform Overview, we explained the basic features and architecture of SAP Cloud Platform. We also learnt How to get free access to SAP Cloud Platform.
In this article we will learn about a very important concept in SAP Cloud Platform - called Destination.

What is Destination in SAP Cloud Platform?

Destinations are used for the outbound communication from a cloud application to a remote system.

How to Create Destination in SAP Cloud Platform

If an application running on SAP Cloud Platform needs to access data from a remote system, then destination can be used. Destination contains the connection details for the remote system.

For example, if a Fiori App is running on SAP Cloud Platform and needs to access a 3rd Party OData Service, then it can use destination.

How to Create Destination in SAP Cloud Platform

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_.

Now let us learn step by step how to create and use destinations.

Step 1: Log into SAP Cloud Platform

Go to https://account.hanatrial.ondemand.com and log in to your SAP Cloud Platform cockpit.

How to Create Destination in SAP Cloud Platform

If you do not have access to SAP Cloud Platform, refer to the article Get Free Access to SAP Cloud Platform_.

Step 2: Create New Destination

Select the Destinations tab on the left side, and then click on New Destination to open a new destination configuration form.

How to Create Destination in SAP Cloud Platform

Enter following details.
Parameter Value
Name NorthwindODataService
Type HTTP
Description Northwind OData Service
URL http://services.odata.org
Proxy Type Internet
Cloud Connector version 2
Authentication NoAuthentication

The form should look like below.

How to Create Destination in SAP Cloud Platform

Step 3: Add Destination Properties

You can also add additional properties in destination. Add three Additional Properties fields by clicking on the New Property button once for each property. Later we will learn more about these properties.
Parameter Value
WebIDEEnabled true
WebIDESystem Northwind
WebIDEUsage odata_gen

Click on the Save button.
Finally, the destination should look like below.

How to Create Destination in SAP Cloud Platform

How to use destination in an application?


How to Create Destination in SAP Cloud Platform
A destination can be used by any application (for example Java application or SAPUI5 application) to connect to remote system.

We have provided an step by step guide on using destination in SAPUI5 application. Please refer to the article My First SAPUI5 Application using SAP Web IDE.

Proxy Type in Destination

There are 2 possible values in Proxy type - Internet and OnPremise.
  • Internet: If your remote system is publicly accessible on the internet, select Internet.
  • OnPremise: If your remote system resides behind a firewall, select OnPremise. For example, for ERP system, select OnPremise.

Additional Properties in Destination

Below is the list of important destination properties.
WebIDEEnabled:
If you want to use the destination in Web IDE, then this property must be set to "true".

WebIDESystem:
Specify SAP System ID to this property.

sap-client:
If the destination is pointing to an SAP ABAP system, enter SAP client for that ABAP system.

WebIDEUsage:
This property may have following values.

Parameter Value Description
odata_abap For the OData functionality of Gateway (corresponds to URL path /sap/opu/odata).
odata_gen For generic OData functionality (service URL must be provided manually in the New Project wizard)
ui5_execute_abap For executing SAPUI5 applications from the SAPUI5 ABAP Repository (corresponds to URL path /sap/bc/ui5_ui5)
dev_abap For extensibility scenarios and developing or deploying to SAPUI5 ABAP Repository (corresponds to URL path /sap/bc/adt)
bsp_execute_abap For working with fact sheets (corresponds to URL path /sap/bc/bsp) plugin_repository: For exposing optional plugin repositories (corresponds to URL path /plugins/pluginrepository)
odata_xs For SAP HANA XS OData services (corresponds to URL path/sap/hba)
api_mgmt_catalog For the API management system
api_mgmt_proxy For the API's endpoint
odata_smp For accessing OData Services in an SAP Mobile Platform system
odata_hcp_odp For accessing OData services in an OData Provisioning system on Cloud Platform
odata_hci For accessing OData services in a HANA Cloud Integration system on Cloud Platform.
hci_ifl_node For setting up the integration flow node in the HANA Cloud Integration system on Cloud Platform
smart_business_odata For smart business OData services
smart_business_gen For smart business annotation generation services

If you have any question or doubt, please post in the comment.



Support us by sharing this article.



Explore More
Close X
Close X

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