I_DemandDrivenMaterialData
Data related to materials
I_DemandDrivenMaterialData is a Composite CDS View that provides data about "Data related to materials" in SAP S/4HANA. It reads from 2 data sources (I_BufferedMaterialPlant1, I_MaterialMRPArea) and exposes 55 fields with key fields Material, Plant, MRPArea, Plant, MRPArea. It has 1 association to related views. Part of development package PPH_DD_VDM_STLM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BufferedMaterialPlant1 | _marc | union_all |
| I_MaterialMRPArea | _mdma | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BufferedMaterialPlant1 | _MaterialPlant | $projection.Material = _MaterialPlant.Material and $projection.Plant = _MaterialPlant.Plant |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDDMATDATA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Data related to materials | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | I_MaterialMRPArea | Material | Vehicle Model |
| KEY | Plant | I_MaterialMRPArea | Plant | Valuation Area |
| KEY | MRPArea | I_MaterialMRPArea | MRPArea | Valuation Area |
| MRPGroup | MRPGroup | MRP Group | ||
| MRPType | MRPType | MRP Type | ||
| MRPController | MRPController | MRP Controller | ||
| LotSizingProcedure | LotSizingProcedure | Lot Sizing Procedure | ||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Min. Lot Size | ||
| PlanningTimeFence | PlanningTimeFence | Plng time fence | ||
| MaterialMaxStockLevelQuantity | MaterialMaxStockLevelQuantity | Max.Stock Level | ||
| ReorderThresholdQuantity | ReorderThresholdQuantity | Reorder Point | ||
| SafetyStockQuantity | SafetyStockQuantity | Safety stock | ||
| IsMRPAreaExisting | ||||
| PurchasingGroup | _MaterialPlant | PurchasingGroup | Purchasing Group | |
| GoodsReceiptDuration | _MaterialPlant | GoodsReceiptDuration | GR proc. time | |
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | Plnd dely time | ||
| IsPlannedDeliveryTime | IsPlannedDeliveryTime | Consider PlDelTime | ||
| MaximumLotSizeQuantity | MaximumLotSizeQuantity | Max. Lot Size | ||
| LotSizeRoundingQuantity | LotSizeRoundingQuantity | Rounding value | ||
| RoundingProfile | RoundingProfile | Rnding Profile | ||
| DeletionIndicator | DeletionIndicator | Deletion Ind. | ||
| MaterialProcurementProfile | MaterialProcurementProfile | Special Procur. | ||
| DfltStorLocForExtProcmt | ||||
| IsBulkMaterial | _MaterialPlant | IsBulkMaterial | Bulk material | |
| IsPhantomItem | _MaterialPlant | IsPhantomItem | Phantom item | |
| _MatStatus | _MaterialPlant | _MatStatus | ||
| _Material | _Material | |||
| MaterialasMaterial | ||||
| KEY | Plant | I_BufferedMaterialPlant1 | Plant | Valuation Area |
| KEY | MRPArea | I_BufferedMaterialPlant1 | Plant | Valuation Area |
| MRPGroup | MRPGroup | MRP Group | ||
| MRPType | MRPType | MRP Type | ||
| MRPController | MRPController | MRP Controller | ||
| LotSizingProcedure | LotSizingProcedure | Lot Sizing Procedure | ||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Min. Lot Size | ||
| PlanningTimeFence | PlanningTimeFence | Plng time fence | ||
| MaterialMaxStockLevelQuantity | MaterialMaxStockLevelQuantity | Max.Stock Level | ||
| ReorderThresholdQuantity | ReorderThresholdQuantity | Reorder Point | ||
| SafetyStockQuantity | SafetyStockQuantity | Safety stock | ||
| IsMRPAreaExisting | IsMRPAreaExisting | |||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| GoodsReceiptDuration | GoodsReceiptDuration | GR proc. time | ||
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | Plnd dely time | ||
| IsPlannedDeliveryTime | Consider PlDelTime | |||
| MaximumLotSizeQuantity | MaximumLotSizeQuantity | Max. Lot Size | ||
| LotSizeRoundingQuantity | LotSizeRoundingQuantity | Rounding value | ||
| RoundingProfile | RoundingProfile | Rnding Profile | ||
| DeletionIndicator | Deletion Ind. | |||
| MaterialProcurementProfile | MaterialProcurementProfile | Special Procur. | ||
| DfltStorLocForExtProcmt | DfltStorLocForExtProcmt | |||
| IsBulkMaterial | I_BufferedMaterialPlant1 | IsBulkMaterial | Bulk material | |
| IsPhantomItem | I_BufferedMaterialPlant1 | IsPhantomItem | Phantom item | |
| _MatStatus | I_BufferedMaterialPlant1 | _MatStatus | ||
| _Material | _Material | |||
| _MRPType | _MRPType |
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_DemandDrivenMaterialData.
-- 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: IDDMATDATA
CREATE VIEW I_DemandDrivenMaterialData AS
SELECT
_mdma.Material AS Material,
_mdma.Plant AS Plant,
_mdma.MRPArea AS MRPArea,
MRPGroup,
MRPType,
MRPController,
LotSizingProcedure,
MinimumLotSizeQuantity,
PlanningTimeFence,
MaterialMaxStockLevelQuantity,
ReorderThresholdQuantity,
SafetyStockQuantity,
cast ( 'X' as abap.char(1)) AS IsMRPAreaExisting,
_MaterialPlant.PurchasingGroup AS PurchasingGroup,
_MaterialPlant.GoodsReceiptDuration AS GoodsReceiptDuration,
PlannedDeliveryDurationInDays,
IsPlannedDeliveryTime,
MaximumLotSizeQuantity,
LotSizeRoundingQuantity,
RoundingProfile,
DeletionIndicator,
MaterialProcurementProfile,
cast('' as lgfsb) AS DfltStorLocForExtProcmt,
_MaterialPlant.IsBulkMaterial AS IsBulkMaterial,
_MaterialPlant.IsPhantomItem AS IsPhantomItem,
_MaterialPlant._MatStatus AS _MatStatus
FROM I_MaterialMRPArea AS _mdma
LEFT OUTER JOIN I_BufferedMaterialPlant1 AS _MaterialPlant ON Material = _MaterialPlant.Material AND Plant = _MaterialPlant.Plant -- association [1..1]
-- UNION ALL with additional select branch(es): I_BufferedMaterialPlant1
;
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