You are on page 1of 1

@AbapCatalog.

sqlViewName: 'ZOFTFMEAL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Flight meal use case'

@VDM.viewType: #CONSUMPTION
@OData.publish: true
@Metadata.allowExtensions: true

@ObjectModel: {
modelCategory: #BUSINESS_OBJECT,
compositionRoot: true,
transactionalProcessingEnabled: true,
createEnabled: true,
updateEnabled: true,
deleteEnabled: true,
writeActivePersistence: 'ZOFT_MEALS',
draftEnabled: true,
writeDraftPersistence: 'ZOFT_DF_MEALS'
}

define view ZOFT_CDS_FLIGHT_MEALS as select from zoft_meals


association [1] to scarr as _Airlines
on $projection.carrid = _Airlines .carrid
association[1] to spfli as _Connection
on $projection.connid = _Connection.connid
association[1] to smeal as _Meals
on $projection.meal = _Meals.mealnumber
{
//ZOFT_MEALS
key meal_id,
@EndUserText.label: 'Maza aavigiyo'
@ObjectModel.foreignKey.association: '_Airlines'
carrid,
connid,
meal,
@ObjectModel.readOnly: true
total_seats,
status,
_Airlines,
_Connection,
_Meals
}

Busines Catalog
ZOFT_BC_APPS
Busines Catalog Group
ZOFT_BCG_APPS
Business Role
ZOFT_BR_APPS

You might also like