P_MaterialValuationBatch

DDL: P_MATERIALVALUATIONBATCH Type: view_entity COMPOSITE Package: ODATA_ML_MNTRMATLPRICES

Inventory Valuation Batch

P_MaterialValuationBatch is a Composite CDS View that provides data about "Inventory Valuation Batch" in SAP S/4HANA. It reads from 1 data source (I_MaterialValuationBatchVH) and exposes 12 fields with key field InventoryValuationType. It has 1 association to related views. Part of development package ODATA_ML_MNTRMATLPRICES.

Data Sources (1)

SourceAliasJoin Type
I_MaterialValuationBatchVH I_MaterialValuationBatchVH from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_WBSElementBasicData _WBSElementBasicData $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inventory Valuation Batch view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #META view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY InventoryValuationType InventoryValuationType Valuation Type
CostEstimate CostEstimate Cost EstimateNo
Material Material Vehicle Model
ValuationArea ValuationArea Valuation Area
Plant Plant Valuation Area
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
Supplier Supplier Supplier
WBSElementInternalID WBSElementInternalID WBS Internal ID
InventorySpecialStockType InventorySpecialStockType Special Stock Type
InventorySpecialStockValnType InventorySpecialStockValnType Valuation
_WBSElementBasicData _WBSElementBasicData

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_MaterialValuationBatch.
-- 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_MaterialValuationBatch AS
SELECT
  InventoryValuationType,
  CostEstimate,
  Material,
  ValuationArea,
  Plant,
  SalesOrder,
  SalesOrderItem,
  Supplier,
  WBSElementInternalID,
  InventorySpecialStockType,
  InventorySpecialStockValnType
FROM I_MaterialValuationBatchVH
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID  -- association [0..1]
;