cancel
Showing results for 
Search instead for 
Did you mean: 

Right approach to push data from HCP to on-premise EM system

Former Member
0 Kudos

Hello,

I am doing a POC on IoT to combine the sensor data with business data to trigger notifications in case of temperature excursions. In the first part of the POC, we have been able to receive data from the sensor tags into the HCP.

The second part of the POC is to push this data into SAP EM system, combine this data with the shipment data from the ECC system and trigger notifications based on the temperature excursions to the right stakeholders.

I need help in understanding how I can push this data to the EM system:

1. Can I use the the feature 'send and receive messages through HTTPS in the MMS cockpit' to forward this data to an HTTP endpoint( my on -premise web service/RFC) everytime a new record is posted in the DB table defined for the sensor/device type combination?

2. Develop a servlet that constantly listens to the data and calls the RFC in the on-premise system to push the data

Please suggest the right way of pushing this data to the EM system everytime a new record is posted. It would be best if we can use the standard options provided in the HCP platform and have limited coding.

Please suggest and guide the best way out.

Thanks,

LP

Accepted Solutions (0)

Answers (2)

Answers (2)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Lailu,

for a tutorial of how to call RFC-enabled function modules in the on-premise backend system, see Invoking ABAP Function Modules via RFC Protocol.

For this, the SAP Cloud Connector needs to be installed on-premise. (Instructions & download links can be found in the same documentation, a bit further up.)

So one possible approach would be, you write a HCP Java application which periodically checks for new data in the database (or gets automatically triggered by an IoT update) and then sends the data to on-premise using the JCo API described in the tutorial.

Best Regards, Ulrich

anton_levin
Advisor
Advisor
0 Kudos

Hello Philip,

please see this discussion [1] with the suggested options from and myself

Regards,

Anton

[1] http://scn.sap.com/community/developer-center/cloud-platform/blog/2016/05/09/access-hcp-iot-services...

Former Member
0 Kudos

Hi Anton,

Thank you for the response.

Sorry, I still didn't get how I should proceed after reading the blog. It would be great if you could explain how I can use the MMS cockpit message forwarding service to achieve my scenario.

Thanks,

LP

anton_levin
Advisor
Advisor
0 Kudos

With regard to MMS Message Forwarding option, please follow the online documentation [1]

Regards,

Anton

[1] SAP HANA Cloud Platform Internet of Things Services