C_MRPMaterialStockCard

DDL: C_MRPMATERIALSTOCKCARD Type: view_entity CONSUMPTION Package: ODATA_PP_MRP

MRP Material Stock Quick View

C_MRPMaterialStockCard is a Consumption CDS View (Cube) that provides data about "MRP Material Stock Quick View" in SAP S/4HANA. It reads from 1 data source (I_MRPMaterialStockCard) and exposes 14 fields with key field Material. It is exposed through 1 OData service (ASQL_F0251A). Part of development package ODATA_PP_MRP.

Data Sources (1)

SourceAliasJoin Type
I_MRPMaterialStockCard I_MRPMaterialStockCard from

Parameters (5)

NameTypeDefault
P_Material matnr
P_MRPPlant werks_d
P_MRPArea berid
P_MRPPlanningSegmentType plaab
P_MRPPlanningSegment planr

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label MRP Material Stock Quick View view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F0251A ASQL_F0251A C2 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
MRPPlant MRPPlant Plant
MRPArea MRPArea MRP Area
MRPPlanningSegmentType MRPPlanningSegmentType MRP segment
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

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_MRPMaterialStockCard.
-- 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_MRPPlant : werks_d, P_MRPArea : berid, P_MRPPlanningSegmentType : plaab, P_MRPPlanningSegment : planr

CREATE VIEW C_MRPMaterialStockCard AS
SELECT
  Material,
  MRPPlant,
  MRPArea,
  MRPPlanningSegmentType,
  MRPPlanningSegment,
  MRPAvailableStockQty,
  MaterialSafetyStockQty,
  MaterialReorderPointQty,
  MaterialMaxStockLevelQuantity,
  SafetyTimeInWorkDays,
  UnrestrictedStkInStkUnit,
  BlockedStockQuantity,
  QualityInspectionStockQuantity,
  MaterialBaseUnit
FROM I_MRPMaterialStockCard
;