I_MRPTransferDemand
Transfer Demand
I_MRPTransferDemand is a Composite CDS View that provides data about "Transfer Demand" in SAP S/4HANA. It reads from 6 data sources and exposes 64 fields with key fields MRPPlant, MRPArea, Material, MRPPlanningSegment, MRPPlanningSegmentType. It has 2 associations to related views. Part of development package ODATA_PP_MRP.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_MRPAreaOfResponsibility | _AreaOfResponsibility | inner |
| I_CacheSupplyDemandItem | CacheItem | inner |
| I_CacheMaterial | CacheMaterial | from |
| I_MRPPlanningSegment | MRPPlanningSegment | inner |
| I_PurgDocScheduleLine | PDScheduleLine | inner |
| I_PurchasingDocumentItem | PurchasingDocumentItem | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.IssuingOrReceivingPlant = _Plant.Plant |
| [1..1] | I_MRPMaterial | _MRPMaterial | $projection.MRPPlant = _MRPMaterial.MRPPlant and $projection.Material = _MRPMaterial.Material and $projection.MRPArea = _MRPMaterial.MRPArea |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Transfer Demand | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MRPPlant | I_CacheMaterial | MRPPlant | Plant |
| KEY | MRPArea | I_CacheMaterial | MRPArea | MRP Area |
| KEY | Material | I_CacheMaterial | Material | Vehicle Model |
| KEY | MRPPlanningSegment | I_MRPPlanningSegment | MRPPlanningSegment | Plng Segmnt No. |
| KEY | MRPPlanningSegmentType | |||
| KEY | MaterialShortageProfile | I_MRPPlanningSegment | MaterialShortageProfile | Shortage Prf. |
| KEY | MaterialShortageProfileCount | I_CacheSupplyDemandItem | NumberOfShortages | Counter |
| KEY | MRPElement | I_CacheSupplyDemandItem | MRPElement | MRP element number |
| KEY | MRPElementItem | I_CacheSupplyDemandItem | MRPElementItem | MRP elemnt item |
| KEY | MRPElementScheduleLine | I_CacheSupplyDemandItem | MRPElementScheduleLine | Scheduling |
| KEY | MRPElementCategory | I_CacheSupplyDemandItem | MRPElementCategory | MRP Elmnt Ind. |
| PlanningSegmentDocument | I_MRPPlanningSegment | PlanningSegmentDocument | ||
| PlanningSegmentDocumentItem | I_MRPPlanningSegment | PlanningSegmentDocumentItem | ||
| FactoryCalendar | I_CacheMaterial | FactoryCalendar | Factory Calendar | |
| MaterialName | I_CacheMaterial | MaterialName | Material Description | |
| MaterialSafetyStockQty | I_CacheMaterial | MaterialSafetyStockQty | Safety Stock | |
| MRPController | I_CacheMaterial | MRPController | MRP Controller | |
| MaterialProcurementCategory | I_CacheMaterial | MaterialProcurementCategory | Procurement | |
| MaterialBaseUnit | I_CacheMaterial | MaterialBaseUnit | Valuation Unit | |
| UnitOfMeasureNumberOfDecimals | Uom | UnitOfMeasureNumberOfDecimals | ||
| UnitOfMeasureDspNmbrOfDcmls | Uom | UnitOfMeasureDspNmbrOfDcmls | ||
| MaterialReplnmtLeadDurnEndDate | I_CacheMaterial | MaterialReplnmtLeadDurnEndDate | Date | |
| TotalReplnmtLeadDurnEndDate | I_CacheMaterial | TotalReplnmtLeadDurnEndDate | Date | |
| ManualPlanningHorizonEndDate | I_CacheMaterial | ManualPlanningHorizonEndDate | Date | |
| MRPSafetyDurationEndDate | I_CacheMaterial | MRPSafetyDurationEndDate | Date | |
| ProductionSupervisor | I_CacheMaterial | ProductionSupervisor | Prodn Supervisor | |
| Customer | I_CacheSupplyDemandItem | Customer | Sold-to Party | |
| MRPElementAvailyOrRqmtDate | I_CacheSupplyDemandItem | MRPElementAvailyOrRqmtDate | Time Stamp | |
| MRPType | I_CacheMaterial | MRPType | MRP Type | |
| MRPElementOpenQuantity | I_CacheSupplyDemandItem | MRPElementOpenQuantity | Rec./reqd qty | |
| SourceMRPElementCategory | I_CacheSupplyDemandItem | SourceMRPElementCategory | MRP Elmnt Ind. | |
| SourceMRPElement | I_CacheSupplyDemandItem | SourceMRPElement | MRP element number | |
| SourceMRPElementItem | I_CacheSupplyDemandItem | SourceMRPElementItem | MRP elemnt item | |
| MRPElementUncoveredQuantity | I_CacheSupplyDemandItem | MRPElementUncoveredQuantity | DEC 20 3 | |
| MRPElementDelayedQuantity | I_CacheSupplyDemandItem | MRPElementDelayedQuantity | DEC 20 3 | |
| MRPElementTypeImportance | I_CacheSupplyDemandItem | MRPElementTypeImportance | Sort ind. 01 | |
| MaximumDelayDate | I_CacheSupplyDemandItem | MaximumDelayDate | Date | |
| MaximumDelayInDays | I_CacheSupplyDemandItem | MaximumDelayInDays | Max.DelayInDays | |
| MaximumDelayInWorkdays | I_CacheSupplyDemandItem | MaximumDelayInWorkdays | MaxDelayWorkday | |
| ProcurementProgress | I_CacheSupplyDemandItem | ProcurementProgress | Proc. Progress | |
| StorageLocation | I_CacheSupplyDemandItem | StorageLocation | StorageLocation | |
| IssuingOrReceivingPlant | I_CacheSupplyDemandItem | IssuingOrReceivingPlant | Transfer Plant | |
| LoadingDate | I_PurgDocScheduleLine | LoadingDate | Loading Date | |
| CompanyCurrency | MRPPlantCurrency | CompanyCurrency | ||
| CurrencyDecimals | MRPPlantCurrency | Decimals | Rounding Places | |
| MRPDemandType | ||||
| MRPOrderCategory | ||||
| OrderType | PurchasingDocument | PurchasingDocumentType | RFQ Type | |
| OrderCreationDate | PurchasingDocument | CreationDate | Time Stamp | |
| UnderdelivTolrtdLmtRatioInPct | I_PurchasingDocumentItem | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | |
| PartialDeliveryIsAllowed | I_PurchasingDocumentItem | PartialDeliveryIsAllowed | Partial Deliv. | |
| NetValueInDocCurrency | I_PurchasingDocumentItem | NetAmount | Stated Amount | |
| DocumentCurrency | PurchasingDocument | DocumentCurrency | Document Currency | |
| OrderQuantity | I_PurgDocScheduleLine | ScheduleLineOrderQuantity | Scheduled Qty | |
| RequestedGoodsIssueDate | I_PurgDocScheduleLine | GoodsIssueDate | Goods Issue Date CCD | |
| RequestedLoadingDate | I_PurgDocScheduleLine | LoadingDate | Loading Date | |
| RequestedDeliveryDate | I_PurgDocScheduleLine | ScheduleLineDeliveryDate | Delivery Date | |
| DeliveryPriority | ||||
| SalesOrganization | ||||
| DistributionChannel | ||||
| Division | ||||
| LotSizingProcedure | _MRPMaterial | LotSizingProcedure | Lot Sizing Procedure | |
| MaterialLotSizingProcedureName | _MRPMaterial | MaterialLotSizingProcedureName | ||
| _Plant | _Plant |
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 I_MRPTransferDemand.
-- 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 I_MRPTransferDemand AS
SELECT
CacheMaterial.MRPPlant AS MRPPlant,
CacheMaterial.MRPArea AS MRPArea,
CacheMaterial.Material AS Material,
MRPPlanningSegment.MRPPlanningSegment AS MRPPlanningSegment,
cast( MRPPlanningSegment.MRPPlanningSegmentType as plaab ) AS MRPPlanningSegmentType,
MRPPlanningSegment.MaterialShortageProfile AS MaterialShortageProfile,
CacheItem.NumberOfShortages AS MaterialShortageProfileCount,
CacheItem.MRPElement AS MRPElement,
CacheItem.MRPElementItem AS MRPElementItem,
CacheItem.MRPElementScheduleLine AS MRPElementScheduleLine,
CacheItem.MRPElementCategory AS MRPElementCategory,
MRPPlanningSegment.PlanningSegmentDocument AS PlanningSegmentDocument,
MRPPlanningSegment.PlanningSegmentDocumentItem AS PlanningSegmentDocumentItem,
CacheMaterial.FactoryCalendar AS FactoryCalendar,
CacheMaterial.MaterialName AS MaterialName,
CacheMaterial.MaterialSafetyStockQty AS MaterialSafetyStockQty,
CacheMaterial.MRPController AS MRPController,
CacheMaterial.MaterialProcurementCategory AS MaterialProcurementCategory,
CacheMaterial.MaterialBaseUnit AS MaterialBaseUnit,
Uom.UnitOfMeasureNumberOfDecimals AS UnitOfMeasureNumberOfDecimals,
Uom.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
CacheMaterial.MaterialReplnmtLeadDurnEndDate AS MaterialReplnmtLeadDurnEndDate,
CacheMaterial.TotalReplnmtLeadDurnEndDate AS TotalReplnmtLeadDurnEndDate,
CacheMaterial.ManualPlanningHorizonEndDate AS ManualPlanningHorizonEndDate,
CacheMaterial.MRPSafetyDurationEndDate AS MRPSafetyDurationEndDate,
CacheMaterial.ProductionSupervisor AS ProductionSupervisor,
CacheItem.Customer AS Customer,
CacheItem.MRPElementAvailyOrRqmtDate AS MRPElementAvailyOrRqmtDate,
CacheMaterial.MRPType AS MRPType,
CacheItem.MRPElementOpenQuantity AS MRPElementOpenQuantity,
CacheItem.SourceMRPElementCategory AS SourceMRPElementCategory,
CacheItem.SourceMRPElement AS SourceMRPElement,
CacheItem.SourceMRPElementItem AS SourceMRPElementItem,
CacheItem.MRPElementUncoveredQuantity AS MRPElementUncoveredQuantity,
CacheItem.MRPElementDelayedQuantity AS MRPElementDelayedQuantity,
CacheItem.MRPElementTypeImportance AS MRPElementTypeImportance,
CacheItem.MaximumDelayDate AS MaximumDelayDate,
CacheItem.MaximumDelayInDays AS MaximumDelayInDays,
CacheItem.MaximumDelayInWorkdays AS MaximumDelayInWorkdays,
CacheItem.ProcurementProgress AS ProcurementProgress,
CacheItem.StorageLocation AS StorageLocation,
CacheItem.IssuingOrReceivingPlant AS IssuingOrReceivingPlant,
PDScheduleLine.LoadingDate AS LoadingDate,
MRPPlantCurrency.CompanyCurrency AS CompanyCurrency,
MRPPlantCurrency.Decimals AS CurrencyDecimals,
cast('2' as mrpdemandtype) AS MRPDemandType,
cast( PurchasingDocument.PurchasingDocumentCategory as vbtypl ) AS MRPOrderCategory,
PurchasingDocument.PurchasingDocumentType AS OrderType,
PurchasingDocument.CreationDate AS OrderCreationDate,
PurchasingDocumentItem.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
PurchasingDocumentItem.PartialDeliveryIsAllowed AS PartialDeliveryIsAllowed,
PurchasingDocumentItem.NetAmount AS NetValueInDocCurrency,
PurchasingDocument.DocumentCurrency AS DocumentCurrency,
PDScheduleLine.ScheduleLineOrderQuantity AS OrderQuantity,
PDScheduleLine.GoodsIssueDate AS RequestedGoodsIssueDate,
PDScheduleLine.LoadingDate AS RequestedLoadingDate,
PDScheduleLine.ScheduleLineDeliveryDate AS RequestedDeliveryDate,
coalesce(PDShipping.DeliveryPriority, '00') AS DeliveryPriority,
coalesce(PDShipping.SalesOrganization, '') AS SalesOrganization,
coalesce(PDShipping.DistributionChannel, '') AS DistributionChannel,
coalesce(PDShipping.OrganizationDivision, '') AS Division,
_MRPMaterial.LotSizingProcedure AS LotSizingProcedure,
_MRPMaterial.MaterialLotSizingProcedureName AS MaterialLotSizingProcedureName
FROM I_CacheMaterial AS CacheMaterial
INNER JOIN I_MRPAreaOfResponsibility AS _AreaOfResponsibility ON /* join condition not captured in parsed metadata */
INNER JOIN I_MRPPlanningSegment AS MRPPlanningSegment ON /* join condition not captured in parsed metadata */
INNER JOIN I_CacheSupplyDemandItem AS CacheItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurchasingDocumentItem AS PurchasingDocumentItem ON /* join condition not captured in parsed metadata */
INNER JOIN I_PurgDocScheduleLine AS PDScheduleLine ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Plant ON IssuingOrReceivingPlant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_MRPMaterial AS _MRPMaterial ON MRPPlant = _MRPMaterial.MRPPlant AND Material = _MRPMaterial.Material AND MRPArea = _MRPMaterial.MRPArea -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA