FDT_TEST_FLIGHT_CDS

DDL: FDT_TEST_FLIGHT_CDS SQL: FDT_TEST_FLIGHT Type: view

SFLIGHT CDS

FDT_TEST_FLIGHT_CDS is a CDS View that provides data about "SFLIGHT CDS" in SAP S/4HANA. It reads from 1 data source (sflight) and exposes 20 fields with key fields Client, carrid, connid, fldate.

Data Sources (1)

SourceAliasJoin Type
sflight sflight from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName FDT_TEST_FLIGHT view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label SFLIGHT CDS view
OData.publish true view
ObjectModel.updateEnabled true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY Client sflight mandt Editing Client
KEY carrid sflight carrid Carrier
KEY connid sflight connid Flight Number
KEY fldate sflight fldate Flight Date
price sflight price RVP f.PricePro.
currency sflight currency Valuation Crcy
planetype sflight planetype Planetype
seatsmax sflight seatsmax Max. Seats
seatsocc sflight seatsocc Occupied Econ.
paymentsum sflight paymentsum Total
seatsmax_b sflight seatsmax_b Max. Capacity Bus.
seatsocc_b sflight seatsocc_b Occupied Bus.
seatsmax_f sflight seatsmax_f Max. Capacity 1st
seatsocc_f sflight seatsocc_f Occupied 1st
_scarr _scarr
_sbook _sbook
_spfli _spfli
_plane_type _plane_type
_vh_fldate _vh_fldate
_vh_seatsocc _vh_seatsocc

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 FDT_TEST_FLIGHT_CDS.
-- 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: FDT_TEST_FLIGHT

CREATE VIEW FDT_TEST_FLIGHT_CDS AS
SELECT
  sflight.mandt AS Client,
  sflight.carrid AS carrid,
  sflight.connid AS connid,
  sflight.fldate AS fldate,
  sflight.price AS price,
  sflight.currency AS currency,
  sflight.planetype AS planetype,
  sflight.seatsmax AS seatsmax,
  sflight.seatsocc AS seatsocc,
  sflight.paymentsum AS paymentsum,
  sflight.seatsmax_b AS seatsmax_b,
  sflight.seatsocc_b AS seatsocc_b,
  sflight.seatsmax_f AS seatsmax_f,
  sflight.seatsocc_f AS seatsocc_f
FROM sflight
;