Skip to Content
1
Feb 08, 2020 at 03:26 PM

CDS OData service with HDI container artifacts (SCP Business Application)

237 Views

We have created an SAP Cloud Platform Business Application to expose HDB artifacts of a database model via OData V2, which will be consumed in an offline MDK application. This application has the file data-model.cds and cat-service.cds; taking into account that both files must be aligned to expose the artifacts that are in the respective HDI container to which it is connected, we would like to know how to reference within the data-model.cds file the HDB artifacts created in SQL inside the HDI container and later link in the cat-service.cds file, taking into account that the mta.yaml file is already configured and permissions have been assigned in it to access a database schema.