Programming

Introducing the SAP Connectivity Service for SAP BTP

This blog post will focus on the SAP Connectivity service, which will connect your SAP Business Technology Platform (SAP BTP) applications to on-premise systems using the following connections:

  • HTTP/HTTPS
  • RFC
  • SAP HANA database via service channels

You could call it a kind of proxy, whereas the destination service would just store the technical details, not connect your application.

 

This service isn’t needed if you just want to access the technical information stored within the SAP Destination service (e.g., to access URIs in the cloud, on the internet, etc.). The main reason for introducing this layer is that cloud applications typically authenticate via the OAuth standard, while in the backend, you might have RFC authorization via SAP Java Connector or—generally speaking—other means of authentication.

 

To enable the SAP Connectivity service, click the Service Marketplace menu item of your SAP BTP cockpit and search for “connectivity” (see figure below).

 

Finding SAP Connectivity Service within Service Marketplace

 

Note that there are two service plans available. Choose the menu entry with the lite service plan, as shown above, and click the Create button in the upper-right corner. On the next screen (shown below), you can leave the default values and just provide a meaningful name in the Instance Name field. Confirm by clicking Create.

4

Instance Creation for SAP Connectivity Service

 

The service instance will be created, and you will see an information dialogue, which you can confirm by clicking Close.

 

Confirmation of Service Creation

 

The recommended application flow for SAP BTP applications is as follows:

  1. Determine the destination to use (e.g., via application configuration).
  2. Read the destination information from the SAP Destination service.
  3. Set up the connection proxy via the SAP Connectivity service.

To access the destination information within step 2, the SAP Connectivity service API will be used. In order to access the API reference, open https://api.sap.com/ in your web browser. Under Explore > Categories, click APIs.

 

Finding APIs: Menu Entry in SAP API Business Hub

 

Within the APIs section of SAP API Business Hub, enter “connectivity” in the Find field and select the SAP Connectivity Service tile.

 

Finding SAP Connectivity Service in SAP API Business Hub

 

The following screen will let you choose between the implementations for the Neo or Cloud Foundry APIs.

4

Selection between Neo and Cloud Foundry APIs

 

Possible operations include finding destinations by their names (globally or on the subaccount level) and accessing the properties. Certificates can also be accessed if present. This provides your developers with the information present within the destination service. That information can now be used to access on-premise systems using the SAP Connectivity service.

 

Further information can be found online at http://s-prs.co/v568302.

 

Future Outlook: For the future, SAP has announced that it plans to introduce a REST API that will enable managing active and passive subaccount certificates, which will make a nondisruptive rotation of signing certificates possible. Currently this has been announced for the SAP BTP, Cloud Foundry environment only. For more information, and for information about other announced features, visit http://s-prs.co/v568303.

 

Editor’s note: This post has been adapted from a section of the book Cloud Connector for SAP by Martin Koch and Siegfried Zeilinger.

Recommendation

Cloud Connector for SAP
Cloud Connector for SAP

Establish quick and secure communication between your cloud and on-premise systems with SAP Connectivity service’s cloud connector! Set up and configure the cloud connector, from performing sizing to implementing connectivity APIs. Link on-premise SAP products to SAP BTP and its services, including SAP Business Application Studio, SAP Integration Suite’s Cloud Integration, and more. With information on creating secure connections, administering the cloud connector, and monitoring, this guide has everything you need!

Learn More
SAP PRESS
by SAP PRESS

SAP PRESS is the world's leading SAP publisher, with books on ABAP, SAP S/4HANA, SAP CX, intelligent technologies, SAP Business Technology Platform, and more!

Comments