I_SupDmndAllDocPhysStk

DDL: I_SUPDMNDALLDOCPHYSSTK Type: view COMPOSITE

View for Physical Stock

I_SupDmndAllDocPhysStk is a Composite CDS View that provides data about "View for Physical Stock" in SAP S/4HANA. It reads from 3 data sources (I_SupDmndMaterialPlant, I_SupDmndOvwBatchSelection, P_SupDmndAllDocMatlStkAggrgd) and exposes 28 fields.

Data Sources (3)

SourceAliasJoin Type
I_SupDmndMaterialPlant Marc inner
I_SupDmndOvwBatchSelection mcha left_outer
P_SupDmndAllDocMatlStkAggrgd Stock from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISUPDMNDADSTK view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label View for Physical Stock view

Fields (28)

KeyFieldSource TableSource FieldDescription
Material P_SupDmndAllDocMatlStkAggrgd Material Vehicle Model
Plant P_SupDmndAllDocMatlStkAggrgd Plant Valuation Area
Batch P_SupDmndAllDocMatlStkAggrgd Batch Lot No.
StorageLocation P_SupDmndAllDocMatlStkAggrgd StorageLocation StorageLocation
InventorySpecialStockType P_SupDmndAllDocMatlStkAggrgd InventorySpecialStockType Special Stock Type
SalesOrder P_SupDmndAllDocMatlStkAggrgd SalesOrder SD Document
SalesOrderItem P_SupDmndAllDocMatlStkAggrgd SalesOrderItem Sales Order Item
Customer P_SupDmndAllDocMatlStkAggrgd Customer Sold-to Party
Supplier P_SupDmndAllDocMatlStkAggrgd Supplier Supplier
MaterialGroup I_SupDmndMaterialPlant MaterialGroup Product Group
CrossPlantConfigurableProduct I_SupDmndMaterialPlant CrossPlantConfigurableProduct Cross-plant CP
MaterialType I_SupDmndMaterialPlant MaterialType Material Type
StockSegment I_SupDmndOvwBatchSelection StockSegment Stock Segment
IsInternalBatchManaged I_SupDmndMaterialPlant IsInternalBatchManaged Batches
UnrestrictedStkInStkUnit UnrestrictedStkInStkUnit
QualityInspectionStockQuantity QualityInspectionStockQuantity
TransferStockStorageLocQty TransferStockStorageLocQty
TransferStockPlantQuantity TransferStockPlantQuantity
StockInTransitQuantity StockInTransitQuantity Stk in Transit
BlockedStockQuantity BlockedStockQuantity
RestrictedStockQuantity RestrictedStockQuantity
TiedEmptiesStockQuantity TiedEmptiesStockQuantity
GoodsReceiptBlockedStockQty GoodsReceiptBlockedStockQty Val. GR Blocked Stck
TotalQuantity TotalQuantity Activity Quantity
BaseUnit BaseUnit Unit of Measure
DocumentCurrency DocumentCurrency Document Currency
NetPriceAmount NetPriceAmount Net Price
SupplyDeliveryDate SupplyDeliveryDate

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 I_SupDmndAllDocPhysStk.
-- 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 I_SupDmndAllDocPhysStk AS
SELECT
  Stock.Material AS Material,
  Stock.Plant AS Plant,
  Stock.Batch AS Batch,
  Stock.StorageLocation AS StorageLocation,
  Stock.InventorySpecialStockType AS InventorySpecialStockType,
  Stock.SalesOrder AS SalesOrder,
  Stock.SalesOrderItem AS SalesOrderItem,
  Stock.Customer AS Customer,
  Stock.Supplier AS Supplier,
  Marc.MaterialGroup AS MaterialGroup,
  Marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  Marc.MaterialType AS MaterialType,
  mcha.StockSegment AS StockSegment,
  Marc.IsInternalBatchManaged AS IsInternalBatchManaged,
  UnrestrictedStkInStkUnit,
  QualityInspectionStockQuantity,
  TransferStockStorageLocQty,
  TransferStockPlantQuantity,
  StockInTransitQuantity,
  BlockedStockQuantity,
  RestrictedStockQuantity,
  TiedEmptiesStockQuantity,
  GoodsReceiptBlockedStockQty,
  TotalQuantity,
  BaseUnit,
  DocumentCurrency,
  NetPriceAmount,
  SupplyDeliveryDate
FROM P_SupDmndAllDocMatlStkAggrgd AS Stock
INNER JOIN I_SupDmndMaterialPlant AS Marc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupDmndOvwBatchSelection AS mcha ON /* join condition not captured in parsed metadata */
;