C_MRPPlantStockCard

DDL: C_MRPPLANTSTOCKCARD Type: view_entity CONSUMPTION

Quick view for Plant Stock

C_MRPPlantStockCard is a Consumption CDS View that provides data about "Quick view for Plant Stock" in SAP S/4HANA. It reads from 1 data source (I_MRPStockQuickView) and exposes 19 fields with key fields Material, MRPPlant, MRPArea, MRPPlanningSegmentType, MRPPlanningSegment.

Data Sources (1)

SourceAliasJoin Type
I_MRPStockQuickView I_MRPStockQuickView from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Quick view for Plant Stock view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY MRPPlant MRPPlant Plant
KEY MRPArea MRPArea MRP Area
KEY MRPPlanningSegmentType MRPPlanningSegmentType MRP segment
KEY MRPPlanningSegment MRPPlanningSegment Plng Segmnt No.
MRPAvailableStockQty MRPAvailableStockQty
MaterialSafetyStockQty MaterialSafetyStockQty Safety Stock
MaterialReorderPointQty MaterialReorderPointQty Reorder Point
MaterialMaxStockLevelQuantity MaterialMaxStockLevelQuantity
SafetyTimeInWorkDays SafetyTimeInWorkDays
UnrestrictedStkInStkUnit UnrestrictedStkInStkUnit
BlockedStockQuantity BlockedStockQuantity
QualityInspectionStockQuantity QualityInspectionStockQuantity
MaterialBaseUnit MaterialBaseUnit Valuation Unit
UICT_MaterialSafetyStockQty
UICT_MaterialReorderPointQty
UICT_MaterialMaxStockLevelQty
UICT_UnrestrictedStkInStkUnit
UICT_BlockedStockQuantity

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 C_MRPPlantStockCard.
-- 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 C_MRPPlantStockCard AS
SELECT
  Material,
  MRPPlant,
  MRPArea,
  MRPPlanningSegmentType,
  MRPPlanningSegment,
  MRPAvailableStockQty,
  MaterialSafetyStockQty,
  MaterialReorderPointQty,
  MaterialMaxStockLevelQuantity,
  SafetyTimeInWorkDays,
  UnrestrictedStkInStkUnit,
  BlockedStockQuantity,
  QualityInspectionStockQuantity,
  MaterialBaseUnit,
  cast ( '' as boolean preserving type ) AS UICT_MaterialSafetyStockQty,
  cast ( '' as boolean preserving type ) AS UICT_MaterialReorderPointQty,
  cast ( '' as boolean preserving type ) AS UICT_MaterialMaxStockLevelQty,
  cast ( '' as boolean preserving type ) AS UICT_UnrestrictedStkInStkUnit,
  cast ( '' as boolean preserving type ) AS UICT_BlockedStockQuantity
FROM I_MRPStockQuickView
;