Skip to Content
1
Former Member
Mar 26, 2018 at 07:23 AM

CDS Query; Data Type Dats becomes string

216 Views

Dear all,

I've got two CDS Views, defined in Eclipse. A Cube with several aggregations and a query which selects from the Cube and does further calculations.

Now, when I'm looking at my Metadata ( @Odata.publish: #true ) a field with data type DATS becomes Type="Edm.String" in the property.

When I create a service with the cube-view and look at the metadata, the data type is Type="Edm.DateTime which is exactly what i need but in the query metadata. (smart field for selection of Date)

Could anyone suggest a solution here?

(I'd like to avoid the SEGW and generate the service automatically in eclipse)

Thank you in advance