DEMO_CDS_FLTP_TO_DEC_VE

DDL: DEMO_CDS_FLTP_TO_DEC_VE Type: view_entity

DEMO_CDS_FLTP_TO_DEC_VE is a CDS View in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 6 fields.

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
currencyCode _a cuky
unitOfMeasure _a unit3
dec1_10_0
dec1_10_3
curr_10_2
quan_10_3

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 DEMO_CDS_FLTP_TO_DEC_VE.
-- 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 DEMO_CDS_FLTP_TO_DEC_VE AS
SELECT
  _a.cuky AS currencyCode,
  _a.unit3 AS unitOfMeasure,
  fltp_to_dec( fltp1 as abap.dec(10,0) ) AS dec1_10_0,
  fltp_to_dec( fltp1 as abap.dec(10,3) ) AS dec1_10_3,
  fltp_to_dec( fltp2 as abap.curr(10,2) ) AS curr_10_2,
  fltp_to_dec( fltp2 as abap.quan(10,3) ) AS quan_10_3
FROM demo_expressions
;