SAP HANA®
SAP HANA® Database Connection
With HANA, SAP® has created a development platform for Big Data applications and provides a high-performance in-memory database. The relational database in SAP HANA® stores all data in the working memory and can therefore guarantee optimal access times to large amounts of data. The SAP HANA® database is not only designed for applications with SAP®, but can also be used for various high-performance database applications.
The procedure for connecting external applications to SAP HANA® is very similar to other relational databases. With the SAP HANA® plug-in of the OPC router, connections to the HANA database can be configured graphically. With its plug-in, the OPC Router can write data to the database, change data, read from it and call procedures in SAP HANA®. These options, in combination with the other available Plug-ins, make it easy to quickly integrate us into the SAP HANA® infrastructure.
You can find a dedicated video about the topic “connection of database systems” by visiting our tutorial stream.
That’s how easy it is.
SAP HANA® connection via drag & drop
Connecting your systems to the SAP HANA® database is very easy and intuitive with the OPC Router using drag & drop. This screenshot shows you an example of an application of the OPC Router and SAP HANA®. The OPC Router receives OPC UA data from a machine and then stores it in the SAP HANA® database. That then returns information via OPC UA to the machine in order to initiate the next steps in production.
Bringing Industry 4.0 to life with SAP HANA®
- Achieving more with coupled systems:
By combining the SAP HANA® database with the OPC Router, you can insert and retrieve data from the high-performance SAP® in-memory database. This provides for the coupled systems fast access to database query results for large amounts of data. Big Data can therefore also be used directly by subsystems. SAP has standardized interfaces, allowing the connection of many external systems. - Industry 4.0 with SAP HANA®:
In Industry 4.0, systems are networked in the best possible way and live from the mutual exchange of data among each other. With the integration of SAP HANA® into Industry 4.0, systems can make even better process decisions and optimize themselves with the help of Big Data. - About OPC Router:
With the OPC Router you realize the networking of your systems in a graphical way. Numerous Plug-ins enable it to be used as middleware in industrial environments.Simple configuration, sophisticated monitoring and robustness characterize it.
SAP HANA® Plug-in application examples
Providing Big Data applications with data
The SAP HANA® database is perfect for Big Data applications due to its in-memory structure. With OPC Router it is possible to supply them with necessary data. The connection is made simply in the graphical connection editor. Data can be obtained from various Plug-ins of OPC Router and transferred to in-memory database. A classic data memory in production is the MS SQL database. With the SQL Server Plug-in, data can be obtained from tables, views or preprocessed from stored procedures and transferred to SAP HANA®.
Controlling PLC with Big Data
For the connection and data exchange with other systems OPC Router uses only the graphical designer. After the connection parameters of the database have been announced and tested, the database objects can be searched and selected. In the connections the data transfers between an external system (SAP, MQTT, OPC, REST, etc.) and the SQL Server are established. Once the project has been published, all data transfers can be checked and viewed in the graphical monitoring system.
Connecting Systems
Transfer-Objects
The transfer object of the SAP HANA® Plug-in allows access to tables, views and procedures of the SAP HANA® database.
Tables
Select, Update, Insert and Delete actions are available for the tables.
Views
The access to views is done exclusively as a select query.
Procedures
When accessing a procedure, the OPC Router carries out an Execute. Input parameters can be passed, as well as a call result and the return parameters (also results) can be read back.
Trigger
The SAP HANA® Plug-in includes a HANA database trigger.
Database-Trigger
The database trigger checks a column of a table for changes. The OPC Router triggers the connection in case of changes. The database trigger does not have any outgoing data fields.
Browsing
The SAP HANA® Plug-in can browse the available objects from the SAP HANA® database.
Tables and Views
All accessible tables and views for the user are read from the SAP HANA® database. Then the columns and their types are determined and made available for selection.
Procedures
The available procedures are also read out. For each procedure, the input and output parameters are read out and made available for selection, including the type specification. The obligatory return value is provided automatically.