Cds_With_Parameters2_Dcl_Pfcg

DDL: CDS_WITH_PARAMETERS2_DCL_PFCG SQL: CDSFRWK_DEMO_15A Type: view

Parameters in WHERE clause based on DCL with PFCG conditions

Cds_With_Parameters2_Dcl_Pfcg is a CDS View that provides data about "Parameters in WHERE clause based on DCL with PFCG conditions" in SAP S/4HANA. It reads from 1 data source (CdsFrwk_Sales_Order_Item) and exposes 4 fields with key field so_guid. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
CdsFrwk_Sales_Order_Item CdsFrwk_Sales_Order_Item from

Parameters (1)

NameTypeDefault
pCuCo snwd_curr_code

Associations (1)

CardinalityTargetAliasCondition
[1] snwd_so _sales_order so_guid = _sales_order.node_key

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName CDSFRWK_DEMO_15A view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Parameters in WHERE clause based on DCL with PFCG conditions view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY so_guid so_guid Node Key
so_id
tax_rate tax_rate WithholdingRate
_sales_order _sales_order

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 Cds_With_Parameters2_Dcl_Pfcg.
-- 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: CDSFRWK_DEMO_15A
-- Parameters: pCuCo : snwd_curr_code

CREATE VIEW Cds_With_Parameters2_Dcl_Pfcg AS
SELECT
  so_guid,
  coalesce ( _sales_order.so_id, '9999999999' ) AS so_id,
  tax_rate
FROM CdsFrwk_Sales_Order_Item
LEFT OUTER JOIN snwd_so AS _sales_order ON so_guid = _sales_order.node_key  -- association [1]
;