SAP Code JAM Exclusive Edition –TechMahindra Chennai
Hi, in this blog I’ve penned down the learning experiences of a 2 day workshop by
SAP CodeJam Exclusive Edition in Tech Mahindra (10 & 11
th Nov 16). The workshop was all about
SAP HCP & IOT.
SAP HCP itself provides flexible subscription models and services for infrastructure, database, and apps, this along with IOT services provides a world class solution to the digitization of the customer(consumer) needs.
We were led under the guidance and expertise of three technology analysts from SAP. Mr.Vasu Kesiraju who is a Product expert in HCP, WebIDE and UI5 from SAP Technology RIG, Mr. Manjunath Gudisi is an expert in HCP, IoT, and iOS from SAP Technology RIG and their team was strengthened or accompanied by Mr. Manjunath Baburao who is the Product Manager of HCP in India.
DAY 1
To get into the details of the workshop, we were a group of mixed crowd, meant to say that our audiences included of people who were well-versed in HCP as well as people who were new to this platform, so to address everybody who have gathered for session, Day-1 started with familiarising ourselves on connecting Eclipse with SAP HANA Cloud Platform. After huddling through various infrastructure issues we started by creating a Java app in SAP HCP. The below site is an entry point where one can find various step-by-step tutorials on various topics under Developer tab inside Tutorial Navigator.
We followed the tutorials namely
- Java Group 1: Creating a basic Java app in SAP HANA Cloud Platform and
- Java Group 4: Basic Java app with HCP and Eclipse
to create a simple Java application to demonstrate the basic drill of developing applications and deploying them locally and to the cloud.
Later Mr. Manjunath babarao and Mr. Vasu Kesiraju gave us a detailed description of SAP HCP services, what are its capabilities and benefits, and they even shared a piece of information like for every 15 days SAP comes up with a new release of service in HCP and other updates which was not possible in the conventional solution. They also shared some of their success stories on how these services proved to handle even the toughest of tough challenges faced by their customer in various business aspects at ease.
Following which we discussed about JPA based development paradigm which helps us to consume data from Non-SAP source which was a new concept for us. This has opened several opportunities for us to work with various other backend “System of records”. This course also covered about multitenancy where the application can be accessed from different source
To much of people’s interest, the success stories of SAP can be read from the below link
https://hcp.sap.com/success.html.
After having a quick lunch at our premises the second half of the day resumed with completing our day’s activity of connecting our Java app with SAP HANA cloud platform.
The day ended the enlightenment of developing applications and deploying them locally and to the cloud and with the excitement of getting our hands dirty with the IoT devices and coding for the next day. We even had a brainstorming session where the experts Mr.Vasu Kesiraju and Mr. Manjunath babarao clarified the various doubts and misconceptions we had in the technology. After ending the day with high tea, and with the help of some of our colleagues we made sure that the necessary Hardware and Software pre-requites has been checked for Day 2 to start with.
DAY 2
Day 2 started with a briefing on IoT devices and the services related to it. Mr.Manjunath Gudisi gave us simple illustration and coined IoT and its services in a nutshell as
Sense->Analyse->Action
And so the mantra of any IoT related scenario is to
Sense the data through a medium such as Wi-Fi, BlueTooth (BLE) or Zigbee, then
Analyse the data on how can it address the business requirements and put the
solution into Action by using the services provided.
Day 2 was very much exciting as we were actually given a chance to play with IoT device. A microcontroller called Tessel, were given at our hands to experiment. It runs on Javascript and collects the data based on the sensors attached, which is referred to as a module.
We started with learning IoT’s initial commands followed by connecting the Tessel devices to Wi-fi medium through a mobile hotspot. We started to run a few basic commands from the site
https://tessel.io/ in the npm environment and made our devices ready to receive the data from the core microprocessor.
We were given 5 different use-case scenarios in which we were expected to derive a solution by using 5 different modules or sensors namely
- Ambient,
- Climate,
- Accelerometer,
- Camera, and
- Gyro meter
Now as a part of the workshop we were assigned the activity of capturing these output values by using the sensors and converting it into HCP-IoT interpretable format so that the same can be uploaded into our HCP servers.
To guide our way, at first we were asked to follow the steps in Developer tutorials
- Internet of Things (IoT) Setup the Tessel
- IoT Group 2: IoT with SAP HANA Cloud Platform IoT Services
After setting up our devices we paused the session and had lunch with our delegates at our premises, later we proceeded with our hands-on activity.
By following the mantra of
Sense, Analyse and Action in IoT related activities, firstly we
Sensed the data and derived the necessary output through JavaScript coding in the npm environment. Secondly. now it’s time for us to
Analyse the data. To serve this purpose we used our standard SAPUI5 based tools to fetch respective records for HCP so that it can be represented in a more human understandable form such as graphs or charts. This helps us to take the necessary decision whenever the threshold is breached.
Time simply flew as everybody showed their active and enthusiastic participation in sensing and analysing the data based on the sensors given to them. But unfortunately due to shortage of time we weren’t able to actually realize our analysed data into action, but nevertheless, the SAP Team explained us in detail on how to consume the data in our application and how to work on the
Action front of it.
We were truly enlightened by the 2 day workshop which proved worthy of the time and effort spent by everyone of us. And we can’t thank enough our SAP team (Mr. Manjunath babarao , Mr.Vasu Kesiraju, Mr. Manjunath Gudisi & Dalal, Krishna (Event Organizer SAP Side) for accepting our invitation, giving us a greater insight of how IoT devices and HCP services are integrated and patiently attending to all our queries. A big thanks to the SAP team and to all the attendees for their kind cooperation to make this workshop serve its purpose and for making this event a successful one.
And to mention, the key takeaways of the workshop were
- How to create a simple web application on HCP
- How to apply authentication and authorization
- How to expose business functionality as an external RESTful API
- How to add JPA-based persistence to your web app
- How to leverage the multi-tenancy features of SAP HANA Cloud Platform
- How to use the connectivity service to consume external services
- How to add a mobile-friendly UI5-based user interface to the web application
- Thorough hand-on experience on IoT devices
- Data extraction using various modules such as
- Ambient – which senses the ambience of the place
- Climate – which senses the temperature of the place
- Accelerometer – which senses the rotation or position of the device
- Camera – which senses the motion or command and captures a picture
- Gyro meter – which senses and measures the angular velocity
- Analyse the data and extract it in a consumable oData service format or JSON, XML data format.
- Derive various solutions to address the use cases using this data with the help of HCP
@manjunath.baburao@sap.com
@manjunath.gudisi@sap.com
@vasu.kesiraju@sap.com
@krishna.dalal@sap.com