Skip to Content

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,


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Oct 23, 2015 at 02:32 AM

    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,


    Add comment
    10|10000 characters needed characters exceeded