The following steps are required to create a SAP Gateway service for SAP HANA information models. The first step contains the integration-specifc information, the later steps correspond to those described in the OData Channel quick guide.
Define / Choose SAP HANA artifacts.
Create the model provider class.
In transaction SE24 create a new ABAP OO class based on superclass /IWHDB/CL_HAI_RT_ABS_MODEL as the model provider class (MPC).
Redefine and implement method GET_HDB_ARTIFACTS.
Set catalog, view and optionally entity set name for the SAP HANA artifacts.
Register your model / service.
Define your model.
Create a new model.
Assign the MPC and enter a model description.
Save your model.
Define your service.
Create a new service.
Assign the generic DPC /IWHDB/CL_HAI_RT_DATA and enter a service description.
Save your service.
Assign your model to your service.
Save the service to model assignment.