So far, we have configured IoT Services Cockpit to receive messages from sensor device and HCC setup for passing the message to on premise SAP Event Management system. But this is not enough- we need to read the sensor message from IoT MMS data source table and call the resource (the EM BAPI) we configured via HCC. There are multiple ways to do this as described in this SAP Help portal. I use Java Persistence API(JPA) for this purpose. We have to deploy a small Java Servlet application on HCP which does this trick. Attached the sample code for this servlet.
After deployment, you will see the application under Java Applications section in HCP Cockpit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
25 | |
18 | |
16 | |
12 | |
10 | |
8 | |
8 | |
7 | |
7 | |
7 |