C_Sitn2DemoBookingTP

DDL: C_SITN2DEMOBOOKINGTP Type: view_entity CONSUMPTION

Bookings for Situation Demo

C_Sitn2DemoBookingTP is a Consumption CDS View that provides data about "Bookings for Situation Demo" in SAP S/4HANA. It reads from 1 data source (R_Sitn2DemoBookingTP) and exposes 22 fields with key fields SitnDemoCarrierID, SitnDemoConnectionID, SitnDemoFlightDate, SitnDemoBookingID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_Sitn2DemoBookingTP R_Sitn2DemoBookingTP projection

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_Sitn2DemoAgency _Agency _Agency.SitnDemoAgencyID = $projection.SitnDemoAgencyID
[1..1] C_Sitn2DemoConnection _Connection _Connection.SitnDemoConnectionID = $projection.SitnDemoConnectionID and _Connection.SitnDemoCarrierID = $projection.SitnDemoCarrierID

Annotations (7)

NameValueLevelField
EndUserText.label Bookings for Situation Demo view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY SitnDemoCarrierID SitnDemoCarrierID
KEY SitnDemoConnectionID SitnDemoConnectionID
KEY SitnDemoFlightDate SitnDemoFlightDate
KEY SitnDemoBookingID SitnDemoBookingID
SitnDemoBookingUniqueKey SitnDemoBookingUniqueKey
SitnDemoTitle SitnDemoTitle
SitnDemoLuggageWeight SitnDemoLuggageWeight
SitnDemoWeightUnit SitnDemoWeightUnit
SitnDemoIsConfirmed SitnDemoIsConfirmed
SitnDemoIsInvoiced SitnDemoIsInvoiced
SitnDemoIsReserved SitnDemoIsReserved
SitnDemoBookingClass SitnDemoBookingClass
SitnDemoPrice SitnDemoPrice
SitnDemoCurrency SitnDemoCurrency
SitnDemoOrderDate SitnDemoOrderDate
SitnDemoAgencyID SitnDemoAgencyID
SitnDemoPssngrName SitnDemoPssngrName
SitnDemoPssngrPhoneNumber SitnDemoPssngrPhoneNumber
_Agency _Agency
_CarrierredirectedtoC_Sitn2DemoCarrierTP
_Connection _Connection
_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 C_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 C_Sitn2DemoBookingTP AS
SELECT
  SitnDemoCarrierID,
  SitnDemoConnectionID,
  SitnDemoFlightDate,
  SitnDemoBookingID,
  SitnDemoBookingUniqueKey,
  SitnDemoTitle,
  SitnDemoLuggageWeight,
  SitnDemoWeightUnit,
  SitnDemoIsConfirmed,
  SitnDemoIsInvoiced,
  SitnDemoIsReserved,
  SitnDemoBookingClass,
  SitnDemoPrice,
  SitnDemoCurrency,
  SitnDemoOrderDate,
  SitnDemoAgencyID,
  SitnDemoPssngrName,
  SitnDemoPssngrPhoneNumber
FROM R_Sitn2DemoBookingTP
LEFT OUTER JOIN R_Sitn2DemoAgency AS _Agency ON _Agency.SitnDemoAgencyID = SitnDemoAgencyID  -- association [1..1]
LEFT OUTER JOIN C_Sitn2DemoConnection AS _Connection ON _Connection.SitnDemoConnectionID = SitnDemoConnectionID AND _Connection.SitnDemoCarrierID = SitnDemoCarrierID  -- association [1..1]
;