C_Distributioncentervh

DDL: C_DISTRIBUTIONCENTERVH SQL: CDCVH Type: view CONSUMPTION Package: VDM_MD_PRODUCT

Consumption-Dist Center Value Help

C_Distributioncentervh is a Consumption CDS View that provides data about "Consumption-Dist Center Value Help" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 4 fields with key field DistributionCenter. It has 1 association to related views. Part of development package VDM_MD_PRODUCT.

Data Sources (1)

SourceAliasJoin Type
I_Plant DistributionCenter from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PlantCategoryT _PlantCategoryText $projection.PlantCategory = _PlantCategoryText.PlantCategory

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CDCVH view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption-Dist Center Value Help view
Search.searchable true view
ObjectModel.representativeKey DistributionCenter view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DistributionCenter
PlantName
PlantCategory I_Plant PlantCategory Plant cat.
_PlantCategoryText _PlantCategoryText

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_Distributioncentervh.
-- 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: CDCVH

CREATE VIEW C_Distributioncentervh AS
SELECT
  cast(DistributionCenter.Plant as distributioncenter preserving type ) AS DistributionCenter,
  cast(DistributionCenter.PlantName as distributioncentername preserving type ) AS PlantName,
  DistributionCenter.PlantCategory AS PlantCategory
FROM I_Plant AS DistributionCenter
LEFT OUTER JOIN I_PlantCategoryT AS _PlantCategoryText ON PlantCategory = _PlantCategoryText.PlantCategory  -- association [0..*]
;