Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

#5 How To... Implement End-to-End Push Notifications with HCPms and SAP Gateway

$
0
0

#5.pngThis is a part of the implementation details of How To... Implement End-to-End Push Notifications with HCPms and SAP Gateway.


 

Implementation Plan

10.png

Deploy and configure HANA Cloud Connector so that HCPms can talk to SAP Gateway Hub system over the firewall.


Steps to Implement


- Install HANA Cloud Connector


Have a read through the official HANA Cloud Connector documentation: SAP HANA Cloud Platform

and do the installation step.

 

- Configure the cloud connector for SAP Gateway


Click on the "Access Control" on the left side and press "Add..." for Mapping Virtual To Internal System. Select SAP Gateway pulldown.

5.1.png

In the Add System Mapping popup, enter your SAP Gateway Hub system host name and its HTTP port.

5.2.png

In the Add System Mapping - this one you can enter whatever host name and port# value.  For this example the port # is 443+Gateway Instance#.

5.4.png

Once you created the entry, click on "Add..." button of Resource Accessible On <hostname>:<port>.

5.3.png

Enter the value "/sap/opu/odata" for URL Path field. And choose "Path and all sub-paths".

5.5.png

Once you save it - you should be able to confirm the status gets green.

5.6.png

Now your OData client should be able to fetch the OData via HANA Cloud Connector from outside the firewall!


 

- Update the Backend URL in HCPms


Let's ensure if this roundtrip is really working fine.

5.8.png

Now you can use the new OData Endpoint URL for your app config in HCPms Cockpit.


Note - following steps requires RMTSAMPLEFLIGHT OData services (a part of the SAP Gateway installation) that should be already installed & activated.


Maintain your current application config on HCPms (remember you entered the dummy value for the Backend URL during the steps in #2?) Here you enter the new Backend URL. This example shows the host & port value, which was defined in the HANA Cloud Connector. The FLIGHT OData service document path is "/sap/opu/odata/iwfnd/RMTSAMPLEFLIGHT/" - for my demo system, the FLIGHT OData service on the SAP Gateway Hub system requires Basic Authentication, so the correct values are entered for Authentication Type, User Name, and Password too.

5.7.png

Time to test the new setting. Set those parameters for the REST client:

 

Method - GET

URL - https://<hcmps server>/<your app id>

Headers - X-SMP-APPCID = <your app connection id on HCPms> (May not required, depends on your HCPms account role setting)


The URL maps to the Service Document of the Gateway service.


Perhaps the browser will request for the basic authentication for HCPms credential. Your request & response should look like this - with the 200 OK in the response header. You should confirm the OData service document payload in the Response Body too.

5.9.png

Congratulations, now the roundtrip via the HANA Cloud Connector is successfully done.


What's next? Let's configure the SAP Gateway Hub.



#6 How To... Implement End-to-End Push Notifications with HCPms and SAP Gateway


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>