This article describes how to integrate K2 and SAP HANA by using an OData endpoint and the OData Service Type to create SmartObjects that represent SAP data/entities. Once the SmartObjects are created, you can integrate with SAP HANA from workflows, SmartForms, and other components that can interact with K2 SmartObjects.
K2 requirements include:
In SAP HANA, create your OData endpoint for a table in your database. In this scenario we use the Products table available in sap.hana.democontent of the SAP HANA Interactive Education (SHINE) trial environment. For more information see Enable SAP HANA Interactive Education (SHINE).
In K2 Management, create a new OData service instance and create the SmartObject as follows:
In K2 Designer, create a K2 smartform to display the data from the Products table in SAP HANA.
Unless you expressly want to secure methods in HANA by restricting methods in the SAP HANA configuration, do not limit your SAP HANA OData service actions by forbidding them in your services.xsodata file. For example, remove the highlighted configurations in the following service: