C_PMRPIssueInspectorPanelBOM

DDL: C_PMRPISSUEINSPECTORPANELBOM SQL: CPMRPBOMINS Type: view CONSUMPTION

Shows Issue in BOM Inspector Panel

C_PMRPIssueInspectorPanelBOM is a Consumption CDS View that provides data about "Shows Issue in BOM Inspector Panel" in SAP S/4HANA. It reads from 1 data source (I_PMRPReceiptIssue) and exposes 61 fields with key fields PMRPSimulation, ReceiptInternalID, PMRPIssue, BucketInternalID, PMRPIssueCategory. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PMRPReceiptIssue I_PMRPReceiptIssue from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_PMRPCapacityWorkCenterText _WorkCenter _WorkCenter.PMRPReferencePlan = $projection.PMRPReferencePlan and _WorkCenter.PMRPResourceInternalID = $projection.PMRPResourceInternalID
[1..1] I_MaterialText _ProductText $projection.Product = _ProductText.Material and _ProductText.Language = $session.system_language
[1..1] I_PlantStdVH _PlantName $projection.Plant = _PlantName.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPMRPBOMINS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Shows Issue in BOM Inspector Panel 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
AccessControl.personalData.blocking #REQUIRED view

Fields (61)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY ReceiptInternalID ReceiptInternalID Receipt ID
KEY PMRPIssue PMRPIssue
KEY BucketInternalID BucketInternalID Bucket ID
KEY PMRPIssueCategory PMRPIssueCategory
TopLevelDemandInternalID TopLevelDemandInternalID Top-Level Demand ID
PMRPIssueStartDate PMRPIssueStartDate
PMRPIssueEndDate PMRPIssueEndDate
PMRPReferencePlan PMRPReferencePlan
PMRPResourceInternalID PMRPResourceInternalID
Product Product Product Sold
Plant Plant Valuation Area
PlantName _PlantName PlantName Plant Name
MRPArea MRPArea MRP Area
CapacityQuantityUnit CapacityQuantityUnit
CapacityDmndTopLevelDemandPct CapacityDmndTopLevelDemandPct
PMRPTopLevelDmndCapDemandQty PMRPTopLevelDmndCapDemandQty
PMRPCapacityDemandQuantity PMRPCapacityDemandQuantity
AdaptedCapacityRateInPercent AdaptedCapacityRateInPercent
PMRPCapacityDeltaQty PMRPCapacityDeltaQty
PMRPMissingSupplyPercent PMRPMissingSupplyPercent
PMRPMissingReceiptQuantity PMRPMissingReceiptQuantity
RequiredQuantity RequiredQuantity Requirement qty
UnitOfMeasure UnitOfMeasure Unit Protected Qty
PMRPDeltaQuantity PMRPDeltaQuantity
TopLevelProduct TopLevelProduct
TopLevelPlant TopLevelPlant
TopLevelMRPArea TopLevelMRPArea
PMRPWorkCenterText _WorkCenter PMRPWorkCenterText
CapacityCategoryName _WorkCenter CapacityCategoryName
WorkCenter _Resource WorkCenter Work Center
WorkCenterInternalID _Resource WorkCenterInternalID Work Center
PMRPResourceName _Resource PMRPResourceName
PMRPIssueCategoryText
CapacityCategory _Resource CapacityCategory
PMRPAvailableCapacity _ResIssueBucket PMRPAvailableCapacity
PMRPResourceLoadPercent _ResIssueBucket PMRPResourceLoadPercent
ProductName _ProductText MaterialName Material Description
char1126endasPMRPBucketName
DeliveryPerformanceUnit
PMRPTopLevelDemandQuantity PMRPTopLvlDmndMissingQuantity
PMRPTopLvlDmndMissingQuantity PMRPTopLvlDmndMissingQuantity
SimulatedRequiredQuantity SimulatedRequiredQuantity
PMRPShareOfTopLvlDmndQuantity PMRPShareOfTopLvlDmndQuantity
TopLevelDemandUnitOfMeasure TopLevelDemandUnitOfMeasure
BucketCategory _ReferencePlan BucketCategory
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_PMRPIssueInspectorPanelBOM.
-- 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: CPMRPBOMINS

CREATE VIEW C_PMRPIssueInspectorPanelBOM AS
SELECT
  PMRPSimulation,
  ReceiptInternalID,
  PMRPIssue,
  BucketInternalID,
  PMRPIssueCategory,
  TopLevelDemandInternalID,
  PMRPIssueStartDate,
  PMRPIssueEndDate,
  PMRPReferencePlan,
  PMRPResourceInternalID,
  Product,
  Plant,
  _PlantName.PlantName AS PlantName,
  MRPArea,
  CapacityQuantityUnit,
  CapacityDmndTopLevelDemandPct,
  PMRPTopLevelDmndCapDemandQty,
  PMRPCapacityDemandQuantity,
  AdaptedCapacityRateInPercent,
  PMRPCapacityDeltaQty,
  PMRPMissingSupplyPercent,
  PMRPMissingReceiptQuantity,
  RequiredQuantity,
  UnitOfMeasure,
  PMRPDeltaQuantity,
  TopLevelProduct,
  TopLevelPlant,
  TopLevelMRPArea,
  _WorkCenter.PMRPWorkCenterText AS PMRPWorkCenterText,
  _WorkCenter.CapacityCategoryName AS CapacityCategoryName,
  _Resource.WorkCenter AS WorkCenter,
  _Resource.WorkCenterInternalID AS WorkCenterInternalID,
  _Resource.PMRPResourceName AS PMRPResourceName,
  _IssueCategoryText[Language=$session.system_language].PMRPIssueCategoryText AS PMRPIssueCategoryText,
  _Resource.CapacityCategory AS CapacityCategory,
  _ResIssueBucket.PMRPAvailableCapacity AS PMRPAvailableCapacity,
  _ResIssueBucket.PMRPResourceLoadPercent AS PMRPResourceLoadPercent,
  _ProductText.MaterialName AS ProductName,
  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,
  cast ('%' as meins) AS DeliveryPerformanceUnit,
  PMRPTopLvlDmndMissingQuantity AS PMRPTopLevelDemandQuantity,
  PMRPTopLvlDmndMissingQuantity,
  SimulatedRequiredQuantity,
  PMRPShareOfTopLvlDmndQuantity,
  TopLevelDemandUnitOfMeasure,
  _ReferencePlan.BucketCategory AS BucketCategory,
  _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_PMRPReceiptIssue
LEFT OUTER JOIN I_PMRPCapacityWorkCenterText AS _WorkCenter ON _WorkCenter.PMRPReferencePlan = PMRPReferencePlan AND _WorkCenter.PMRPResourceInternalID = PMRPResourceInternalID  -- 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 _PlantName ON Plant = _PlantName.Plant  -- association [1..1]
;