C_MRPAvailability

DDL: C_MRPAVAILABILITY SQL: CMRPAVAILABILITY Type: view CONSUMPTION

MRP Availability of a Material

C_MRPAvailability is a Consumption CDS View that provides data about "MRP Availability of a Material" in SAP S/4HANA. It reads from 1 data source (I_MRPAvailability) and exposes 11 fields with key fields MRPPlant, Material, MRPArea, MRPPlanningSegmentType, MRPPlanningSegment.

Data Sources (1)

SourceAliasJoin Type
I_MRPAvailability I_MRPAvailability from

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CMRPAVAILABILITY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label MRP Availability of a Material view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY MRPPlant MRPPlant Plant
KEY Material Material Vehicle Model
KEY MRPArea MRPArea MRP Area
KEY MRPPlanningSegmentType MRPPlanningSegmentType MRP segment
KEY MRPPlanningSegment MRPPlanningSegment Plng Segmnt No.
KEY MaterialShortageProfile MaterialShortageProfile Shortage Prf.
KEY MaterialShortageProfileCount MaterialShortageProfileCount Counter
KEY MRPElementAvailyOrRqmtDate MRPElementAvailyOrRqmtDate Time Stamp
MaterialBaseUnit MaterialBaseUnit Valuation Unit
MRPAvailableQuantity
UnitOfMeasureDspNmbrOfDcmls UnitOfMeasureDspNmbrOfDcmls

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_MRPAvailability.
-- 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.
-- SQL view name: CMRPAVAILABILITY

CREATE VIEW C_MRPAvailability AS
SELECT
  MRPPlant,
  Material,
  MRPArea,
  MRPPlanningSegmentType,
  MRPPlanningSegment,
  MaterialShortageProfile,
  MaterialShortageProfileCount,
  MRPElementAvailyOrRqmtDate,
  MaterialBaseUnit,
  sum( MRPAvailableQuantity ) AS MRPAvailableQuantity,
  UnitOfMeasureDspNmbrOfDcmls
FROM I_MRPAvailability
;