C_MRPSupplyOrder

DDL: C_MRPSUPPLYORDER Type: view_entity CONSUMPTION Package: ODATA_PP_MRP

MRP Supply Order

C_MRPSupplyOrder is a Consumption CDS View that provides data about "MRP Supply Order" in SAP S/4HANA. It reads from 1 data source (I_DemandDrivenMaterialData) and exposes 23 fields with key fields Material, Plant, MRPArea, RequirementDate, OrderType. It is exposed through 1 OData service (ASQL_F0251A). Part of development package ODATA_PP_MRP.

Data Sources (1)

SourceAliasJoin Type
I_DemandDrivenMaterialData I_DemandDrivenMaterialData from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label MRP Supply Order view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F0251A ASQL_F0251A C2 NOT_RELEASED

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY RequirementDate
KEY OrderType
RequestedQuantity
OrderID
OrderItem
ScheduleLine
ProductionVersion
PurchasingInfoRecord
PurchasingDocument
PurchasingDocumentItem
PurchasingOrganization
PurchasingGroup
MaterialBaseUnit
StorageLocation
SupplyingPlant
MRPController MRPController MRP Controller
SourceMRPElementCategory
SalesOrder
MRPSalesOrderItem
WBSElementInternalID

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_MRPSupplyOrder.
-- 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_MRPSupplyOrder AS
SELECT
  Material,
  Plant,
  MRPArea,
  $session.system_date AS RequirementDate,
  cast('' as delkz) AS OrderType,
  cast(0 as mng01) AS RequestedQuantity,
  cast('' as abap.char(20)) AS OrderID,
  cast('' as delps) AS OrderItem,
  cast('' as delet) AS ScheduleLine,
  cast('' as verid) AS ProductionVersion,
  cast('' as infnr) AS PurchasingInfoRecord,
  cast('' as ebeln) AS PurchasingDocument,
  cast('' as ebelp) AS PurchasingDocumentItem,
  cast('' as ekorg) AS PurchasingOrganization,
  cast('' as ekgrp) AS PurchasingGroup,
  cast('' as meins) AS MaterialBaseUnit,
  cast('' as alort) AS StorageLocation,
  cast('' as werks_d) AS SupplyingPlant,
  MRPController,
  cast('' as delkz) AS SourceMRPElementCategory,
  cast('' as kdauf ) AS SalesOrder,
  cast('' as kdpos ) AS MRPSalesOrderItem,
  cast('' as abap.numc(8) ) AS WBSElementInternalID
FROM I_DemandDrivenMaterialData
;