P_MatStkQtyValOVP1

DDL: P_MATSTKQTYVALOVP1 Type: view_entity COMPOSITE Package: MM_IM_VDM_STOCK

Material Stock Quantiy and Value OVP1

P_MatStkQtyValOVP1 is a Composite CDS View that provides data about "Material Stock Quantiy and Value OVP1" in SAP S/4HANA. It reads from 1 data source (I_MaterialStock_2) and exposes 17 fields with key fields Material, Plant, StorageLocation, InventoryStockType, InventorySpecialStockType. Part of development package MM_IM_VDM_STOCK.

Data Sources (1)

SourceAliasJoin Type
I_MaterialStock_2 I_MaterialStock_2 from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY StorageLocation StorageLocation StorageLocation
KEY InventoryStockType InventoryStockType Stock Type
KEY InventorySpecialStockType InventorySpecialStockType Special Stock Type
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
KEY CostEstimate CostEstimate Cost EstimateNo
CompanyCode CompanyCode Receiver Company Code
MatlWrhsStkQtyInMatlBaseUnit
_UnitOfMeasure _UnitOfMeasure
_Material _Material
_Plant _Plant
_StorageLocation _StorageLocation
_InventoryStockType _InventoryStockType
_InventorySpecialStockType _InventorySpecialStockType
_CompanyCode _CompanyCode
_CurrentInvtryPrice _CurrentInvtryPrice

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 P_MatStkQtyValOVP1.
-- 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.

CREATE VIEW P_MatStkQtyValOVP1 AS
SELECT
  Material,
  Plant,
  StorageLocation,
  InventoryStockType,
  InventorySpecialStockType,
  MaterialBaseUnit,
  CostEstimate,
  CompanyCode,
  sum(MatlWrhsStkQtyInMatlBaseUnit) AS MatlWrhsStkQtyInMatlBaseUnit
FROM I_MaterialStock_2
;