cancel
Showing results for 
Search instead for 
Did you mean: 

Using Public Synonym in CAP

sapdeveloper_
Explorer
0 Kudos

Hello

Please let me know how I can use public synonym in SAP CAP project.

Also How I can refer local synonym in cds model file

Thanks

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

david_kunz2
Advisor
Advisor
0 Kudos

Hi Sandeep,

This section gives you guidance on how to deal with native HANA artifacts:
https://cap.cloud.sap/docs/advanced/hana

Best regads,
David

sapdeveloper_
Explorer
0 Kudos

Thanks a lot. I created the synonym file. But it is not created in the HDI container with command cds deploy --to hana

chgeo
Advisor
Advisor
0 Kudos

Hand-written hdb files in `db/src/` are deployed along with the CAP-generated hdb files, so your hdbsynonym file should end up in the HDI container. Please check the file path and your HDI deploy log.

Answers (0)