cancel
Showing results for 
Search instead for 
Did you mean: 

CDS view: How to SELECT from HANA schema table

watle
Explorer
0 Kudos

Hello,

I want to create a cds view and would like to know how I can select from a HANA schema table?

Is it a way to solve it?

Many Thanks!

Sylvain

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can reference an existing table (not defined as an entity via CDS) with the USING syntax. The limitation is that you can't specify a schema with this statement. Therefore these target tables need to either be in the same schema as the CDS file is targeting, a repository created table, or you have to create a synonym for the target.

See example here:

dev703/FLIGHT.hdbcds at master · I809764/dev703 · GitHub

watle
Explorer
0 Kudos

thanks Jung!

Answers (0)