P_StkValueByType3

DDL: P_STKVALUEBYTYPE3 Type: view_entity COMPOSITE Package: MM_IM_VDM_STOCK

Stock value by type level 3

P_StkValueByType3 is a Composite CDS View that provides data about "Stock value by type level 3" in SAP S/4HANA. It reads from 1 data source (P_StkValueByType2) and exposes 12 fields with key fields Material, Plant, StorageLocation, InventoryStockType, InventorySpecialStockType. Part of development package MM_IM_VDM_STOCK.

Data Sources (1)

SourceAliasJoin Type
P_StkValueByType2 P_StkValueByType2 from

Annotations (6)

NameValueLevelField
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (12)

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 CostEstimate CostEstimate Cost EstimateNo
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
KEY CompanyCode CompanyCode Receiver Company Code
KEY ValuationAreaType ValuationAreaType Valuation area
MatlWrhsStkQtyInMatlBaseUnit MatlWrhsStkQtyInMatlBaseUnit Quantity
Currency Currency Valuation Crcy
_CompanyCode _CompanyCode

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_StkValueByType3.
-- 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_StkValueByType3 AS
SELECT
  Material,
  Plant,
  StorageLocation,
  InventoryStockType,
  InventorySpecialStockType,
  CostEstimate,
  MaterialBaseUnit,
  CompanyCode,
  ValuationAreaType,
  MatlWrhsStkQtyInMatlBaseUnit,
  Currency
FROM P_StkValueByType2
;