C_MRPAvailability

DDL: C_MRPAVAILABILITY Type: view_entity CONSUMPTION Package: ODATA_PP_MRP

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. It is exposed through 2 OData services (ASQL_F0251A, ASQL_F2101A). Part of development package ODATA_PP_MRP.

Data Sources (1)

SourceAliasJoin Type
I_MRPAvailability I_MRPAvailability from

Annotations (6)

NameValueLevelField
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

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F0251A ASQL_F0251A C2 NOT_RELEASED
ASQL_F2101A ASQL_F2101A C2 NOT_RELEASED

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.

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