C_SSPProductVH

DDL: C_SSPPRODUCTVH SQL: CSSPPRODUCT_VH Type: view CONSUMPTION

Product (Material) Value help for SSP PR

C_SSPProductVH is a Consumption CDS View that provides data about "Product (Material) Value help for SSP PR" in SAP S/4HANA. It reads from 2 data sources (I_MaterialPlant, I_Material) and exposes 13 fields with key fields Material, Plant. It has 6 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_MaterialPlant _MaterialPlant inner
I_Material Material from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup and _MaterialGroupText.Language = $session.system_language
[0..1] I_MaterialTypeText _MaterialTypeText $projection.MaterialType = _MaterialTypeText.MaterialType and _MaterialTypeText.Language = $session.system_language
[0..1] I_MaterialType _MaterialType $projection.MaterialType = _MaterialType.MaterialType
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSSPPRODUCT_VH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Product (Material) Value help for SSP PR view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Material I_Material Material Vehicle Model
KEY Plant I_MaterialPlant Plant Valuation Area
MaterialName
PlantName _Plant PlantName Plant Name
MaterialGroup I_Material MaterialGroup Product Group
MaterialGroupName _MaterialGroupText MaterialGroupName Product Group Description
MaterialType I_Material MaterialType Material Type
AuthorizationGroup I_Material AuthorizationGroup AuthorizGroup
MaterialTypeName _MaterialTypeText MaterialTypeName Material Type Description
ProcurementHubSourceSystem
_Plant _Plant
_MaterialType _MaterialType
_MaterialGroup _MaterialGroup

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_SSPProductVH.
-- 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: CSSPPRODUCT_VH

CREATE VIEW C_SSPProductVH AS
SELECT
  Material.Material AS Material,
  _MaterialPlant.Plant AS Plant,
  _MaterialText[1: Language = $session.system_language].MaterialName AS MaterialName,
  _Plant.PlantName AS PlantName,
  Material.MaterialGroup AS MaterialGroup,
  _MaterialGroupText.MaterialGroupName AS MaterialGroupName,
  Material.MaterialType AS MaterialType,
  Material.AuthorizationGroup AS AuthorizationGroup,
  _MaterialTypeText.MaterialTypeName AS MaterialTypeName,
  cast (' ' as abap.char( 10 ) ) AS ProcurementHubSourceSystem
FROM I_Material AS Material
INNER JOIN I_MaterialPlant AS _MaterialPlant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup AND _MaterialGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_MaterialTypeText AS _MaterialTypeText ON MaterialType = _MaterialTypeText.MaterialType AND _MaterialTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_MaterialType AS _MaterialType ON MaterialType = _MaterialType.MaterialType  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
;