P_PMRPIssueByCause

DDL: P_PMRPISSUEBYCAUSE Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
P_PMRPIssueByResource P_PMRPIssueByResource from

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;