C_MaterialCoverage
MRP Material Coverage Net Segment
C_MaterialCoverage is a Consumption CDS View that provides data about "MRP Material Coverage Net Segment" in SAP S/4HANA. It reads from 3 data sources (also, I_MRPMaterialCoverage, I_SDMAreaOfResponsibility) and exposes 98 fields with key fields MRPPlant, MRPArea, Material, MRPPlanningSegmentType, MRPPlanningSegment. It has 23 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| also | filter | inner |
| I_MRPMaterialCoverage | Material | from |
| I_SDMAreaOfResponsibility | SDMAreaOfResponsibility | inner |
Associations (23)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_CacheSupplier | _Supplier | $projection.MRPPlant = _Supplier.MRPPlant and $projection.Material = _Supplier.Material and $projection.MRPArea = _Supplier.MRPArea and $projection.MRPPlanningSegmentType = _Supplier.MRPPlanningSegmentType and $projection.MRPPlanningSegment = _Supplier.MRPPlanningSegment |
| [0..*] | C_MRPAvailability | _MRPAvailability | $projection.MRPPlant = _MRPAvailability.MRPPlant and $projection.Material = _MRPAvailability.Material and $projection.MRPArea = _MRPAvailability.MRPArea and $projection.MRPPlanningSegmentType = _MRPAvailability.MRPPlanningSegmentType and $projection.MRPPlanningSegment = _MRPAvailability.MRPPlanningSegment and $projection.MaterialShortageProfile = _MRPAvailability.MaterialShortageProfile and $projection.MaterialShortageProfileCount = _MRPAvailability.MaterialShortageProfileCount |
| [0..1] | C_MRPController | _MRPController | $projection.MRPPlant = _MRPController.Plant and $projection.MRPController = _MRPController.MRPController |
| [1..1] | I_MRPType | _MRPType | $projection.MRPType = _MRPType.MRPType ---------------------------------------------------------------------------------------------------------------- -- Text Fallback Associations -- ---------------------------------------------------------------------------------------------------------------- |
| [0..*] | I_MRPTypeText | _MRPTypeText | $projection.MRPType = _MRPTypeText.MRPType |
| [0..1] | I_MRPTypeText | _MRPTypeTextPlant | $projection.MRPType = _MRPTypeTextPlant.MRPType and $projection.PlantLanguage = _MRPTypeTextPlant.Language |
| [0..1] | I_MatlProcurementCategoryText | _ProcurementCategoryTextPlant | $projection.MaterialProcurementCategory = _ProcurementCategoryTextPlant.MaterialProcurementCategory and $projection.PlantLanguage = _ProcurementCategoryTextPlant.Language |
| [0..1] | I_MatlProcurementProfileText | _ProcurementProfileTextPlant | $projection.MaterialProcurementProfile = _ProcurementProfileTextPlant.MaterialProcurementProfile and $projection.MRPPlant = _ProcurementProfileTextPlant.Plant and $projection.PlantLanguage = _ProcurementProfileTextPlant.Language |
| [0..1] | I_MRPGroup | _MRPGroup | $projection.MRPGroup = _MRPGroup.MRPGroup and $projection.MRPPlant = _MRPGroup.MRPPlant |
| [0..1] | I_MRPGroupText | _MRPGroupTextPlant | $projection.MRPGroup = _MRPGroupTextPlant.MRPGroup and $projection.MRPPlant = _MRPGroupTextPlant.MRPPlant |
| [1..1] | I_MatlProcurementCategory | _MatlProcurementCategory | $projection.MaterialProcurementCategory = _MatlProcurementCategory.MaterialProcurementCategory |
| [1..1] | I_MatlProcurementProfile | _MatlProcurementProfile | $projection.MaterialProcurementProfile = _MatlProcurementProfile.MaterialProcurementProfile and $projection.MRPPlant = _MatlProcurementProfile.Plant |
| [1..1] | C_PlantVH | _PlantVH | $projection.MRPPlant = _PlantVH.Plant |
| [0..1] | C_MRPAreaValHelp | _MRPAreaVH | $projection.MRPArea = _MRPAreaVH.MRPArea and $projection.MRPPlant = _MRPAreaVH.Plant |
| [0..1] | C_PurchasingGroupValueHelp | _PurchasingGroupVH | $projection.PurchasingGroup = _PurchasingGroupVH.PurchasingGroup |
| [0..1] | I_ProdUniversalHierarchyText_2 | _HierText | $projection.ProductionProductHierarchy = _HierText.ProdUnivHierarchy and _HierText.ProdHierarchyValidityEndDate >= $session.user_date and _HierText.Language = $session.system_language |
| [0..1] | I_ProductHierarchyNormalNodeT | _HierNodeText | $projection.ProductionProductHierarchyNode = _HierNodeText.ProductHierarchyNode and _HierNodeText.Language = $session.system_language |
| [0..1] | I_MRPMaterialStatusText | _MaterialStatusText | $projection.MRPValidMaterialStatus = _MaterialStatusText.MRPValidMaterialStatus and _MaterialStatusText.Language = $session.system_language |
| [0..1] | I_SafetyStockMethodVH | _SafetyStockMethodVH | $projection.MRPSafetyStockMethod = _SafetyStockMethodVH.SafetyStockMethod ---------------------------------------------------------------------------------------------------------------- -- Extension Associations -- ---------------------------------------------------------------------------------------------------------------- |
| [0..1] | E_Product | _MatExtension | $projection.Material = _MatExtension.Product |
| [0..1] | E_Productplant | _PlantExtension | $projection.Material = _PlantExtension.Product and $projection.MRPPlant = _PlantExtension.Plant |
| [0..1] | I_MRPAreaPlanningFileEntry | _LastMRPRun | $projection.Material = _LastMRPRun.Material and $projection.MRPPlant = _LastMRPRun.Plant and $projection.MRPArea = _LastMRPRun.MRPArea and _LastMRPRun.MRPPlanningScenario = '000' |
| [0..1] | I_MRPAcknowledgeResultVH | _MRPAcknowledgeResultVH | $projection.MRPResultIsProcessed = _MRPAcknowledgeResultVH.MRPResultIsProcessed and _MRPAcknowledgeResultVH.Language = $session.system_language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMATCOV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | MRP Material Coverage Net Segment | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
Fields (98)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MRPPlant | I_MRPMaterialCoverage | MRPPlant | Plant |
| KEY | MRPArea | I_MRPMaterialCoverage | MRPArea | MRP Area |
| KEY | Material | I_MRPMaterialCoverage | Material | Vehicle Model |
| KEY | MRPPlanningSegmentType | I_MRPMaterialCoverage | MRPPlanningSegmentType | MRP segment |
| KEY | MRPPlanningSegment | I_MRPMaterialCoverage | MRPPlanningSegment | Plng Segmnt No. |
| KEY | MaterialShortageProfile | I_MRPMaterialCoverage | MaterialShortageProfile | Shortage Prf. |
| KEY | MaterialShortageProfileCount | I_MRPMaterialCoverage | MaterialShortageProfileCount | Counter |
| KEY | FactoryCalendar | I_MRPMaterialCoverage | FactoryCalendar | Factory Calendar |
| MaterialSelectionIdentifier | ||||
| PlantName | _PlantVH | PlantName | Plant Name | |
| MRPAreaText | _MRPAreaVH | MRPAreaText | ||
| MaterialName | I_MRPMaterialCoverage | MaterialName | Material Description | |
| PlantLanguage | I_MRPMaterialCoverage | PlantLanguage | Report Text Language | |
| MaterialABCClassification | I_MRPMaterialCoverage | MaterialABCClassification | ABC Indicator | |
| MRPValidMaterialStatusName | _MaterialStatusText | MRPValidMaterialStatusName | ||
| MRPValidMaterialStatus | I_MRPMaterialCoverage | MRPValidMaterialStatus | ||
| Supplier | ||||
| SupplierName | ||||
| NumberOfSupplier | I_MRPMaterialCoverage | NumberOfSupplier | ||
| UnitOfMeasureDspNmbrOfDcmls | I_MRPMaterialCoverage | UnitOfMeasureDspNmbrOfDcmls | ||
| AvailabilityChart | ||||
| WeeklyAvailabilityChart | I_MRPMaterialCoverage | WeeklyAvailabilityChart | ||
| PurchasingGroup | ||||
| PurchasingGroupName | _PurchasingGroupVH | PurchasingGroupName | Purchasing Grp. Name | |
| MaterialType | I_MRPMaterialCoverage | MaterialType | Material Type | |
| MaterialTypeName | I_MRPMaterialCoverage | MaterialTypeName | Mat.Type Desc. | |
| MaterialGroup | I_MRPMaterialCoverage | MaterialGroup | Product Group | |
| MaterialGroupName | I_MRPMaterialCoverage | MaterialGroupName | prod Grp Desc. | |
| MaterialShortageDefinition | ||||
| MaterialShortageDefinitionName | I_MRPMaterialCoverage | MaterialShortageDefinitionName | ||
| MRPController | I_MRPMaterialCoverage | MRPController | MRP Controller | |
| MRPControllerName | _MRPController | MRPControllerName | Controller name | |
| IsMarkedForDeletion | I_MRPMaterialCoverage | IsMarkedForDeletion | Purch.org. data | |
| LowLevelCode | I_MRPMaterialCoverage | LowLevelCode | Low-Level Code | |
| HasAcceptedShortage | I_MRPMaterialCoverage | HasAcceptedShortage | ||
| MaterialReplnmtLeadDurnEndDate | ||||
| TotalReplnmtLeadDurnEndDate | I_MRPMaterialCoverage | TotalReplnmtLeadDurnEndDate | Date | |
| ManualPlanningHorizonEndDate | I_MRPMaterialCoverage | ManualPlanningHorizonEndDate | Date | |
| MRPSafetyDurationEndDate | I_MRPMaterialCoverage | MRPSafetyDurationEndDate | Date | |
| MaterialShortageStartDate | I_MRPMaterialCoverage | MaterialShortageStartDate | Time Stamp | |
| MaterialShortageEndDate | I_MRPMaterialCoverage | MaterialShortageEndDate | Time Stamp | |
| MaterialPlannedDeliveryDurn | ||||
| MaterialPlannedProductionDurn | I_MRPMaterialCoverage | MaterialPlannedProductionDurn | InhseProdTime | |
| MRPSafetyDuration | I_MRPMaterialCoverage | MRPSafetyDuration | Safety Time | |
| TotalReplenishmentLeadDuration | I_MRPMaterialCoverage | TotalReplenishmentLeadDuration | Total RL time | |
| MaterialGoodsReceiptDuration | I_MRPMaterialCoverage | MaterialGoodsReceiptDuration | GR proc. time | |
| PlanningTimeFenceInDays | I_MRPMaterialCoverage | PlanningTimeFenceInDays | Plng time fence | |
| EvaluationHorizonInDays | I_MRPMaterialCoverage | EvaluationHorizonInDays | ||
| DaysOfSupplyDuration | I_MRPMaterialCoverage | DaysOfSupplyDuration | Days' Supply (Working Days) | |
| IntraDaySupplyDuration | I_MRPMaterialCoverage | IntraDaySupplyDuration | ||
| TimeTillShortageInCalendarDays | I_MRPMaterialCoverage | TimeTillShortageInCalendarDays | ||
| MaterialShortageDuration | I_MRPMaterialCoverage | MaterialShortageDuration | Shortage Duration (Calendar Days) | |
| MaterialShortageDurnInWorkdays | I_MRPMaterialCoverage | MaterialShortageDurnInWorkdays | Shortage Duration (Working Days) | |
| DaysOfSupplyCriticality | I_MRPMaterialCoverage | DaysOfSupplyCriticality | Critical. Indicator | |
| StockDaysSupplyDuration | I_MRPMaterialCoverage | StockDaysSupplyDuration | ||
| StockDaysSupplyCriticality | I_MRPMaterialCoverage | StockDaysSupplyCriticality | Critical. Indicator | |
| StockIntraDaySupplyDuration | I_MRPMaterialCoverage | StockIntraDaySupplyDuration | ||
| MaterialBaseUnit | ||||
| MRPAvailableStockQty | I_MRPMaterialCoverage | MRPAvailableStockQty | ||
| MaterialShortageQuantity | ||||
| HasMaterialShortageReplnmtLead | ||||
| HasShortageTotalReplnmtLead | I_MRPMaterialCoverage | HasShortageTotalReplnmtLead | ||
| HasShortageManualPlanHorizon | I_MRPMaterialCoverage | HasShortageManualPlanHorizon | ||
| HasShortageMRPSafetyDuration | I_MRPMaterialCoverage | HasShortageMRPSafetyDuration | ||
| MRPType | ||||
| MRPTypeendasMRPTypeName | ||||
| MaterialProcurementProfile | I_MRPMaterialCoverage | MaterialProcurementProfile | Special Procur. | |
| MaterialProcurementCategory | I_MRPMaterialCoverage | MaterialProcurementCategory | Procurement | |
| MRPGroup | I_MRPMaterialCoverage | MRPGroup | MRP Group | |
| MRPGroupendasMRPGroupName | ||||
| MRPSafetyStockMethod | I_MRPMaterialCoverage | MRPSafetyStockMethod | Safety Stock Method | |
| MRPSafetyStockMethodText | _SafetyStockMethodVH | SafetyStockMethodName | ||
| SegmentationStrategy | I_MRPMaterialCoverage | SegmentationStrategy | ||
| SegmentationIsRelevant | ||||
| SegmentationIsEmpty | ||||
| ProductionProductHierarchy | I_MRPMaterialCoverage | ProductionProductHierarchy | ||
| ProductHierarchyText | _HierText | ProdUnivHierarchyText | ||
| ProductionProductHierarchyNode | I_MRPMaterialCoverage | ProductionProductHierarchyNode | ||
| ProductHierarchyNodeText | _HierNodeText | ProductHierarchyNodeText | ||
| IssueCount | I_MRPMaterialCoverage | IssueCount | ||
| NmbrOfPastDueOpeningDateElmnts | ||||
| NumberOfPastDueStartDateElmnts | I_MRPMaterialCoverage | NumberOfPastDueStartDateElmnts | ||
| NumberOfPastDueEndDateElements | I_MRPMaterialCoverage | NumberOfPastDueEndDateElements | ||
| NumberOfPastDueElements | ||||
| MaterialHasMRPNote | ||||
| MRPMaterialNoteText | I_MRPMaterialCoverage | MRPMaterialNoteText | ||
| NumberOfRescheduleInElements | ||||
| NumberOfRescheduleOutElements | I_MRPMaterialCoverage | NumberOfRescheduleOutElements | ||
| NumberOfCancelProcesses | I_MRPMaterialCoverage | NumberOfCancelProcesses | ||
| NumberOfRescheduleElements | ||||
| MaterialLastMRPDateTime | _LastMRPRun | MaterialLastMRPDateTime | ||
| MRPResultIsProcessed | I_MRPMaterialCoverage | MRPResultIsProcessed | ||
| MRPResultProcessingText | _MRPAcknowledgeResultVH | MRPResultProcessingText | ||
| Associations_MRPAvailability | ||||
| _Supplier | _Supplier | |||
| _MRPController | _MRPController | |||
| _MRPAcknowledgeResultVH | _MRPAcknowledgeResultVH | |||
| _UnitOfMeasure | I_MRPMaterialCoverage | _UnitOfMeasure |
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_MaterialCoverage.
-- 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: CMATCOV
CREATE VIEW C_MaterialCoverage AS
SELECT
Material.MRPPlant AS MRPPlant,
Material.MRPArea AS MRPArea,
Material.Material AS Material,
Material.MRPPlanningSegmentType AS MRPPlanningSegmentType,
Material.MRPPlanningSegment AS MRPPlanningSegment,
Material.MaterialShortageProfile AS MaterialShortageProfile,
Material.MaterialShortageProfileCount AS MaterialShortageProfileCount,
Material.FactoryCalendar AS FactoryCalendar,
concat(Material.Material,concat(Material.MRPPlant,concat(Material.MRPArea,concat(Material.MRPPlanningSegmentType,Material.MRPPlanningSegmentExternalCode)))) AS MaterialSelectionIdentifier,
_PlantVH.PlantName AS PlantName,
_MRPAreaVH.MRPAreaText AS MRPAreaText,
Material.MaterialName AS MaterialName,
Material.PlantLanguage AS PlantLanguage,
Material.MaterialABCClassification AS MaterialABCClassification,
_MaterialStatusText.MRPValidMaterialStatusName AS MRPValidMaterialStatusName,
Material.MRPValidMaterialStatus AS MRPValidMaterialStatus,
cast( '' as md_supplier) AS Supplier,
cast ('' as suppliername_2) AS SupplierName,
Material.NumberOfSupplier AS NumberOfSupplier,
Material.UnitOfMeasureDspNmbrOfDcmls AS UnitOfMeasureDspNmbrOfDcmls,
Material.WeeklyAvailabilityChart AS WeeklyAvailabilityChart,
_PurchasingGroupVH.PurchasingGroupName AS PurchasingGroupName,
Material.MaterialType AS MaterialType,
Material.MaterialTypeName AS MaterialTypeName,
Material.MaterialGroup AS MaterialGroup,
Material.MaterialGroupName AS MaterialGroupName,
cast(concat(Material.MaterialShortageProfile, Material.MaterialShortageProfileCount) as materialshortagedefinition) AS MaterialShortageDefinition,
Material.MaterialShortageDefinitionName AS MaterialShortageDefinitionName,
Material.MRPController AS MRPController,
_MRPController.MRPControllerName AS MRPControllerName,
Material.IsMarkedForDeletion AS IsMarkedForDeletion,
Material.LowLevelCode AS LowLevelCode,
Material.HasAcceptedShortage AS HasAcceptedShortage,
Material.TotalReplnmtLeadDurnEndDate AS TotalReplnmtLeadDurnEndDate,
Material.ManualPlanningHorizonEndDate AS ManualPlanningHorizonEndDate,
Material.MRPSafetyDurationEndDate AS MRPSafetyDurationEndDate,
Material.MaterialShortageStartDate AS MaterialShortageStartDate,
Material.MaterialShortageEndDate AS MaterialShortageEndDate,
Material.MaterialPlannedProductionDurn AS MaterialPlannedProductionDurn,
Material.MRPSafetyDuration AS MRPSafetyDuration,
Material.TotalReplenishmentLeadDuration AS TotalReplenishmentLeadDuration,
Material.MaterialGoodsReceiptDuration AS MaterialGoodsReceiptDuration,
Material.PlanningTimeFenceInDays AS PlanningTimeFenceInDays,
Material.EvaluationHorizonInDays AS EvaluationHorizonInDays,
Material.DaysOfSupplyDuration AS DaysOfSupplyDuration,
Material.IntraDaySupplyDuration AS IntraDaySupplyDuration,
Material.TimeTillShortageInCalendarDays AS TimeTillShortageInCalendarDays,
Material.MaterialShortageDuration AS MaterialShortageDuration,
Material.MaterialShortageDurnInWorkdays AS MaterialShortageDurnInWorkdays,
Material.DaysOfSupplyCriticality AS DaysOfSupplyCriticality,
Material.StockDaysSupplyDuration AS StockDaysSupplyDuration,
Material.StockDaysSupplyCriticality AS StockDaysSupplyCriticality,
Material.StockIntraDaySupplyDuration AS StockIntraDaySupplyDuration,
Material.MRPAvailableStockQty AS MRPAvailableStockQty,
cast (Material.MaterialShortageQuantity as materialshortageqty) AS MaterialShortageQuantity,
Material.HasShortageTotalReplnmtLead AS HasShortageTotalReplnmtLead,
Material.HasShortageManualPlanHorizon AS HasShortageManualPlanHorizon,
Material.HasShortageMRPSafetyDuration AS HasShortageMRPSafetyDuration,
case when _MRPTypeText[1: Language = $session.system_language ].MRPTypeName != '' then _MRPTypeText[1: Language = $session.system_language ].MRPTypeName when _MRPTypeTextPlant.MRPTypeName != '' then _MRPTypeTextPlant.MRPTypeName when _MRPTypeText[1: Language = 'E' ].MRPTypeName != '' then _MRPTypeText[1: Language = 'E' ].MRPTypeName else Material.MRPType end as MRPTypeName AS MRPTypeendasMRPTypeName,
Material.MaterialProcurementProfile AS MaterialProcurementProfile,
Material.MaterialProcurementCategory AS MaterialProcurementCategory,
Material.MRPGroup AS MRPGroup,
case when _MRPGroup._Text[1: Language = $session.system_language ].MRPGroupName != '' then _MRPGroup._Text[1: Language = $session.system_language ].MRPGroupName when _MRPGroupTextPlant.MRPGroupName != '' then _MRPGroupTextPlant.MRPGroupName when _MRPGroup._Text[1: Language = 'E' ].MRPGroupName != '' then _MRPGroup._Text[1: Language = 'E' ].MRPGroupName else Material.MRPGroup end as MRPGroupName AS MRPGroupendasMRPGroupName,
Material.MRPSafetyStockMethod AS MRPSafetyStockMethod,
_SafetyStockMethodVH.SafetyStockMethodName AS MRPSafetyStockMethodText,
Material.SegmentationStrategy AS SegmentationStrategy,
cast ( Material.SegmentationIsRelevant as sgt_rel1 preserving type ) AS SegmentationIsRelevant,
cast('' as boolean preserving type) AS SegmentationIsEmpty,
Material.ProductionProductHierarchy AS ProductionProductHierarchy,
_HierText.ProdUnivHierarchyText AS ProductHierarchyText,
Material.ProductionProductHierarchyNode AS ProductionProductHierarchyNode,
_HierNodeText.ProductHierarchyNodeText AS ProductHierarchyNodeText,
Material.IssueCount AS IssueCount,
Material.NumberOfPastDueStartDateElmnts AS NumberOfPastDueStartDateElmnts,
Material.NumberOfPastDueEndDateElements AS NumberOfPastDueEndDateElements,
Material.NmbrOfPastDueOpeningDateElmnts + Material.NumberOfPastDueStartDateElmnts + Material.NumberOfPastDueEndDateElements AS NumberOfPastDueElements,
Material.MRPMaterialNoteText AS MRPMaterialNoteText,
Material.NumberOfRescheduleOutElements AS NumberOfRescheduleOutElements,
Material.NumberOfCancelProcesses AS NumberOfCancelProcesses,
Material.NumberOfRescheduleInElements + Material.NumberOfRescheduleOutElements + Material.NumberOfCancelProcesses AS NumberOfRescheduleElements,
_LastMRPRun.MaterialLastMRPDateTime AS MaterialLastMRPDateTime,
Material.MRPResultIsProcessed AS MRPResultIsProcessed,
_MRPAcknowledgeResultVH.MRPResultProcessingText AS MRPResultProcessingText,
Material._UnitOfMeasure AS _UnitOfMeasure
FROM I_MRPMaterialCoverage AS Material
INNER JOIN also AS filter ON /* join condition not captured in parsed metadata */
INNER JOIN I_SDMAreaOfResponsibility AS SDMAreaOfResponsibility ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_CacheSupplier AS _Supplier ON MRPPlant = _Supplier.MRPPlant AND Material = _Supplier.Material AND MRPArea = _Supplier.MRPArea AND MRPPlanningSegmentType = _Supplier.MRPPlanningSegmentType AND MRPPlanningSegment = _Supplier.MRPPlanningSegment -- association [0..*]
LEFT OUTER JOIN C_MRPAvailability AS _MRPAvailability ON MRPPlant = _MRPAvailability.MRPPlant AND Material = _MRPAvailability.Material AND MRPArea = _MRPAvailability.MRPArea AND MRPPlanningSegmentType = _MRPAvailability.MRPPlanningSegmentType AND MRPPlanningSegment = _MRPAvailability.MRPPlanningSegment AND MaterialShortageProfile = _MRPAvailability.MaterialShortageProfile AND MaterialShortageProfileCount = _MRPAvailability.MaterialShortageProfileCount -- association [0..*]
LEFT OUTER JOIN C_MRPController AS _MRPController ON MRPPlant = _MRPController.Plant AND MRPController = _MRPController.MRPController -- association [0..1]
LEFT OUTER JOIN I_MRPType AS _MRPType ON MRPType = _MRPType.MRPType -- association [1..1]
LEFT OUTER JOIN I_MRPTypeText AS _MRPTypeText ON MRPType = _MRPTypeText.MRPType -- association [0..*]
LEFT OUTER JOIN I_MRPTypeText AS _MRPTypeTextPlant ON MRPType = _MRPTypeTextPlant.MRPType AND PlantLanguage = _MRPTypeTextPlant.Language -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementCategoryText AS _ProcurementCategoryTextPlant ON MaterialProcurementCategory = _ProcurementCategoryTextPlant.MaterialProcurementCategory AND PlantLanguage = _ProcurementCategoryTextPlant.Language -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementProfileText AS _ProcurementProfileTextPlant ON MaterialProcurementProfile = _ProcurementProfileTextPlant.MaterialProcurementProfile AND MRPPlant = _ProcurementProfileTextPlant.Plant AND PlantLanguage = _ProcurementProfileTextPlant.Language -- association [0..1]
LEFT OUTER JOIN I_MRPGroup AS _MRPGroup ON MRPGroup = _MRPGroup.MRPGroup AND MRPPlant = _MRPGroup.MRPPlant -- association [0..1]
LEFT OUTER JOIN I_MRPGroupText AS _MRPGroupTextPlant ON MRPGroup = _MRPGroupTextPlant.MRPGroup AND MRPPlant = _MRPGroupTextPlant.MRPPlant -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementCategory AS _MatlProcurementCategory ON MaterialProcurementCategory = _MatlProcurementCategory.MaterialProcurementCategory -- association [1..1]
LEFT OUTER JOIN I_MatlProcurementProfile AS _MatlProcurementProfile ON MaterialProcurementProfile = _MatlProcurementProfile.MaterialProcurementProfile AND MRPPlant = _MatlProcurementProfile.Plant -- association [1..1]
LEFT OUTER JOIN C_PlantVH AS _PlantVH ON MRPPlant = _PlantVH.Plant -- association [1..1]
LEFT OUTER JOIN C_MRPAreaValHelp AS _MRPAreaVH ON MRPArea = _MRPAreaVH.MRPArea AND MRPPlant = _MRPAreaVH.Plant -- association [0..1]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroupVH ON PurchasingGroup = _PurchasingGroupVH.PurchasingGroup -- association [0..1]
LEFT OUTER JOIN I_ProdUniversalHierarchyText_2 AS _HierText ON ProductionProductHierarchy = _HierText.ProdUnivHierarchy AND _HierText.ProdHierarchyValidityEndDate >= $session.user_date AND _HierText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ProductHierarchyNormalNodeT AS _HierNodeText ON ProductionProductHierarchyNode = _HierNodeText.ProductHierarchyNode AND _HierNodeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MRPMaterialStatusText AS _MaterialStatusText ON MRPValidMaterialStatus = _MaterialStatusText.MRPValidMaterialStatus AND _MaterialStatusText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SafetyStockMethodVH AS _SafetyStockMethodVH ON MRPSafetyStockMethod = _SafetyStockMethodVH.SafetyStockMethod -- association [0..1]
LEFT OUTER JOIN E_Product AS _MatExtension ON Material = _MatExtension.Product -- association [0..1]
LEFT OUTER JOIN E_Productplant AS _PlantExtension ON Material = _PlantExtension.Product AND MRPPlant = _PlantExtension.Plant -- association [0..1]
LEFT OUTER JOIN I_MRPAreaPlanningFileEntry AS _LastMRPRun ON Material = _LastMRPRun.Material AND MRPPlant = _LastMRPRun.Plant AND MRPArea = _LastMRPRun.MRPArea AND _LastMRPRun.MRPPlanningScenario = '000' -- association [0..1]
LEFT OUTER JOIN I_MRPAcknowledgeResultVH AS _MRPAcknowledgeResultVH ON MRPResultIsProcessed = _MRPAcknowledgeResultVH.MRPResultIsProcessed AND _MRPAcknowledgeResultVH.Language = $session.system_language -- association [0..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