I_MatlDocPlantVH

DDL: I_MATLDOCPLANTVH SQL: IMATLDOCPLANTVH Type: view BASIC

Inventory management postings on plant

I_MatlDocPlantVH is a Basic CDS View (Dimension) that provides data about "Inventory management postings on plant" in SAP S/4HANA.

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IMATLDOCPLANTVH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inventory management postings on plant view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #DIMENSION view
Search.searchable true view
Consumption.ranked true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Plant view
VDM.private false view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.allowExtensions true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
Country
CityCode
CityName
StreetName
HouseNumber
AddressID _Plant AddressID Ship-to address
_Address _Plant _Address

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_MatlDocPlantVH.
-- 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: IMATLDOCPLANTVH

CREATE VIEW I_MatlDocPlantVH AS
SELECT
  Plant,
  _Plant.PlantName AS PlantName,
  cast( _Plant._Address.Country as mmim_country preserving type ) AS Country,
  cast( _Plant._Address.CityCode as mmim_city_code preserving type ) AS CityCode,
  _Plant._Address.CityName AS CityName,
  _Plant._Address.StreetName AS StreetName,
  _Plant._Address.HouseNumber AS HouseNumber,
  _Plant.AddressID AS AddressID,
  _Plant._Address AS _Address
;