demo_cds_parameter_type

DDL: DEMO_CDS_PARAMETER_TYPE SQL: DEMO_CDS_PTYPE Type: view Package: SABAP_DEMOS_ABAP_CDS_CLOUD

CDS DDIC-based view, parameter type specified

demo_cds_parameter_type is a CDS View that provides data about "CDS DDIC-based view, parameter type specified" in SAP S/4HANA. It reads from 1 data source (demo_expressions) and exposes 3 fields with key field id. Part of development package SABAP_DEMOS_ABAP_CDS_CLOUD.

Data Sources (1)

SourceAliasJoin Type
demo_expressions demo_expressions from

Parameters (2)

NameTypeDefault
p_date demodate
p_num abap.dec( 10, 3 )

Annotations (2)

NameValueLevelField
AbapCatalog.sqlViewName DEMO_CDS_PTYPE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
col_date
col_num

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_parameter_type.
-- 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: DEMO_CDS_PTYPE
-- Parameters: p_date : demodate, p_num : abap.dec( 10, 3 )

CREATE VIEW demo_cds_parameter_type AS
SELECT
  id,
  :p_date AS col_date,
  :p_num + dec3 AS col_num
FROM demo_expressions
;