R_Sitn2DemoBooking
Bookings for Situation Demo
R_Sitn2DemoBooking is a Basic CDS View that provides data about "Bookings for Situation Demo" in SAP S/4HANA. It reads from 1 data source (sit2_demo_book) and exposes 22 fields with key fields SitnDemoCarrierID, SitnDemoConnectionID, SitnDemoFlightDate, SitnDemoBookingID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| sit2_demo_book | sit2_demo_book | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _Currency | $projection.SitnDemoCurrency = _Currency.Currency |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.SitnDemoWeightUnit = _UnitOfMeasure.UnitOfMeasure |
| [1..1] | R_Sitn2DemoCarrier | _Carrier | $projection.SitnDemoCarrierID = _Carrier.SitnDemoCarrierID |
| [1..1] | R_Sitn2DemoAgency | _Agency | $projection.SitnDemoAgencyID = _Agency.SitnDemoAgencyID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RSITN2DBOOK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Bookings for Situation Demo | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SitnDemoCarrierID | carrid | Carrier | |
| KEY | SitnDemoConnectionID | connid | Flight Number | |
| KEY | SitnDemoFlightDate | fldate | Flight Date | |
| KEY | SitnDemoBookingID | bookid | Booking number | |
| SitnDemoBookingUniqueKey | unique_key | Unique Flight Key | ||
| SitnDemoTitle | title | View Title | ||
| SitnDemoWeightUnit | wunit | Weight Unit | ||
| SitnDemoLuggageWeight | luggweight | Luggage Weight | ||
| SitnDemoIsConfirmed | confirmed | Confirmed | ||
| SitnDemoIsInvoiced | invoice | Orig.Inv.Number | ||
| SitnDemoIsReserved | reserved | Reserved | ||
| SitnDemoBookingClass | class | User Group | ||
| SitnDemoPrice | loccuram | Amount | ||
| SitnDemoCurrency | loccurkey | Airline Currency | ||
| SitnDemoOrderDate | order_date | Posting Date | ||
| SitnDemoAgencyID | agencynum | Travel Agency | ||
| SitnDemoPssngrName | pass_name | Passenger Name | ||
| SitnDemoPssngrPhoneNumber | pass_phono | Passenger Phone Number | ||
| SitnDemoCarrierRegion | _Carrier | SitnDemoCarrierRegion | ||
| SitnDemoAgencyRegion | _Agency | SitnDemoAgencyRegion | ||
| _Currency | _Currency | |||
| _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 R_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: RSITN2DBOOK
CREATE VIEW R_Sitn2DemoBooking AS
SELECT
carrid AS SitnDemoCarrierID,
connid AS SitnDemoConnectionID,
fldate AS SitnDemoFlightDate,
bookid AS SitnDemoBookingID,
unique_key AS SitnDemoBookingUniqueKey,
title AS SitnDemoTitle,
wunit AS SitnDemoWeightUnit,
luggweight AS SitnDemoLuggageWeight,
confirmed AS SitnDemoIsConfirmed,
invoice AS SitnDemoIsInvoiced,
reserved AS SitnDemoIsReserved,
class AS SitnDemoBookingClass,
loccuram AS SitnDemoPrice,
loccurkey AS SitnDemoCurrency,
order_date AS SitnDemoOrderDate,
agencynum AS SitnDemoAgencyID,
pass_name AS SitnDemoPssngrName,
pass_phono AS SitnDemoPssngrPhoneNumber,
_Carrier.SitnDemoCarrierRegion AS SitnDemoCarrierRegion,
_Agency.SitnDemoAgencyRegion AS SitnDemoAgencyRegion
FROM sit2_demo_book
LEFT OUTER JOIN I_Currency AS _Currency ON SitnDemoCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON SitnDemoWeightUnit = _UnitOfMeasure.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN R_Sitn2DemoCarrier AS _Carrier ON SitnDemoCarrierID = _Carrier.SitnDemoCarrierID -- association [1..1]
LEFT OUTER JOIN R_Sitn2DemoAgency AS _Agency ON SitnDemoAgencyID = _Agency.SitnDemoAgencyID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA