Skip to Content
0
Jan 22, 2019 at 11:57 PM

SAP Application Programming Model - How to consume existing Database Artifact?

463 Views Last edit Jan 23, 2019 at 12:27 AM 4 rev

I want to be able to consume an external calculation view

in a .hdbcds file i would do something like

using "external.db.synonym::ExternalView" as ExternalView;

define view MyNewView as select from ExternalView { * };

I would expect to be able to do something similar in a .cds file, but it doesn't work

when building it doesn't recognize "external.db.synonym::ExternalView" but this exists in the DB

how do you consume existing database artifacts in a .cds file?