Skip to Content
1
Jun 08, 2018 at 07:16 PM

Adjust Entity Name with CDS Referenced Data Sources in Gateway

5135 Views

Hi experts,

We're developing Odata services and are using CDS for read model. We weighed in following options:

1) SEGW Project and import the CDS model and use mapping for the read function

2) CDS View published directly to Odata service, SEGW Project that imports the OData Service as a model

We chose option 2 so that we do not have to regenerate when we do changes to our CDS view, and everything is handled via CDS and the model.

But, i find it annoying that the entity model is taken over from the CDS view meaning Z naming convention. For some non-CDS scenario's we define our own entity that we implement for which we don't have to follow the Z naming, which gives us following result:

- ZV_CDS_SALES_ORDER
- BusinessPartner

Is there a way to redefine the CDS based entity name? In SEGW node 'Model References' we can change the name, but it doesn't seem to do anything.

Thanks!

Wouter