I_MRPStockQuickView

DDL: I_MRPSTOCKQUICKVIEW Type: view_entity COMPOSITE

Stock Details

I_MRPStockQuickView is a Composite CDS View (Cube) that provides data about "Stock Details" in SAP S/4HANA. It reads from 1 data source (PPH_DDL_STOCK_KF_5) and exposes 14 fields with key fields Material, MRPPlant, MRPArea, MRPPlanningSegmentType, MRPPlanningSegment.

Data Sources (1)

SourceAliasJoin Type
PPH_DDL_STOCK_KF_5 stck from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Stock Details view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Material PPH_DDL_STOCK_KF_5 matnr Vehicle Model
KEY MRPPlant PPH_DDL_STOCK_KF_5 werks Receiving Plant
KEY MRPArea PPH_DDL_STOCK_KF_5 berid Single-Character Flag
KEY MRPPlanningSegmentType PPH_DDL_STOCK_KF_5 plaab MRP segment
KEY MRPPlanningSegment PPH_DDL_STOCK_KF_5 planr Plng Segmnt No.
MRPAvailableStockQty
MaterialSafetyStockQty
MaterialReorderPointQty
MaterialMaxStockLevelQuantity
SafetyTimeInWorkDays
UnrestrictedStkInStkUnit
BlockedStockQuantity
QualityInspectionStockQuantity
MaterialBaseUnit

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_MRPStockQuickView.
-- 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_MRPStockQuickView AS
SELECT
  stck.matnr AS Material,
  stck.werks AS MRPPlant,
  stck.berid AS MRPArea,
  stck.plaab AS MRPPlanningSegmentType,
  stck.planr AS MRPPlanningSegment,
  cast( stck.mng01 as pph_dec_20_3 ) AS MRPAvailableStockQty,
  cast( 0 as eisbe ) AS MaterialSafetyStockQty,
  cast( 0 as minbe ) AS MaterialReorderPointQty,
  cast( 0 as mabst ) AS MaterialMaxStockLevelQuantity,
  cast( '' as shzet ) AS SafetyTimeInWorkDays,
  cast( 0 as labst ) AS UnrestrictedStkInStkUnit,
  cast( 0 as speme ) AS BlockedStockQuantity,
  cast( 0 as insme ) AS QualityInspectionStockQuantity,
  cast ('' as meins ) AS MaterialBaseUnit
FROM PPH_DDL_STOCK_KF_5 AS stck
;