C_PlantVH

DDL: C_PLANTVH SQL: CPRDPLANTVH Type: view CONSUMPTION

Consumption-Plant Value Help

C_PlantVH is a Consumption CDS View that provides data about "Consumption-Plant Value Help" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 4 fields with key field Plant.

Data Sources (1)

SourceAliasJoin Type
I_Plant Plant from

Annotations (12)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Plant Plant Valuation Area
PlantName PlantName Plant Name
SalesOrganization SalesOrganization Sales Organization
DistributionChannel RefDistCh-Cust/Mat.

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_PlantVH.
-- 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: CPRDPLANTVH

CREATE VIEW C_PlantVH AS
SELECT
  Plant,
  PlantName,
  SalesOrganization,
  cast( DistributionChannel as vtweg preserving type ) AS DistributionChannel
FROM I_Plant AS Plant
;