I_StockQuickView

DDL: I_STOCKQUICKVIEW Type: view_entity COMPOSITE Package: ODATA_PP_DD_ORD_DET

Stock Details

I_StockQuickView is a Composite CDS View that provides data about "Stock Details" in SAP S/4HANA. It reads from 1 data source (P_StockQuickViewTableFunction) and exposes 35 fields with key fields Material, Plant, MRPArea. Part of development package ODATA_PP_DD_ORD_DET.

Data Sources (1)

SourceAliasJoin Type
P_StockQuickViewTableFunction P_StockQuickViewTableFunction from

Parameters (3)

NameTypeDefault
P_Material matnr
P_Plant werks_d
P_MRPArea berid

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Stock Details view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
MRPType MRPType MRP Type
MRPProcedure MRPProcedure
MRPAvailableStockQty MRPAvailableStockQty
MaterialSafetyStockQty MaterialSafetyStockQty Safety Stock
UnrestrictedStkInStkUnit UnrestrictedStkInStkUnit
QualityInspectionStockQuantity QualityInspectionStockQuantity
ReturnsBlockedStockQuantity ReturnsBlockedStockQuantity
ScheduledQuantity ScheduledQuantity Scheduled Qty
PurchaseOrderQty PurchaseOrderQty Purchase Order Quantity
RequirementQuantityInBaseUnit RequirementQuantityInBaseUnit
TransferStockPlantQuantity TransferStockPlantQuantity
TransferStockStorageLocQty TransferStockStorageLocQty
GoodsReceiptBlockedStockQty GoodsReceiptBlockedStockQty Val. GR Blocked Stck
PurOrdScheduledDueQuantity PurOrdScheduledDueQuantity
ConfirmedQuantityInBaseUnit ConfirmedQuantityInBaseUnit Sum of Confirmed Quantities
StockInTransitQuantity StockInTransitQuantity Stk in Transit
BlockedStockQuantity BlockedStockQuantity
RestrictedStockQuantity RestrictedStockQuantity
CsgnmtUnrstrcdUseStkInBaseUoM CsgnmtUnrstrcdUseStkInBaseUoM
ConsignmentStkQtyInQltyInsp ConsignmentStkQtyInQltyInsp
ConsignmentBlkdStkQtyInBaseUoM ConsignmentBlkdStkQtyInBaseUoM
ConsignmentRestrictedUseStkQty ConsignmentRestrictedUseStkQty
UnrstrcdUseStkAtSuplrInBaseUoM UnrstrcdUseStkAtSuplrInBaseUoM
StkInQltyInspAtSuplrInBaseUoM StkInQltyInspAtSuplrInBaseUoM
StkInTransfQtyForSubcontrg StkInTransfQtyForSubcontrg
VltdGdsRcptBlkdStkQtyInOrdUnit VltdGdsRcptBlkdStkQtyInOrdUnit
MatlWrhsStkQtyInMatlBaseUnit MatlWrhsStkQtyInMatlBaseUnit Quantity
BaseUnit BaseUnit Unit of Measure
InspSetpIsExistsForMatlPlnt InspSetpIsExistsForMatlPlnt
BlkdStkIsAvailForPlng BlkdStkIsAvailForPlng
StkInTransfIsAvailForPlng StkInTransfIsAvailForPlng
RstrcdUseStkIsRespected RstrcdUseStkIsRespected

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_StockQuickView.
-- 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_Material : matnr, P_Plant : werks_d, P_MRPArea : berid

CREATE VIEW I_StockQuickView AS
SELECT
  Material,
  Plant,
  MRPArea,
  MRPType,
  MRPProcedure,
  MRPAvailableStockQty,
  MaterialSafetyStockQty,
  UnrestrictedStkInStkUnit,
  QualityInspectionStockQuantity,
  ReturnsBlockedStockQuantity,
  ScheduledQuantity,
  PurchaseOrderQty,
  RequirementQuantityInBaseUnit,
  TransferStockPlantQuantity,
  TransferStockStorageLocQty,
  GoodsReceiptBlockedStockQty,
  PurOrdScheduledDueQuantity,
  ConfirmedQuantityInBaseUnit,
  StockInTransitQuantity,
  BlockedStockQuantity,
  RestrictedStockQuantity,
  CsgnmtUnrstrcdUseStkInBaseUoM,
  ConsignmentStkQtyInQltyInsp,
  ConsignmentBlkdStkQtyInBaseUoM,
  ConsignmentRestrictedUseStkQty,
  UnrstrcdUseStkAtSuplrInBaseUoM,
  StkInQltyInspAtSuplrInBaseUoM,
  StkInTransfQtyForSubcontrg,
  VltdGdsRcptBlkdStkQtyInOrdUnit,
  MatlWrhsStkQtyInMatlBaseUnit,
  BaseUnit,
  InspSetpIsExistsForMatlPlnt,
  BlkdStkIsAvailForPlng,
  StkInTransfIsAvailForPlng,
  RstrcdUseStkIsRespected
FROM P_StockQuickViewTableFunction
;