Show TOC

/IWHDB/CL_HAI_RT_ABS_MODELLocate this document in the navigation structure

This is the abstract model provider class (MPC).

Interface Method /IWHDB/IF_HAI_RT_MED_SRC_INF~GET_HDB_VIEW_ENTITY_ASSIGNMENT

This method returns the list of SAP HANA views with entity type assignments. The method comes from the interface /IWHDB/IF_HAI_RT_MED_SRC_INF and is used especially to provide the data source information to the runtime.

Table 1: Returning Parameters

Parameter

Type

Description

RT_HDB_ENTITIES

TY_T_HDB_VIEW_ENTITY_ASSIGN

Interface Method /IWHDB/IF_HAI_RT_MED_SRC_INF~GET_SKIPTOKEN_RECORDS_NUMBER

This method returns the number of records per page / skip token. The method comes from the interface /IWHDB/IF_HAI_RT_MED_SRC_INF and is used especially to provide the server-side paging to the runtime.

Table 2: Returning Parameters

Parameter

Type

Description

RV_REC_NUMBER

I

Protected Method GET_HDB_ARTIFACTS

This method returns the list with SAP HANA artifacts. It is called in the standard / default implementation of the interface method /IWHDB/IF_HAI_RT_MED_SRC_INF~GET_HDB_VIEW_ENTITY_ASSIGNMENT in class /IWHDB/CL_HAI_RT_ABS_MODEL. Therefore the application developer usually only needs to implement this method to fill the specific SAP HANA artifacts. In case of special assignments of entity names, entity sets and SAP HANA artifacts the method /IWHDB/IF_HAI_RT_MED_SRC_INF~GET_HDB_VIEW_ENTITY_ASSIGNMENT needs to be re-implemented.

Table 3: Returning Parameters

Parameter

Type

Description

RT_VIEWS

/IWHDB/T_HAI_RT_VIEW_ASSGMNT

Protected Method CHECK_AUTHORITY

This method checks the authorization to access SAP HANA artifacts. The standard implementation of this method contains a check for the authorization object /IWHDB/HAI. An application developer can re-implement this method and define customer-specific authorization checks.

Table 4: Import Parameters

Parameter

Type

Description

IV_CATALOG_NAME

/IWHDB/HANA_CAT_NAME

SAP HANA DB catalog name

IV_VIEW_NAME

/IWHDB/HANA_OBJECT_NAME

SAP HANA DB view name