C_PMRPIssueInspectorPanel

DDL: C_PMRPISSUEINSPECTORPANEL SQL: CPMRPINSPPANL Type: view CONSUMPTION

Shows issue details in Inspector Panel

C_PMRPIssueInspectorPanel is a Consumption CDS View that provides data about "Shows issue details in Inspector Panel" in SAP S/4HANA. It reads from 1 data source (I_PMRPTopLevelDemandIssue) and exposes 62 fields with key fields PMRPSimulation, TopLevelDemandInternalID, PMRPIssue, BucketInternalID, PMRPIssueCategory. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PMRPTopLevelDemandIssue I_PMRPTopLevelDemandIssue from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_MaterialText _MaterialText $projection.TopLevelProduct = _MaterialText.Material and _MaterialText.Language = $session.system_language
[1..1] I_MaterialText _ProductText $projection.Product = _ProductText.Material and _ProductText.Language = $session.system_language
[0..1] I_PlantStdVH _Plant _Plant.Plant = $projection.TopLevelPlant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPMRPINSPPANL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
EndUserText.label Shows issue details in Inspector Panel view
AccessControl.personalData.blocking #REQUIRED view

Fields (62)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY TopLevelDemandInternalID TopLevelDemandInternalID Top-Level Demand ID
KEY PMRPIssue PMRPIssue
KEY BucketInternalID BucketInternalID Bucket ID
KEY PMRPIssueCategory PMRPIssueCategory
PMRPIssueCategoryText
PMRPReferencePlan PMRPReferencePlan
PMRPSimulationStatus _Simulation PMRPSimulationStatus
PMRPReceiptIsFromPullIn PMRPReceiptIsFromPullIn
PMRPCapacityDemandQuantity PMRPCapacityDemandQuantity
PMRPAvailableCapacity _ResIssueBucket PMRPAvailableCapacity
PMRPCapacityDeltaQty PMRPCapacityDeltaQty
PMRPResourceLoadPercent _ResIssueBucket PMRPResourceLoadPercent
AdaptedCapacityRateInPercent AdaptedCapacityRateInPercent
CapacityQuantityUnit CapacityQuantityUnit
PMRPCapacitySlackQty PMRPTopLevelDmndCapDemandQty
CapacityDmndTopLevelDemandPct CapacityDmndTopLevelDemandPct
SimulatedRequiredQuantity SimulatedRequiredQuantity
PMRPTopLevelDemandQuantity PMRPTopLvlDmndMissingQuantity
PMRPShareOfTopLvlDmndQuantity PMRPShareOfTopLvlDmndQuantity
PMRPResourceInternalID PMRPResourceInternalID
Plant Plant Valuation Area
WorkCenter _Resource WorkCenter Work Center
WorkCenterInternalID _Resource WorkCenterInternalID Work Center
PMRPResourceName _Resource PMRPResourceName
CapacityCategory _Resource CapacityCategory
PMRPWorkCenterText
CapacityCategoryName
PlantName _Plant PlantName Plant Name
TopLevelProduct TopLevelProduct
MaterialName _MaterialText MaterialName Material Description
TopLevelPlant TopLevelPlant
TopLevelMRPArea TopLevelMRPArea
Product Product Product Sold
ProductName _ProductText MaterialName Material Description
UnitOfMeasure UnitOfMeasure Unit Protected Qty
PMRPBucketCategory _ReferencePlan BucketCategory
char1126endasPMRPBucketName
PMRPBucketPeriod _Bucket PMRPBucketPeriod
PMRPMissingSupplyPercent PMRPMissingSupplyPercent
PMRPMissingReceiptQuantity PMRPMissingReceiptQuantity
RequiredQuantity RequiredQuantity Requirement qty
PMRPReceiptUnitOfMeasure PMRPReceiptUnitOfMeasure
PMRPIssueStartDate PMRPIssueStartDate
PMRPIssueEndDate PMRPIssueEndDate
PMRPResourceDisregardIssStatus _ResIssueBucket PMRPResourceDisregardIssStatus
DeliveryPerformanceUnit
PMRPConstraintPeriodType _Constraint PMRPConstraintPeriodType
SupplyingPlant _Constraint SupplyingPlant Supplying Plant
Supplier _Constraint Supplier Supplier
SupplierName
PMRPConstraintText
PMRPConstraintType _Constraint PMRPConstraintType
PMRPConstraintTypeText
PMRPFlexibleConstraintScope _Constraint PMRPFlexibleConstraintScope
PMRPFlexibleConstraintScopeTxt
PMRPConstraintProductSelection _Constraint PMRPConstraintProductSelection
PMRPConstraintCategory _Constraint PMRPConstraintCategory
PMRPConstraintCategoryText
PMRPConstraintQtyInDisplayUnit _ConstraintPeriod PMRPConstraintQtyInDisplayUnit
PMRPConstraintDisplayUnit _ConstraintPeriod PMRPConstraintDisplayUnit
_Supplier _Constraint _Supplier

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 C_PMRPIssueInspectorPanel.
-- 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: CPMRPINSPPANL

CREATE VIEW C_PMRPIssueInspectorPanel AS
SELECT
  PMRPSimulation,
  TopLevelDemandInternalID,
  PMRPIssue,
  BucketInternalID,
  PMRPIssueCategory,
  _IssueCategoryText[Language=$session.system_language].PMRPIssueCategoryText AS PMRPIssueCategoryText,
  PMRPReferencePlan,
  _Simulation.PMRPSimulationStatus AS PMRPSimulationStatus,
  PMRPReceiptIsFromPullIn,
  PMRPCapacityDemandQuantity,
  _ResIssueBucket.PMRPAvailableCapacity AS PMRPAvailableCapacity,
  PMRPCapacityDeltaQty,
  _ResIssueBucket.PMRPResourceLoadPercent AS PMRPResourceLoadPercent,
  AdaptedCapacityRateInPercent,
  CapacityQuantityUnit,
  PMRPTopLevelDmndCapDemandQty AS PMRPCapacitySlackQty,
  CapacityDmndTopLevelDemandPct,
  SimulatedRequiredQuantity,
  PMRPTopLvlDmndMissingQuantity AS PMRPTopLevelDemandQuantity,
  PMRPShareOfTopLvlDmndQuantity,
  PMRPResourceInternalID,
  Plant,
  _Resource.WorkCenter AS WorkCenter,
  _Resource.WorkCenterInternalID AS WorkCenterInternalID,
  _Resource.PMRPResourceName AS PMRPResourceName,
  _Resource.CapacityCategory AS CapacityCategory,
  _Resource._WorkCenterText.PMRPWorkCenterText AS PMRPWorkCenterText,
  _Resource._WorkCenterText.CapacityCategoryName AS CapacityCategoryName,
  _Plant.PlantName AS PlantName,
  TopLevelProduct,
  _MaterialText.MaterialName AS MaterialName,
  TopLevelPlant,
  TopLevelMRPArea,
  Product,
  _ProductText.MaterialName AS ProductName,
  UnitOfMeasure,
  _ReferencePlan.BucketCategory AS PMRPBucketCategory,
  case when _ReferencePlan.BucketCategory = 'W' then substring ( cast ( _TopLevelDemand.BucketInternalID as abap.char(11) ), 1 , 6) else substring ( cast ( _TopLevelDemand.BucketInternalID as abap.char(11) ), 2 , 6) end as PMRPBucketName AS char1126endasPMRPBucketName,
  _Bucket.PMRPBucketPeriod AS PMRPBucketPeriod,
  PMRPMissingSupplyPercent,
  PMRPMissingReceiptQuantity,
  RequiredQuantity,
  PMRPReceiptUnitOfMeasure,
  PMRPIssueStartDate,
  PMRPIssueEndDate,
  _ResIssueBucket.PMRPResourceDisregardIssStatus AS PMRPResourceDisregardIssStatus,
  cast ('%' as meins) AS DeliveryPerformanceUnit,
  _Constraint.PMRPConstraintPeriodType AS PMRPConstraintPeriodType,
  _Constraint.SupplyingPlant AS SupplyingPlant,
  _Constraint.Supplier AS Supplier,
  _Constraint._Supplier.SupplierName AS SupplierName,
  _Constraint._Text[Language=$session.system_language].PMRPConstraintText AS PMRPConstraintText,
  _Constraint.PMRPConstraintType AS PMRPConstraintType,
  _Constraint._PMRPFlxblCstrtType._Text[Language=$session.system_language].PMRPConstraintTypeText AS PMRPConstraintTypeText,
  _Constraint.PMRPFlexibleConstraintScope AS PMRPFlexibleConstraintScope,
  _Constraint._PMRPFlxblCstrtScope._Text[Language=$session.system_language].PMRPFlexibleConstraintScopeTxt AS PMRPFlexibleConstraintScopeTxt,
  _Constraint.PMRPConstraintProductSelection AS PMRPConstraintProductSelection,
  _Constraint.PMRPConstraintCategory AS PMRPConstraintCategory,
  _Constraint._PMRPFlxblCstrtCategory._Text[Language=$session.system_language].PMRPConstraintCategoryText AS PMRPConstraintCategoryText,
  _ConstraintPeriod.PMRPConstraintQtyInDisplayUnit AS PMRPConstraintQtyInDisplayUnit,
  _ConstraintPeriod.PMRPConstraintDisplayUnit AS PMRPConstraintDisplayUnit,
  _Constraint._Supplier AS _Supplier
FROM I_PMRPTopLevelDemandIssue
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON TopLevelProduct = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _ProductText ON Product = _ProductText.Material AND _ProductText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_PlantStdVH AS _Plant ON _Plant.Plant = TopLevelPlant  -- association [0..1]
;