cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA create synonym build error

former_member529961
Participant

Hello exprerts, I want to build a synonym conenction in SAP HANA. First i create Schema in my database, after this i create a Table in my Database called PRODUCT_SEGMENT. When i now try to create a synonym that pointed to this table then i get the build error: THE "PLAIN.PRODUCT_SEGMENT" synonym target does not exist

I already trid to delete and create the database agan but it will not work =(. I follow this tutorial by the way https://developers.sap.com/germany/tutorials/xsa-create-user-provided-anonymous-service.html

lsubatin
Active Contributor
0 Kudos

Hi, What happens if you only build the hdbgrants file?

former_member529961
Participant
0 Kudos

When i try to build the segment .hbdcds file then i get an error which say

The file requieres "db://PRODUCT_SEGMENT" which is not provided y any file

lsubatin
Active Contributor
0 Kudos

I'm asking about the grants file (created on step 6 in the tutorial you quote), not the hdbcds file. What happens when you right-click on it and build only that file?

former_member529961
Participant
0 Kudos

oh sry,

the plain.hdbgrants file can i build without errors

0 Kudos

Did you find the root of this issue? I have checked the port to be correct, the hdbgrants file builds successfully, I am able to see the tables from the external schema, the synonym file is placed under the src/synonyms folder, but I still receive this error. Any input is much appreciated.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hi Marius,

maybe you made the same mistake as I and you did not create the file synonyms/plain.hdbsynonym in thesrc folder?

Best Regards
Gregor