R_Sitn2DemoFlightTP

DDL: R_SITN2DEMOFLIGHTTP Type: view_entity TRANSACTIONAL Package: CA_SIT2_DEMO

Flights for Situation Demo - TP

R_Sitn2DemoFlightTP is a Transactional CDS View that provides data about "Flights for Situation Demo - TP" in SAP S/4HANA. It reads from 1 data source (R_Sitn2DemoFlight) and exposes 18 fields with key fields SitnDemoCarrierID, SitnDemoConnectionID, SitnDemoFlightDate. It has 1 association to related views. Part of development package CA_SIT2_DEMO.

Data Sources (1)

SourceAliasJoin Type
R_Sitn2DemoFlight Flight from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_Sitn2DemoBookingTP _Booking

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name BusinessSituationDemoFlight view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Flights for Situation Demo - TP view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY SitnDemoCarrierID SitnDemoCarrierID Carrier
KEY SitnDemoConnectionID SitnDemoConnectionID Flight Number
KEY SitnDemoFlightDate SitnDemoFlightDate Flight Date
SitnDemoFlightUniqueKey SitnDemoFlightUniqueKey Unique Flight Key
SitnDemoTitle SitnDemoTitle View Title
SitnDemoFlightIsScheduled SitnDemoFlightIsScheduled Scheduled
SitnDemoPlaneType SitnDemoPlaneType Planetype
SitnDemoSeatsMaxQty SitnDemoSeatsMaxQty Max. Seats
SitnDemoSeatsOccupiedQty SitnDemoSeatsOccupiedQty Occupied Econ.
SitnDemoSeatsMaxBusClQty SitnDemoSeatsMaxBusClQty Max. Capacity Bus.
SitnDemoSeatsOccupiedBusClQty SitnDemoSeatsOccupiedBusClQty Occupied Bus.
SitnDemoSeatsMax1stClQty SitnDemoSeatsMax1stClQty Max. Capacity 1st
SitnDemoSeatsOccupied1stClQty SitnDemoSeatsOccupied1stClQty Occupied 1st
SitnDemoPrice SitnDemoPrice RVP f.PricePro.
SitnDemoCurrency SitnDemoCurrency Valuation Crcy
_Booking _Booking
_Carrier _Carrier
_Currency _Currency

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_Sitn2DemoFlightTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_Sitn2DemoFlightTP AS
SELECT
  SitnDemoCarrierID,
  SitnDemoConnectionID,
  SitnDemoFlightDate,
  SitnDemoFlightUniqueKey,
  SitnDemoTitle,
  SitnDemoFlightIsScheduled,
  SitnDemoPlaneType,
  SitnDemoSeatsMaxQty,
  SitnDemoSeatsOccupiedQty,
  SitnDemoSeatsMaxBusClQty,
  SitnDemoSeatsOccupiedBusClQty,
  SitnDemoSeatsMax1stClQty,
  SitnDemoSeatsOccupied1stClQty,
  SitnDemoPrice,
  SitnDemoCurrency
FROM R_Sitn2DemoFlight AS Flight
LEFT OUTER JOIN R_Sitn2DemoBookingTP AS _Booking ON /* condition not available in parsed metadata */  -- association [0..*]
;