on 12-18-2023 9:49 AM
Hello Team,
I am trying ALP FE application using CDS annotations. I am facing below issues
[50005] - valueAxis : does not meet the minimum or maximum number of feeds definition
My C view would be,
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Consumption for Flight ALP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
//@Analytics.query: true
@VDM.viewType: #CONSUMPTION
@UI.chart: [{
qualifier: 'ChartBookingPricePerCntry',
chartType: #COLUMN,
dimensions: [ 'BookingPrice' ],
measures: [ 'CustomerCountry' ],
dimensionAttributes: [{
dimension: 'BookingPrice',
role: #SERIES
}],
measureAttributes: [{
measure: 'CustomerCountry',
role: #AXIS_1
}]
}]
@UI.presentationVariant: [{ qualifier: 'Default', visualizations: [{ type: #AS_CHART, qualifier: 'ChartBookingPricePerCntry' }] }]
define view entity ZC_QUERY_FLIGHT_ALP
as select from ZI_CUBE_FLIGHTBOOKINGS
{
@AnalyticsDetails.query.display: #KEY_TEXT
@UI.lineItem: [ { position : 10 } ]
key Airline,
@UI.hidden: true
key FlightConnection,
@UI.hidden: true
key FlightDate,
@UI.hidden: true
key BookNumber,
@UI.selectionField: [ { position : 10 } ]
@AnalyticsDetails.query.display: #KEY_TEXT
CustomerCountry,
@UI.selectionField: [ { position : 20 } ]
CalendarYear,
// @UI.lineItem: [ { position : 20 } ]
// TotalOfBookings,
@UI.dataPoint.title: 'Weight of Luggage'
@UI.lineItem: [ { position : 30 } ]
@Semantics.quantity.unitOfMeasure: 'WeightUOM'
WeightOfLuggage,
WeightUOM,
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'Currency'
@UI.lineItem: [ { position : 40 } ]
BookingPrice,
Currency
}
where
(
Airline = 'AA'
or Airline = 'DL'
)
and(
CustomerCountry = 'DE'
or CustomerCountry = 'US'
)
Please help me here
Best Regards,
Muthu
User | Count |
---|---|
75 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.