Skip to Content
0
Dec 03, 2019 at 02:45 PM

Failed to create a CDS view in Eclipse with Annotation-@VDM.viewType: #BASIC

245 Views

Hello all

I have been trying the SAP Cloud Trial Cockpit and started using the Eclipse and creating basic views for testing.

I am trying to create a basic interface view based on the /dmo/flight table

the Annotation @VDM.viewType: #BASIC fails and eclipse suggests that theres no such annotation and its unknown.


as

@AbapCatalog.sqlViewName: 'ZXSHTRAVELM'

@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'basic interface view'

@VDM.viewType: #BASIC

@Analytics.dataCategory: #DIMENSION

define view zi_travel_m_sodogan as select from /dmo/flight {

key carrier_id,

key connection_id,

key flight_date, price,

@Semantics.currencyCode: true

currency_code,

plane_type_id,

seats_max,

seats_occupied }