P_PMRPIssueByCause
pMRP Issue Group Union
P_PMRPIssueByCause is a Composite CDS View that provides data about "pMRP Issue Group Union" in SAP S/4HANA. It reads from 1 data source (P_PMRPIssueByResource) and exposes 62 fields with key fields PMRPSimulation, PMRPResourceInternalID, Product, Plant, MRPArea.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PMRPIssueByResource | P_PMRPIssueByResource | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.dataMaintenance | #DISPLAY_ONLY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| EndUserText.label | pMRP Issue Group Union | view |
Fields (62)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | PMRPSimulation | Simulation ID | |
| KEY | PMRPResourceInternalID | PMRPResourceInternalID | ||
| KEY | Product | Product Sold | ||
| KEY | Plant | Valuation Area | ||
| KEY | MRPArea | MRP Area | ||
| KEY | PMRPFlexibleConstraint | Constraints ID | ||
| KEY | PMRPSupplyGroup | Supply Group | ||
| KEY | PMRPSupplyGroupCategory | Supply Group Cat | ||
| KEY | PMRPIssueCategory | |||
| PMRPNmbrOfAffcdTopLvlDemands | PMRPNmbrOfAffcdTopLvlDemands | |||
| PMRPIssueImpactScore | PMRPIssueImpactScore | |||
| TopLvlDmndUndrdelivRatioInPct | ||||
| PMRPNoSOSMissingQuantity | ||||
| PMRPConstraintMissingQuantity | ||||
| PMRPConstraintMaxOverloadPct | ||||
| KEY | PMRPResourceInternalID | |||
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | PMRPFlexibleConstraint | Constraints ID | ||
| KEY | PMRPSupplyGroup | Supply Group | ||
| KEY | PMRPSupplyGroupCategory | Supply Group Cat | ||
| KEY | PMRPIssueCategory | |||
| PMRPNumberOfAffectedBuckets | PMRPNumberOfAffectedBuckets | |||
| PMRPNmbrOfAffcdTopLvlDemands | PMRPNmbrOfAffcdTopLvlDemands | |||
| PMRPIssueImpactScore | PMRPIssueImpactScore | |||
| PMRPResourceMaxOverloadPercent | ||||
| TopLvlDmndUndrdelivRatioInPct | TopLvlDmndUndrdelivRatioInPct | |||
| PMRPNoSOSMissingQuantity | ||||
| PMRPConstraintMissingQuantity | ||||
| PMRPConstraintMaxOverloadPct | ||||
| KEY | PMRPResourceInternalID | |||
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | PMRPFlexibleConstraint | Constraints ID | ||
| KEY | PMRPSupplyGroup | Supply Group | ||
| KEY | PMRPSupplyGroupCategory | Supply Group Cat | ||
| KEY | PMRPIssueCategory | |||
| PMRPNumberOfAffectedBuckets | PMRPNumberOfAffectedBuckets | |||
| PMRPNmbrOfAffcdTopLvlDemands | PMRPNmbrOfAffcdTopLvlDemands | |||
| PMRPIssueImpactScore | PMRPIssueImpactScore | |||
| PMRPResourceMaxOverloadPercent | ||||
| TopLvlDmndUndrdelivRatioInPct | ||||
| PMRPConstraintMissingQuantity | ||||
| PMRPConstraintMaxOverloadPct | ||||
| KEY | PMRPResourceInternalID | |||
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | PMRPFlexibleConstraint | PMRPFlexibleConstraint | Constraints ID | |
| KEY | PMRPSupplyGroup | PMRPSupplyGroup | Supply Group | |
| KEY | PMRPSupplyGroupCategory | PMRPSupplyGroupCategory | Supply Group Cat | |
| KEY | PMRPIssueCategory | |||
| PMRPNumberOfAffectedBuckets | ||||
| PMRPNmbrOfAffcdTopLvlDemands | PMRPNmbrOfAffcdTopLvlDemands | |||
| PMRPIssueImpactScore | ||||
| PMRPResourceMaxOverloadPercent | ||||
| TopLvlDmndUndrdelivRatioInPct | ||||
| PMRPNoSOSMissingQuantity | ||||
| PMRPConstraintMaxOverloadPct | ||||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty |
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 P_PMRPIssueByCause.
-- 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 P_PMRPIssueByCause AS
SELECT
PMRPSimulation,
PMRPResourceInternalID,
cast(' ' as matnr preserving type) AS Product,
cast( Plant as werks_d preserving type ) AS Plant,
cast(' ' as berid preserving type) AS MRPArea,
cast('0000000000' as pmrp_flexcon_id preserving type) AS PMRPFlexibleConstraint,
' ' AS PMRPSupplyGroup,
' ' AS PMRPSupplyGroupCategory,
cast('1' as pmrp_issue_category) AS PMRPIssueCategory,
PMRPNmbrOfAffcdTopLvlDemands,
PMRPIssueImpactScore,
cast(0 as pmrp_delvry_perf) AS TopLvlDmndUndrdelivRatioInPct,
cast(0 as pmrp_nosos_missing_quantity) AS PMRPNoSOSMissingQuantity,
cast(0 as pmrp_missing_quantity) AS PMRPConstraintMissingQuantity,
cast(0 as pmrp_constraint_overload) AS PMRPConstraintMaxOverloadPct,
PMRPNumberOfAffectedBuckets,
cast(0 as pmrp_resource_overload) AS PMRPResourceMaxOverloadPercent,
UnitOfMeasure
FROM P_PMRPIssueByResource
;
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