cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Consume the Table created via SQL Command in SAP HANA Cloud via SAP CAP

Omkar_Ghadashi
Explorer
0 Kudos

Hi Experts,

I am trying to explore one of the requirement, please find the details steps followed below

1) Created the CAP project - capanalysis

oghadashi_3-1711453759603.png

 

2) Created the SAP HANA Schemas & HDI Containers instance with the HDI-shared plan and binded with the CAP project

oghadashi_5-1711453810548.png

3) through Database explorer created the table DEMOTEST using sql statement instead of the hdbtable (reason : bcoz we need to replicate the table from another system).

oghadashi_2-1711453723053.png

4) Made changes in the data modeling file accordingly and annotated it with the @cds.persistence.exists and service file.

oghadashi_0-1711453641746.pngoghadashi_1-1711453672606.png

5) executed the cds build command

oghadashi_6-1711453855779.png

6) While cds deploy i was facing the error "The file requires "db://DEMOTEST" which is not provided by any file"

7) Going further through the reference, https://community.sap.com/t5/technology-q-a/hana-express-2-0-sps-01-the-file-requires-quot-db-sbook-...

I added the hdbsynonym fil:

oghadashi_7-1711454316109.png

😎again executed the cds build and cds deploy but facing the cyclic dependency issue

oghadashi_8-1711454407808.png

 

It will be really great help you could guide me with the below issue ?

Regards,

Omkar

Accepted Solutions (0)

Answers (0)