C_ProductObjPgDistrChain

DDL: C_PRODUCTOBJPGDISTRCHAIN SQL: CPRODOBJPGDSTCH Type: view CONSUMPTION

Product Object Page - Distribution Chain

C_ProductObjPgDistrChain is a Consumption CDS View that provides data about "Product Object Page - Distribution Chain" in SAP S/4HANA. It reads from 1 data source (I_ProductSalesDelivery) and exposes 14 fields with key fields Product, ProductSalesOrg, ProductDistributionChnl. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductSalesDelivery I_ProductSalesDelivery from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_ProductObjPg _ProductObjPg $projection.Product = _ProductObjPg.Product
[0..1] I_UnitOfMeasure _SalesUnitOfMeasure $projection.SalesUnit = _SalesUnitOfMeasure.UnitOfMeasure
[1..1] I_Product _Product $projection.Product = _Product.Product

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CPRODOBJPGDSTCH view
EndUserText.label Product Object Page - Distribution Chain view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY ProductSalesOrg ProductSalesOrg Sales Org.
KEY ProductDistributionChnl ProductDistributionChnl Distr. Channel
SalesPrice
PromotionSalesPrice
SalesPriceCurrency
PromotionSalesPriceCurrency
SupplyingSite SupplyingPlant Supplying Plant
ProductCategory _ProductObjPg ProductCategory Prod Category
_ProductObjPg _ProductObjPg
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_SalesUnitOfMeasure _SalesUnitOfMeasure
_Product _Product

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 C_ProductObjPgDistrChain.
-- 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: CPRODOBJPGDSTCH

CREATE VIEW C_ProductObjPgDistrChain AS
SELECT
  Product,
  ProductSalesOrg,
  ProductDistributionChnl,
  cast(0 as kbetr) AS SalesPrice,
  cast(0 as kbetr) AS PromotionSalesPrice,
  _SalesOrganization._CompanyCode.Currency AS SalesPriceCurrency,
  _SalesOrganization._CompanyCode.Currency AS PromotionSalesPriceCurrency,
  SupplyingPlant AS SupplyingSite,
  _ProductObjPg.ProductCategory AS ProductCategory
FROM I_ProductSalesDelivery
LEFT OUTER JOIN C_ProductObjPg AS _ProductObjPg ON Product = _ProductObjPg.Product  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _SalesUnitOfMeasure ON SalesUnit = _SalesUnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
;