C_Storevh

DDL: C_STOREVH SQL: CSTOREVH Type: view CONSUMPTION

Consumption-Store Value Help

C_Storevh is a Consumption CDS View that provides data about "Consumption-Store Value Help" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 4 fields with key field Store. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Plant Store from

Associations (1)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSTOREVH view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.representativeKey Store view
EndUserText.label Consumption-Store Value Help 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 Store
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_Storevh.
-- 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: CSTOREVH

CREATE VIEW C_Storevh AS
SELECT
  cast(Store.Plant as store preserving type ) AS Store,
  cast(Store.PlantName as storename preserving type ) AS PlantName,
  Store.PlantCategory AS PlantCategory
FROM I_Plant AS Store
LEFT OUTER JOIN I_PlantCategoryT AS _PlantCategoryText ON PlantCategory = _PlantCategoryText.PlantCategory  -- association [0..*]
;