I_MRPAreaPlanningFileEntry
MRP Area Planning File Entry
I_MRPAreaPlanningFileEntry is a Basic CDS View (Fact) that provides data about "MRP Area Planning File Entry" in SAP S/4HANA. It reads from 1 data source (pph_dbvm) and exposes 14 fields with key fields Material, Plant, MRPArea, MRPPlanningScenario. It has 5 associations to related views. Part of development package VDM_PP_MRP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pph_dbvm | d | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Material | $projection.Material = _Material .Product |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_ProductPlantBasic | _MaterialPlant | $projection.Material = _MaterialPlant.Product and $projection.Plant = _MaterialPlant.Plant |
| [1..1] | I_MRPArea | _MRPArea | $projection.MRPArea = _MRPArea.MRPArea |
| [0..1] | I_MRPPlanningScenario | _PlanningScenario | $projection.MRPPlanningScenario = _PlanningScenario.MRPPlanningScenario |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.technicalName | IMRPAREAPFE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | MRP Area Planning File Entry | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | pph_dbvm | matnr | |
| KEY | Plant | pph_dbvm | werks | |
| KEY | MRPArea | pph_dbvm | berid | |
| KEY | MRPPlanningScenario | pph_dbvm | plscn | |
| MatlIsConsideredInNetChgPlng | pph_dbvm | gsaen | ||
| PlanningFileEntryCreationDate | ||||
| MatlNextTimePhasedPlanningDate | ||||
| MaterialLastMRPDateTime | pph_dbvm | dstmp | ||
| MatlLastMRPRelevantChgDateTime | pph_dbvm | lstmp | ||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _MaterialPlant | _MaterialPlant | |||
| _MRPArea | _MRPArea | |||
| _PlanningScenario | _PlanningScenario |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #FACT
@Analytics.technicalName: 'IMRPAREAPFE'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #NONE
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'MRP Area Planning File Entry'
define view entity I_MRPAreaPlanningFileEntry
as select from pph_dbvm as d
association [1..1] to I_Product as _Material on $projection.Material = _Material .Product
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [1..1] to I_ProductPlantBasic as _MaterialPlant on $projection.Material = _MaterialPlant.Product
and $projection.Plant = _MaterialPlant.Plant
association [1..1] to I_MRPArea as _MRPArea on $projection.MRPArea = _MRPArea.MRPArea
association [0..1] to I_MRPPlanningScenario as _PlanningScenario on $projection.MRPPlanningScenario = _PlanningScenario.MRPPlanningScenario
{
// Key elements
@ObjectModel.foreignKey.association: '_Material'
key d.matnr as Material,
@ObjectModel.foreignKey.association: '_Plant'
key d.werks as Plant,
@ObjectModel.foreignKey.association: '_MRPArea'
key d.berid as MRPArea,
@ObjectModel.foreignKey.association: '_PlanningScenario'
key d.plscn as MRPPlanningScenario,
d.gsaen as MatlIsConsideredInNetChgPlng,
-- d.erdat as PlanningFileEntryCreationDate,
cast(d.rhytd as vdm_rhytd preserving type) as MatlNextTimePhasedPlanningDate,
d.dstmp as MaterialLastMRPDateTime,
d.lstmp as MatlLastMRPRelevantChgDateTime,
// Associations
_Plant,
_Material,
_MaterialPlant, // for DCLS
_MRPArea,
_PlanningScenario
}
where d.sc_empty = ''
and d.nodisp = '';
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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