F51_Mmim_Matstockquanvalbydat3

DDL: F51_MMIM_MATSTOCKQUANVALBYDAT3 Type: view_entity

Material Stock Quantity and Value

F51_Mmim_Matstockquanvalbydat3 is a CDS View that provides data about "Material Stock Quantity and Value" in SAP S/4HANA. It reads from 1 data source (F5_Mmim_Matstockquanvalbydat3) and exposes 50 fields.

Data Sources (1)

SourceAliasJoin Type
F5_Mmim_Matstockquanvalbydat3 F5_Mmim_Matstockquanvalbydat3 from

Parameters (1)

NameTypeDefault
P_EndDate sydate

Annotations (5)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Material Stock Quantity and Value view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (50)

KeyFieldSource TableSource FieldDescription
SourceConstantId
Material Material Vehicle Model
Plant Plant Valuation Area
StorageLocation StorageLocation StorageLocation
ResourceId ResourceId Vehicle ID
Batch Batch Lot No.
Supplier Supplier Supplier
SDDocument SDDocument SD Document
SDDocumentItem SDDocumentItem
WBSElementInternalID WBSElementInternalID WBS Internal ID
Customer Customer Sold-to Party
InventoryStockType InventoryStockType Stock Type
InventorySpecialStockType InventorySpecialStockType Special Stock Type
CompanyCode CompanyCode Receiver Company Code
MaterialBaseUnit MaterialBaseUnit Valuation Unit
MatlWrhsStkQtyInMatlBaseUnit MatlWrhsStkQtyInMatlBaseUnit Quantity
ValuationArea ValuationArea Valuation Area
InventoryValuationType InventoryValuationType Valuation Type
CostEstimate CostEstimate Cost EstimateNo
Currency Currency Valuation Crcy
CurrentStock CurrentStock
QualityInspectionStockQuantity QualityInspectionStockQuantity
ReturnsBlockedStockQuantity ReturnsBlockedStockQuantity
TransferStockStorageLocQty TransferStockStorageLocQty
TransferStockPlantQuantity TransferStockPlantQuantity
StockInTransitQuantity StockInTransitQuantity Stk in Transit
BlockedStockQuantity BlockedStockQuantity
RestrictedStockQuantity RestrictedStockQuantity
TiedEmptiesStockQuantity TiedEmptiesStockQuantity
GoodsReceiptBlockedStockQty GoodsReceiptBlockedStockQty Val. GR Blocked Stck
CurrentStockValue CurrentStockValue
QualityInspectionStockValue QualityInspectionStockValue
ReturnsBlockedStockValue ReturnsBlockedStockValue
TransferStockStorageLocValue TransferStockStorageLocValue
TransferStockPlantValue TransferStockPlantValue
StockInTransitValue StockInTransitValue
BlockedStockValue BlockedStockValue
RestrictedStockValue RestrictedStockValue
TiedEmptiesStockValue TiedEmptiesStockValue
GoodsReceiptBlockedStockValue GoodsReceiptBlockedStockValue
CurrentStockCurVal CurrentStockCurVal
QualityInspectionStockCurVal QualityInspectionStockCurVal
ReturnsBlockedStockCurVal ReturnsBlockedStockCurVal
TransferStockStorageLocCurVal TransferStockStorageLocCurVal
TransferStockPlantCurVal TransferStockPlantCurVal
StockInTransitCurVal StockInTransitCurVal
BlockedStockCurVal BlockedStockCurVal
RestrictedStockCurVal RestrictedStockCurVal
TiedEmptiesStockCurVal TiedEmptiesStockCurVal
GoodsReceiptBlockedStockCurVal GoodsReceiptBlockedStockCurVal

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 F51_Mmim_Matstockquanvalbydat3.
-- 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.
-- Parameters: P_EndDate : sydate

CREATE VIEW F51_Mmim_Matstockquanvalbydat3 AS
SELECT
  cast('01' as char02) AS SourceConstantId,
  Material,
  Plant,
  StorageLocation,
  ResourceId,
  Batch,
  Supplier,
  SDDocument,
  SDDocumentItem,
  WBSElementInternalID,
  Customer,
  InventoryStockType,
  InventorySpecialStockType,
  CompanyCode,
  MaterialBaseUnit,
  MatlWrhsStkQtyInMatlBaseUnit,
  ValuationArea,
  InventoryValuationType,
  CostEstimate,
  Currency,
  CurrentStock,
  QualityInspectionStockQuantity,
  ReturnsBlockedStockQuantity,
  TransferStockStorageLocQty,
  TransferStockPlantQuantity,
  StockInTransitQuantity,
  BlockedStockQuantity,
  RestrictedStockQuantity,
  TiedEmptiesStockQuantity,
  GoodsReceiptBlockedStockQty,
  CurrentStockValue,
  QualityInspectionStockValue,
  ReturnsBlockedStockValue,
  TransferStockStorageLocValue,
  TransferStockPlantValue,
  StockInTransitValue,
  BlockedStockValue,
  RestrictedStockValue,
  TiedEmptiesStockValue,
  GoodsReceiptBlockedStockValue,
  CurrentStockCurVal,
  QualityInspectionStockCurVal,
  ReturnsBlockedStockCurVal,
  TransferStockStorageLocCurVal,
  TransferStockPlantCurVal,
  StockInTransitCurVal,
  BlockedStockCurVal,
  RestrictedStockCurVal,
  TiedEmptiesStockCurVal,
  GoodsReceiptBlockedStockCurVal
FROM F5_Mmim_Matstockquanvalbydat3
;