SADL_V_CDS_Parameter

DDL: SADL_V_CDS_PARAMETER SQL: SADL_V_CDS_PAR Type: view

SADL_V_CDS_Parameter is a CDS View in SAP S/4HANA. It reads from 2 data sources (snwd_pd_catgos, snwd_pd) and exposes 5 fields with key field ProductID.

Data Sources (2)

SourceAliasJoin Type
snwd_pd_catgos Category left_outer
snwd_pd Product from

Parameters (2)

NameTypeDefault
p_MainCategory char40
p_language sylangu

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SADL_V_CDS_PAR view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductID snwd_pd product_id Simulated Product ID
Category snwd_pd category Violation Category
MainCategory snwd_pd_catgos main_category Main Category
Price price RVP f.PricePro.
Currency currency_code Currency Code

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 SADL_V_CDS_Parameter.
-- 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: SADL_V_CDS_PAR
-- Parameters: p_MainCategory : char40, p_language : sylangu

CREATE VIEW SADL_V_CDS_Parameter AS
SELECT
  Product.product_id AS ProductID,
  Product.category AS Category,
  Category.main_category AS MainCategory,
  Price,
  currency_code AS Currency
FROM snwd_pd AS Product
LEFT OUTER JOIN snwd_pd_catgos AS Category ON /* join condition not captured in parsed metadata */
;