R_Sitn2DemoBookingTP

DDL: R_SITN2DEMOBOOKINGTP Type: view_entity TRANSACTIONAL Package: CA_SIT2_DEMO

Bookings for Situation Demo - TP

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

Data Sources (1)

SourceAliasJoin Type
R_Sitn2DemoBooking R_Sitn2DemoBooking from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_Sitn2DemoCarrierTP _Carrier _Carrier.SitnDemoCarrierID = $projection.SitnDemoCarrierID

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 BusinessSituationDemoBooking view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Bookings for Situation Demo - TP view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY SitnDemoCarrierID SitnDemoCarrierID Carrier
KEY SitnDemoConnectionID SitnDemoConnectionID Flight Number
KEY SitnDemoFlightDate SitnDemoFlightDate Flight Date
KEY SitnDemoBookingID SitnDemoBookingID Booking number
SitnDemoBookingUniqueKey SitnDemoBookingUniqueKey Unique Flight Key
SitnDemoTitle SitnDemoTitle View Title
SitnDemoLuggageWeight SitnDemoLuggageWeight Luggage Weight
SitnDemoWeightUnit SitnDemoWeightUnit Weight Unit
SitnDemoIsConfirmed SitnDemoIsConfirmed Confirmed
SitnDemoIsInvoiced SitnDemoIsInvoiced Orig.Inv.Number
SitnDemoIsReserved SitnDemoIsReserved Reserved
SitnDemoBookingClass SitnDemoBookingClass User Group
SitnDemoPrice SitnDemoPrice Amount
SitnDemoCurrency SitnDemoCurrency Airline Currency
SitnDemoOrderDate SitnDemoOrderDate Posting Date
SitnDemoAgencyID SitnDemoAgencyID Travel Agency
SitnDemoPssngrName SitnDemoPssngrName Passenger Name
SitnDemoPssngrPhoneNumber SitnDemoPssngrPhoneNumber Passenger Phone Number
_Currency R_Sitn2DemoBooking _Currency
_Flight _Flight
_Carrier _Carrier

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_Sitn2DemoBookingTP.
-- 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_Sitn2DemoBookingTP AS
SELECT
  SitnDemoCarrierID,
  SitnDemoConnectionID,
  SitnDemoFlightDate,
  SitnDemoBookingID,
  SitnDemoBookingUniqueKey,
  SitnDemoTitle,
  SitnDemoLuggageWeight,
  SitnDemoWeightUnit,
  SitnDemoIsConfirmed,
  SitnDemoIsInvoiced,
  SitnDemoIsReserved,
  SitnDemoBookingClass,
  SitnDemoPrice,
  SitnDemoCurrency,
  SitnDemoOrderDate,
  SitnDemoAgencyID,
  SitnDemoPssngrName,
  SitnDemoPssngrPhoneNumber,
  R_Sitn2DemoBooking._Currency AS _Currency
FROM R_Sitn2DemoBooking
LEFT OUTER JOIN R_Sitn2DemoCarrierTP AS _Carrier ON _Carrier.SitnDemoCarrierID = SitnDemoCarrierID  -- association [1..1]
;