Hello Mihail,
with a CDS entity you define a database table. For each entity definition (design time) a db table (runtime) is generated.
The name of the table in the schema defined with annotation @SCHEMA is a concatenation of the package (in which the hdbdd file is stored), the (maybe) used context(s) within the hdbdd file and the entity name.
If you have e.g. following syntax in the hdbdd file
namespace test.db;
@Schema : 'MY_SCHEMA'
context data { @Catalog.tableType: #COLUMN entity testtab { key C1 : String(10); key C2 : String(10); };
}in schema MY_SCHEMA a table "test.db::data.testtab" will be created, in which data can be persisted.
More information can be found in the CDS reference: http://help.sap.com/hana/SAP_HANA_Core_Data_Services_CDS_Reference_en.pdf
Best Regards,
Florian







.jpg)

