DEMO_CDS_SQL_FUNCTIONS_NUM_VE

DDL: DEMO_CDS_SQL_FUNCTIONS_NUM_VE Type: view_entity

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

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Annotations (1)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
r_abs
r_ceil
r_floor
r_div
r_mod
r_division
r_round1
r_round2

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_SQL_FUNCTIONS_NUM_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_SQL_FUNCTIONS_NUM_VE AS
SELECT
  abs( num1 ) AS r_abs,
  ceil( d34n1 ) AS r_ceil,
  floor( d34n2 ) AS r_floor,
  div( num1, num2 ) AS r_div,
  mod( num1, num2 ) AS r_mod,
  division( dec2, dec3, 3 ) AS r_division,
  round( dec3, 2 ) AS r_round1,
  round( dec3, -2 ) AS r_round2
FROM demo_expressions
;