Understanding Destination Types available in SAP Cloud Platform Mobile Services
For latest information, please visit Mobile Services documentation.
Let’s first understand “destination” terminology. A destination basically is a connection to your backend system (either on-premise or cloud)
For any app that is being built via SAP Cloud Platform Mobile Service, it’s a two fold process. First app must authenticate into SAP Cloud Platform and later to your backend data source.
Destination play a role in second part of authentication
When you create a new destination in SAP Cloud Platform Mobile Service for an application, you will see 3 different options
Now let’s understand when to choose which “destination”
- Here, you can provide destination URL depending on where your backend system reside.
- In case of connecting to on-premise system (you would need SAP Cloud Connector to connect to these systems), you should select Proxy Type as On-Premise (Cloud Connector) and URL should point to Virtual host
- In case of connecting to systems e.g. publicly accessible one like ES4, ES5, Northwind , you should select proxy type as Internet
- To understand , which SSO Mechanism could suit in your scenario, check out this blog post
Cloud Platform Destination:
- When you choose this option, you basically refer to an existing destination available in SAP Cloud Platform Cockpit. You don’t need to enter this destination manually in Mobile service cockpit.
Important Info: When you are creating a destination in Mobile Service for Development and Operations, the destinations with authentication PrincipalPropagation created on SCP Cockpit are not available to be selected. The PrincipalPropagation authentication is only supported in destinations with CloudConnectorVersion set to ‘2’ . Check SAP Note: 2628630
- With this kind of destination, you can create a custom Fiori Client applications. Here, you need to provide destination connecting to SAP Fiori server i.e. on-premise Fiori Front End server or SAP Fiori Cloud
- By default, in SAP CP Mobile service account cockpit, you will find a pre-added Fiori client destination connecting to Fiori Cloud Edition. default Fiori destination cant be edited or deleted)
- Depending on either selection of Fiori Destination Type as SAP Fiori Cloud or Front End Server, you will see respective configurations to proceed further.
- For SAP Fiori Cloud
- SSO Mechanism is Application-to-Application SSO
- Destination URL must be in HTTPS Format
- For Front End Server
- SSO Mechanisms are SAPAssertionSSO, Principal Propogation, Basic Authentication
- Destination URL must be in HTTP Format
- For SAP Fiori Cloud
I would recommend to follow this blog post for more details.
For More information on Single-Sign-On mechanisms , please read this blog post from my colleague.
Product Management, SAP Cloud Platform User Experience
Very nicely explained blog.
Updated with adding important info:
When you are creating a destination in Mobile Service for Development and Operations, the destinations with authentication PrincipalPropagation created on SCP Cockpit are not available to be selected. The PrincipalPropagation authentication is only supported in destinations with CloudConnectorVersion set to ‘2’ . Check SAP Note: 2628630
While creating a destination for one of my project, I have to use proxy type as “On Premise – Cloud Connector” and need to configure the https url, I guess which is not supported as I am below error while configuration url as https:
“Invalid URL: Only http:// is allowed for OnPremise destination”
Backend system has ABAP gateway and we are connecting it through Principal propagation. For Web IDE there is a provision to configure https url and we verified it is working as expected, but for mobile service I am not able configure the https url.
Do you have some suggestion how to proceed to resolve this problem?
Thanks for the detail explanation about destinations.
I am new to SAP Cloud platform, still in learning phase.I have question, please answer me if you know.
Difference between connectivity services and destination services with some basic example in SAP Cloud environment.
As per your blog, you have explained clearly about destination how to create and where to use using destination service in cloud environment.
In the same way, just explain with some basic example about the difference of connectivity and destination service.