I_Sitn2DemoBooking

DDL: I_SITN2DEMOBOOKING SQL: ISITN2DBOAP Type: view COMPOSITE

Bookings for Situation Demo

I_Sitn2DemoBooking is a Composite CDS View that provides data about "Bookings for Situation Demo" in SAP S/4HANA. It reads from 1 data source (R_Sitn2DemoBooking) and exposes 18 fields with key fields SitnDemoCarrierID, SitnDemoConnectionID, SitnDemoFlightDate, SitnDemoBookingID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_Sitn2DemoBooking R_Sitn2DemoBooking from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.SitnDemoWeightUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ISITN2DBOAP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.dataMaintenance #RESTRICTED view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #NONE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Bookings for Situation Demo view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

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
SitnDemoLuggageWeight SitnDemoLuggageWeight Luggage Weight
SitnDemoWeightUnit SitnDemoWeightUnit Weight Unit
SitnDemoIsInvoiced SitnDemoIsInvoiced Orig.Inv.Number
SitnDemoIsReserved SitnDemoIsReserved Reserved
SitnDemoIsConfirmed SitnDemoIsConfirmed Confirmed
SitnDemoBookingClass SitnDemoBookingClass User Group
SitnDemoOrderDate SitnDemoOrderDate Posting Date
SitnDemoAgencyID SitnDemoAgencyID Travel Agency
SitnDemoPssngrName SitnDemoPssngrName Passenger Name
SitnDemoPssngrPhoneNumber SitnDemoPssngrPhoneNumber Passenger Phone Number
SitnDemoCarrierRegion SitnDemoCarrierRegion
SitnDemoAgencyRegion SitnDemoAgencyRegion
_UnitOfMeasure _UnitOfMeasure

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 I_Sitn2DemoBooking.
-- 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.
-- SQL view name: ISITN2DBOAP

CREATE VIEW I_Sitn2DemoBooking AS
SELECT
  SitnDemoCarrierID,
  SitnDemoConnectionID,
  SitnDemoFlightDate,
  SitnDemoBookingID,
  SitnDemoBookingUniqueKey,
  SitnDemoLuggageWeight,
  SitnDemoWeightUnit,
  SitnDemoIsInvoiced,
  SitnDemoIsReserved,
  SitnDemoIsConfirmed,
  SitnDemoBookingClass,
  SitnDemoOrderDate,
  SitnDemoAgencyID,
  SitnDemoPssngrName,
  SitnDemoPssngrPhoneNumber,
  SitnDemoCarrierRegion,
  SitnDemoAgencyRegion
FROM R_Sitn2DemoBooking
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON SitnDemoWeightUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;