One of the simple way of connecting SAP API Management to any of the On-premise back-end system is via cloud connector. Here with this blog you will be able to connect SAP API Management to your backend (ABAP System) via cloud connector.
Clod Connector Overview
The SAP Cloud Platform cloud connector (cloud connector) serves as the link between on-demand applications in SAP Cloud Platform and existing on-premise systems. The cloud connector runs as on premise agent in a secured network and acts as a reverse invoke proxy between the on-premise network and SAP Cloud Platform. Due to its reverse invoke support, you don’t need to configure the on-premise firewall to allow external access from the cloud to internal systems
To know more on SAP API Management, refer
In this blog I have taken an example of my hanatrial account for SAP API Management and EOP as a backend(ABAP) system
Let’s get started!
For Downloading and configuring cloud connector refer
Open cloud connector on your browser;following screen should come up
Enter User name and password to login as Admin which you have changed as per above link
Click on Add Account to add an account
Fill in the appropriate details as shown below for your account
Here for SAP API Management I have taken example of my hanatrial account
Under Account Dashboard; Account should be added
As I have added my hanatrial account as host so my hanatrial account should be added as shown below
Now we will be adding the On Prem system for eg ABAP system
Click on Cloud To On-Premise
Add Backend System as ABAP and Click Next
Select Protocol as HTTPS and click Next
Add host and port of Back end System and click Next.
In Virtual Host and port don’t put the same name and port as above
Select Principle Type as None and Click Next
Check the summary, select internal host checkbox and select Finish
System should get added
Click on Add button under Resources Accessible to add url path as”/” this is to consider all the resources after “/”
With this we have configured our back-end system and now we will check in SAP API Management whether we are able to discover the odata services from back-end system
Open SAP Cloud Platform Cockpit from where I can see under Connectivity – Cloud Connectors the successful connection to the on-prem system.
That’s All you need. Now let’s go to API Portal
Services->click on API Management Tile->click on Access API Portal.
Click on Develop and Navigate to API Providers
Create API Provider
Fill the following details
Navigate to Authentication and give backend system details
In my case I am connecting to ABAP Backend system and client is 005 and hence catalog URL looks like
Note:Once we create API Provider the corresponding destination automatically gets created with the same name
Next we create a API Proxy for a service coming from the on-premise backend system. Give API Provider as “Demo” and click on Discover. All the Odata services will be listed. Click on any one and save it.
Created API should get saved.