I_MatlDocMaterialVH

DDL: I_MATLDOCMATERIALVH SQL: IMATLDOCMATVH Type: view BASIC

Invtry mngmt postings for materials

I_MatlDocMaterialVH is a Basic CDS View (Dimension) that provides data about "Invtry mngmt postings for materials" in SAP S/4HANA. It has 2 associations to related views.

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IMATLDOCMATVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Invtry mngmt postings for materials view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #DIMENSION view
Search.searchable true view
Consumption.ranked true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Material view
VDM.private false view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.allowExtensions true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Material
KEY Plant Plant Valuation Area
MaterialName
PlantName _Plant PlantName Plant Name
MaterialGroup
MaterialGroupName
MaterialType
MaterialTypeName
MaterialExternalID
AuthorizationGroup _Product AuthorizationGroup AuthorizGroup
MaterialBaseUnit _Product BaseUnit Unit of Measure
MaterialManufacturerNumber _Product ManufacturerNumber Manufacturer No
MaterialManufacturerPartNumber _Product ProductManufacturerNumber Mfr Part Number
MaterialGroupText
_MaterialGroup _Product _ProductGroup
_MaterialType _Product _ProductType
_Product _Product
_Plant _Plant

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 I_MatlDocMaterialVH.
-- 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: IMATLDOCMATVH

CREATE VIEW I_MatlDocMaterialVH AS
SELECT
  cast(StockIdentifyingMaterial as matnr preserving type ) AS Material,
  Plant,
  cast( _Product._Text[1: Language=$session.system_language].ProductName as maktx preserving type ) AS MaterialName,
  _Plant.PlantName AS PlantName,
  cast( _Product.ProductGroup as matkl preserving type ) AS MaterialGroup,
  cast( _Product._ProductGroup._Text[1: Language=$session.system_language].MaterialGroupName as nsdm_wgbez preserving type ) AS MaterialGroupName,
  cast( _Product.ProductType as mtart preserving type ) AS MaterialType,
  cast(_Product._ProductType._Text[1: Language=$session.system_language].MaterialTypeName as nsdm_mtbez preserving type ) AS MaterialTypeName,
  cast( _Product.ProductExternalID as nsdm_mat_external preserving type ) AS MaterialExternalID,
  _Product.AuthorizationGroup AS AuthorizationGroup,
  _Product.BaseUnit AS MaterialBaseUnit,
  _Product.ManufacturerNumber AS MaterialManufacturerNumber,
  _Product.ProductManufacturerNumber AS MaterialManufacturerPartNumber,
  _Product._ProductGroup._Text[1: Language=$session.system_language].MaterialGroupText AS MaterialGroupText,
  _Product._ProductGroup AS _MaterialGroup,
  _Product._ProductType AS _MaterialType
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;