on 12-03-2019 2:45 PM
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 }
Hi Solen,
This annotation is not yet available in ABAP Cloud, but your CDS view should get created without it. Why do you need it?
I understand that for analytical models, you may need it. I am assuming you are not building the same.
Regards
GK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
thanks for your response,i appreciate it
I am trying to learn odata via exposing cds through consumption view.
To create a consumption view i need this annotation and mark it as
consumption.
So that i can expose it as an ODATA service
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.