P_StkValueByType3

DDL: P_STKVALUEBYTYPE3 Type: view COMPOSITE

P_StkValueByType3 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_StkValueByType2) and exposes 11 fields with key fields Material, Plant, StorageLocation, InventoryStockType, InventorySpecialStockType.

Data Sources (1)

SourceAliasJoin Type
P_StkValueByType2 P_StkValueByType2 from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSTCKVALTYP3 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (11)

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
_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
FROM P_StkValueByType2
;