P_PMRPIssueByConstraint5

DDL: P_PMRPISSUEBYCONSTRAINT5 SQL: PISSUEBYCNSTRT5 Type: view COMPOSITE Package: PMRP_ENGINE

pMRP Underdelivery Issue Impact

P_PMRPIssueByConstraint5 is a Composite CDS View that provides data about "pMRP Underdelivery Issue Impact" in SAP S/4HANA. It reads from 2 data sources (P_PMRPIssueByConstraint4, P_PMRPIssueByConstraint1) and exposes 12 fields with key fields PMRPSimulation, PMRPFlexibleConstraint, TopLevelDemandInternalID. Part of development package PMRP_ENGINE.

Data Sources (2)

SourceAliasJoin Type
P_PMRPIssueByConstraint4 c from
P_PMRPIssueByConstraint1 ntld inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PISSUEBYCNSTRT5 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE 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

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation P_PMRPIssueByConstraint4 PMRPSimulation Simulation ID
KEY PMRPFlexibleConstraint P_PMRPIssueByConstraint4 PMRPFlexibleConstraint Constraints ID
KEY TopLevelDemandInternalID P_PMRPIssueByConstraint1 TopLevelDemandInternalID Top-Level Demand ID
Product P_PMRPIssueByConstraint4 Product Product Sold
Plant P_PMRPIssueByConstraint4 Plant Valuation Area
MRPArea P_PMRPIssueByConstraint4 MRPArea MRP Area
PMRPSupplyGroupasPMRPSupplyGroup
PMRPSupplyGroupCategory
UnitOfMeasure
PMRPNumberOfAffectedBuckets
PMRPConstraintMaxOverloadPct
PMRPConstraintMissingQuantity

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_PMRPIssueByConstraint5.
-- 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: PISSUEBYCNSTRT5

CREATE VIEW P_PMRPIssueByConstraint5 AS
SELECT
  c.PMRPSimulation AS PMRPSimulation,
  c.PMRPFlexibleConstraint AS PMRPFlexibleConstraint,
  ntld.TopLevelDemandInternalID AS TopLevelDemandInternalID,
  c.Product AS Product,
  c.Plant AS Plant,
  c.MRPArea AS MRPArea,
  max(c.PMRPSupplyGroupCategory) AS PMRPSupplyGroupCategory,
  max(c.UnitOfMeasure) AS UnitOfMeasure,
  max(c.PMRPNumberOfAffectedBuckets) AS PMRPNumberOfAffectedBuckets,
  max(c.PMRPConstraintOverloadPct) AS PMRPConstraintMaxOverloadPct,
  max(c.PMRPConstraintMissingQuantity) AS PMRPConstraintMissingQuantity
FROM P_PMRPIssueByConstraint4 AS c
INNER JOIN P_PMRPIssueByConstraint1 AS ntld ON /* join condition not captured in parsed metadata */
;