Skip to Content
avatar image
Former Member

Can we connect Raspberry Pi to SAP HANA Database


I am trying to connect the raspberry pi to hana database. We are not on HANA Cloud , i wanted to send the sensor data from raspberry pi device to a database table in SAP HANA ?

Question is : If i dont have hana on cloud, will i be able to excecute this scenario.

What are the pre-requisite for the same ?

What all tools / languages we might need to use here in order to get this sensor data read into SAP HANA ?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 27, 2015 at 09:55 AM

    Hello Harish,

    1. You have to create a table in your HANA system
    2. You have to create a XS Project in your HANA System and create a REST odata web service for your table from step 1 - this service must be available from the internet.
    3. Write a JAVA or Python script at your Raspberry and send it to your just created web service
      1. As example coding for this you can use the tutorials from the cloud and adjust is a little bit to your REST Web service.
      2. RaspberryPi on SAP HANA Cloud Platform



    Add comment
    10|10000 characters needed characters exceeded

    • Hello Harish,

      Using REST services for HANA IoT project is probably good enough for low volumes of data or simple POCs, but if you're going to have higher levels of messages, using WebSockets is going to be more efficient than REST calls.



  • Oct 26, 2015 at 07:55 PM
    Add comment
    10|10000 characters needed characters exceeded