Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 19, 2016 at 05:14 PM

    Hello Philip,

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

    Regards,

    Anton

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 08:54 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.