@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight
{
key carrid,
key connid,
key fldate,
price,
currency,
planetype
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SPFLI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CDS view for SPFLI table'
define view ZYHB_P_SPFLI
as select from spfli
{
key carrid,
key connid,
countryfr,
cityfrom,
airpfrom,
countryto,
cityto,
airpto
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SAPLANE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CDS view for SAPLANE table'
define view ZYHB_P_SAPLANE
as select from saplane
{
key planetype,
seatsmax,
weight,
wei_unit
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CDS view fr SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
key carrid,
key connid,
key fldate,
price,
currency,
planetype,
_spfl,
_plane
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@EndUserText.label: 'CDS view fr SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
@UI.lineItem: [{position: 10, label: 'Airline Code' }]
key carrid,
@UI.lineItem: [{position: 20, label: 'Connection Number' }]
key connid,
@UI.lineItem: [{position: 30, label: 'Flight date' }]
key fldate,
@UI.lineItem: [{position: 40, label: 'Airfare' }]
@Semantics.quantity.unitOfMeasure: 'currency'
price,
currency,
@UI.lineItem: [{position: 50, label: 'Aircraft Type' }]
planetype,
_spfl,
_plane
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@UI.headerInfo: { typeName: 'Flight Information', typeNamePlural: 'Flights Info' }
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{...
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@UI.headerInfo: { typeName: 'Flight Information', typeNamePlural: 'Flights Info' }
@UI.presentationVariant: [{sortOrder: [{by: 'connid', direction: #ASC}] }]
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{...
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@UI.headerInfo: { typeName: 'Flight Information', typeNamePlural: 'Flights Info' }
@UI.presentationVariant: [{sortOrder: [{by: 'connid', direction: #ASC}] }]
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
@UI.lineItem: [{position: 10, label: 'Airline Code' }]
@UI.selectionField: [{position: 10 }]
key carrid,
@UI.lineItem: [{position: 20, label: 'Connection Number' }]
@UI.selectionField: [{position: 20 }]
key connid
...
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@UI.headerInfo: { typeName: 'Flight Information', typeNamePlural: 'Flights Info' }
@UI.presentationVariant: [{sortOrder: [{by: 'connid', direction: #ASC}] }]
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
@UI.lineItem: [{position: 10, label: 'Airline Code' }]
@UI.selectionField: [{position: 10 }]
key carrid,
@UI.lineItem: [{position: 20, label: 'Connection Number' }]
@UI.selectionField: [{position: 20 }]
@EndUserText.label: 'ConnNumb'
key connid,
...
}
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
@UI.lineItem: [{position: 10, label: 'Airline Code' }]
@Search.defaultSearchElement: true
@UI.selectionField: [{position: 10 }]
@Consumption: {
filter: {
mandatory: false,
defaultValue: 'AA'
}
}
key carrid,
...
}
@AbapCatalog.sqlViewName: 'ZYHB_V_SFLIGHT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@OData.publish: true
@Search.searchable: true
@UI.headerInfo: { typeName: 'Flight Information', typeNamePlural: 'Flights Info' }
@UI.presentationVariant: [{sortOrder: [{by: 'connid', direction: #ASC}] }]
@EndUserText.label: 'CDS view for SFLIGHT table'
define view ZYHB_P_SFLIGHT
as select from sflight as sfl
association [1] to ZYHB_P_SPFLI as _spfl on sfl.carrid = _spfl.carrid
and sfl.connid = _spfl.connid
association[1] to ZYHB_P_SAPLANE as _plane on sfl.planetype = _plane.planetype
{
@UI.lineItem: [{position: 10, label: 'Airline Code' }]
@Search.defaultSearchElement: true
@UI.selectionField: [{position: 10 }]
key carrid,
@UI.lineItem: [{position: 20, label: 'Connection Number' }]
@Search.defaultSearchElement: true
@UI.selectionField: [{position: 20 }]
@EndUserText.label: 'ConnNumb'
key connid,
...
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
17 | |
9 | |
7 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 |