P_PRODUCTPLANTMRP
P_PRODUCTPLANTMRP is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (mdma) and exposes 44 fields with key fields Product, MRPArea, Plant. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mdma | MRPAreaData | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MRPType | _MRPType | $projection.MRPType = _MRPType.MRPType |
| [0..*] | I_MRPTypeText | _MRPTypeName | $projection.MRPType = _MRPTypeName.MRPType |
| [0..1] | I_MRPLotSizingProcedure | _LotSizingProcedure | $projection.LotSizingProcedure = _LotSizingProcedure.MaterialLotSizingProcedure |
| [0..1] | I_StorageLocation | _PlantInvtryManagedLoc | $projection.StorageLocation = _PlantInvtryManagedLoc.StorageLocation and $projection.Plant = _PlantInvtryManagedLoc.Plant |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | I_MRPController | _MRPResponsible | $projection.MRPResponsible = _MRPResponsible.MRPController and $projection.Plant = _MRPResponsible.Plant |
| [0..1] | I_MRPArea | _MRPArea | $projection.MRPArea = _MRPArea.MRPArea |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PPRDPLNTMRP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | matnr | ||
| KEY | MRPArea | berid | ||
| KEY | Plant | werks | ||
| MRPAreaCategory | _MRPArea | MRPAreaCategory | ||
| MRPType | dismm | |||
| MRPResponsible | dispo | |||
| MRPGroup | disgr | |||
| ReorderThresholdQuantity | minbe | |||
| PlanAndOrderDayDetermination | lfrhy | |||
| PlanningTimeFence | fxhor | |||
| LotSizingProcedure | disls | |||
| RoundingProfile | rdprf | |||
| LotSizeRoundingQuantity | bstrf | |||
| MinimumLotSizeQuantity | bstmi | |||
| MaximumLotSizeQuantity | bstma | |||
| MaximumStockQuantity | mabst | |||
| AssemblyScrapPercent | ausss | |||
| ProcurementSubType | sobsl | |||
| StorageLocation | lgpro | |||
| DfltStorageLocationExtProcmt | lgfsb | |||
| MRPPlanningCalendar | mrppp | |||
| SafetyStockQuantity | eisbe | |||
| RangeOfCvrgPrflCode | rwpro | |||
| SafetyDuration | shzet | |||
| FixedLotSizeQuantity | bstfe | |||
| LotSizeIndependentCosts | losfx | |||
| IsStorageCosts | lagpr | |||
| SrvcLvl | lgrad | |||
| CreationDate | vrbdt | |||
| IsMarkedForDeletion | loekz | |||
| PerdPrflForSftyTme | shpro | |||
| IsMRPDependentRqmt | ahdis | |||
| MaintenanceStatusName | pstat | |||
| IsSafetyTime | shflg | |||
| PlannedDeliveryDurationInDays | plifz | |||
| IsPlannedDeliveryTime | ||||
| TaktTime | takzt | |||
| _MRPType | _MRPType | |||
| _MRPTypeName | _MRPTypeName | |||
| _MRPResponsible | _MRPResponsible | |||
| _LotSizingProcedure | _LotSizingProcedure | |||
| _PlantInvtryManagedLoc | _PlantInvtryManagedLoc | |||
| _Product | _Product | |||
| _MRPArea | _MRPArea |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'PPRDPLNTMRP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel: {
usageType.serviceQuality: #D,
usageType.sizeCategory : #L,
usageType.dataClass: #TRANSACTIONAL}
@VDM.viewType : #BASIC
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.privilegedAssociations: ['_MRPResponsible']
define view P_PRODUCTPLANTMRP
as select from mdma as MRPAreaData
association [0..1] to I_MRPType as _MRPType on $projection.MRPType = _MRPType.MRPType
association [0..*] to I_MRPTypeText as _MRPTypeName on $projection.MRPType = _MRPTypeName.MRPType
association [0..1] to I_MRPLotSizingProcedure as _LotSizingProcedure on $projection.LotSizingProcedure = _LotSizingProcedure.MaterialLotSizingProcedure
association [0..1] to I_StorageLocation as _PlantInvtryManagedLoc on $projection.StorageLocation = _PlantInvtryManagedLoc.StorageLocation
and $projection.Plant = _PlantInvtryManagedLoc.Plant
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
association [0..1] to I_MRPController as _MRPResponsible on $projection.MRPResponsible = _MRPResponsible.MRPController
and $projection.Plant = _MRPResponsible.Plant
association [0..1] to I_MRPArea as _MRPArea on $projection.MRPArea = _MRPArea.MRPArea
{
key matnr as Product,
key berid as MRPArea,
key werks as Plant,
_MRPArea.MRPAreaCategory as MRPAreaCategory,
@ObjectModel.foreignKey.association: '_MRPType'
@ObjectModel.text.association: '_MRPTypeName'
dismm as MRPType,
@ObjectModel.foreignKey.association: '_MRPResponsible'
dispo as MRPResponsible,
disgr as MRPGroup,
minbe as ReorderThresholdQuantity,
lfrhy as PlanAndOrderDayDetermination,
fxhor as PlanningTimeFence,
@ObjectModel.foreignKey.association: '_LotSizingProcedure'
disls as LotSizingProcedure,
rdprf as RoundingProfile,
bstrf as LotSizeRoundingQuantity,
bstmi as MinimumLotSizeQuantity,
bstma as MaximumLotSizeQuantity,
mabst as MaximumStockQuantity,
ausss as AssemblyScrapPercent,
sobsl as ProcurementSubType,
@ObjectModel.foreignKey.association: '_PlantInvtryManagedLoc'
lgpro as StorageLocation,
lgfsb as DfltStorageLocationExtProcmt,
mrppp as MRPPlanningCalendar,
eisbe as SafetyStockQuantity,
rwpro as RangeOfCvrgPrflCode,
shzet as SafetyDuration,
bstfe as FixedLotSizeQuantity,
losfx as LotSizeIndependentCosts,
lagpr as IsStorageCosts,
lgrad as SrvcLvl,
vrbdt as CreationDate,
loekz as IsMarkedForDeletion,
shpro as PerdPrflForSftyTme,
ahdis as IsMRPDependentRqmt,
pstat as MaintenanceStatusName,
shflg as IsSafetyTime,
plifz as PlannedDeliveryDurationInDays,
cast(plifzx as boole_d) as IsPlannedDeliveryTime,
takzt as TaktTime,
_MRPType,
_MRPTypeName,
_MRPResponsible,
_LotSizingProcedure,
_PlantInvtryManagedLoc,
_Product,
_MRPArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MRPAREA",
"MDMA"
],
"ASSOCIATED":
[
"I_MRPAREA",
"I_MRPCONTROLLER",
"I_MRPLOTSIZINGPROCEDURE",
"I_MRPTYPE",
"I_MRPTYPETEXT",
"I_PRODUCT",
"I_STORAGELOCATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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