Fdt_Test_Flt_P3_Cds

DDL: FDT_TEST_FLT_P3_CDS SQL: FDT_TEST_FLT_P3 Type: view

Flight with native parameters

Fdt_Test_Flt_P3_Cds is a CDS View that provides data about "Flight with native parameters" in SAP S/4HANA. It reads from 1 data source (sflight) and exposes 14 fields.

Data Sources (1)

SourceAliasJoin Type
sflight sflight from

Parameters (2)

NameTypeDefault
p_seatmax abap.int4
p_carrid abap.char(6)

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName FDT_TEST_FLT_P3 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Flight with native parameters view

Fields (14)

KeyFieldSource TableSource FieldDescription
mandt sflight mandt Editing Client
carrid sflight carrid Carrier
connid sflight connid Flight Number
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

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_Flt_P3_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_FLT_P3
-- Parameters: p_seatmax : abap.int4, p_carrid : abap.char(6)

CREATE VIEW Fdt_Test_Flt_P3_Cds AS
SELECT
  sflight.mandt AS mandt,
  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
;