I_SupDmndAllDocBatchStock

DDL: I_SUPDMNDALLDOCBATCHSTOCK Type: view COMPOSITE

View for Batch Stock

I_SupDmndAllDocBatchStock is a Composite CDS View that provides data about "View for Batch Stock" in SAP S/4HANA. It reads from 2 data sources (P_ARunAssgmtSup, I_SupDmndAllDocBatStkBsc) and exposes 35 fields.

Data Sources (2)

SourceAliasJoin Type
P_ARunAssgmtSup bdbs left_outer
I_SupDmndAllDocBatStkBsc 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 ISUPDMNDADBSTK 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 Batch Stock view

Fields (35)

KeyFieldSource TableSource FieldDescription
SupplyNumber I_SupDmndAllDocBatStkBsc SupplyNumber
SupplyItem I_SupDmndAllDocBatStkBsc SupplyItem
SupplyScheduleLine I_SupDmndAllDocBatStkBsc SupplyScheduleLine
Material I_SupDmndAllDocBatStkBsc Material Vehicle Model
Plant I_SupDmndAllDocBatStkBsc Plant Valuation Area
Batch I_SupDmndAllDocBatStkBsc Batch Lot No.
StorageLocation I_SupDmndAllDocBatStkBsc StorageLocation StorageLocation
SupAssgmtSource I_SupDmndAllDocBatStkBsc SupAssgmtSource
AssignedSupplyType I_SupDmndAllDocBatStkBsc AssignedSupplyType
SupplyDeliveryDate I_SupDmndAllDocBatStkBsc SupplyDeliveryDate
ProductAvailabilityDate I_SupDmndAllDocBatStkBsc ProductAvailabilityDate Mat.Avail.Date
InventorySpecialStockType I_SupDmndAllDocBatStkBsc InventorySpecialStockType Special Stock Type
SalesOrder I_SupDmndAllDocBatStkBsc SalesOrder SD Document
SalesOrderItem I_SupDmndAllDocBatStkBsc SalesOrderItem Sales Order Item
MaterialGroup I_SupDmndAllDocBatStkBsc MaterialGroup Product Group
Customer I_SupDmndAllDocBatStkBsc Customer Sold-to Party
Supplier I_SupDmndAllDocBatStkBsc Supplier Supplier
CrossPlantConfigurableProduct I_SupDmndAllDocBatStkBsc CrossPlantConfigurableProduct Cross-plant CP
IsInternalBatchManaged I_SupDmndAllDocBatStkBsc IsInternalBatchManaged Batches
TotalQuantity I_SupDmndAllDocBatStkBsc TotalQuantity Activity Quantity
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
AssignedQuantityInBaseUnit AssignedQuantityInBaseUnit
NormalAssignedQuantityInBsUnt NormalAssignedQuantityInBsUnt
PreviewAssignedQuantityInBsUnt PreviewAssignedQuantityInBsUnt
BaseUnit I_SupDmndAllDocBatStkBsc BaseUnit Unit of Measure
StockSegment I_SupDmndAllDocBatStkBsc StockSegment Stock Segment
DeliveredQuantity I_SupDmndAllDocBatStkBsc DeliveredQuantity Qty. in OPUn

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_SupDmndAllDocBatchStock.
-- 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_SupDmndAllDocBatchStock AS
SELECT
  Stock.SupplyNumber AS SupplyNumber,
  Stock.SupplyItem AS SupplyItem,
  Stock.SupplyScheduleLine AS SupplyScheduleLine,
  Stock.Material AS Material,
  Stock.Plant AS Plant,
  Stock.Batch AS Batch,
  Stock.StorageLocation AS StorageLocation,
  Stock.SupAssgmtSource AS SupAssgmtSource,
  Stock.AssignedSupplyType AS AssignedSupplyType,
  Stock.SupplyDeliveryDate AS SupplyDeliveryDate,
  Stock.ProductAvailabilityDate AS ProductAvailabilityDate,
  Stock.InventorySpecialStockType AS InventorySpecialStockType,
  Stock.SalesOrder AS SalesOrder,
  Stock.SalesOrderItem AS SalesOrderItem,
  Stock.MaterialGroup AS MaterialGroup,
  Stock.Customer AS Customer,
  Stock.Supplier AS Supplier,
  Stock.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  Stock.IsInternalBatchManaged AS IsInternalBatchManaged,
  Stock.TotalQuantity AS TotalQuantity,
  UnrestrictedStkInStkUnit,
  QualityInspectionStockQuantity,
  TransferStockStorageLocQty,
  TransferStockPlantQuantity,
  StockInTransitQuantity,
  BlockedStockQuantity,
  RestrictedStockQuantity,
  TiedEmptiesStockQuantity,
  GoodsReceiptBlockedStockQty,
  AssignedQuantityInBaseUnit,
  NormalAssignedQuantityInBsUnt,
  PreviewAssignedQuantityInBsUnt,
  Stock.BaseUnit AS BaseUnit,
  Stock.StockSegment AS StockSegment,
  Stock.DeliveredQuantity AS DeliveredQuantity
FROM I_SupDmndAllDocBatStkBsc AS Stock
LEFT OUTER JOIN P_ARunAssgmtSup AS bdbs ON /* join condition not captured in parsed metadata */
;