Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can a CDS entity have no namespace?


The following native HANA CDS DDL generates a  table called "tmp.jimborean::MyModel.MasterData.Address"

namespace tmp.jimborean;

@Schema: 'JIMBOREAN'

context MyModel {

    type BusinessKey : String(10);

     type SString  : String(40);


    context MasterData {

        @Catalog.tableType: #COLUMN

        entity Address {

            key AddressId: BusinessKey;

            City: SString;

            PostalCode: BusinessKey;




Is there a way in HANA CDS to create a table called simply "Address"? so that the name does not contain the namespace and the context.

Thank you,



Hello Cosmin,

no, there is no way to do that. The catalog object names are always created with the mentioned information/package name. Cause the package name and namespace must be in sync, there are not adaptions possible.

You can get rid off the context, in case you define just one artifact in one CDS file (which makes in most cases no sense from my point of view) which is named like the CDS file itself.

Best Regards,


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question