I_PMRPSimlnResourceBucketIssue

DDL: I_PMRPSIMLNRESOURCEBUCKETISSUE SQL: IPMRPRESISSUE Type: view COMPOSITE

Overload of a pMRP Resource per bucket

I_PMRPSimlnResourceBucketIssue is a Composite CDS View that provides data about "Overload of a pMRP Resource per bucket" in SAP S/4HANA. It reads from 1 data source (I_PMRPSimlnRsceCapBucket) and exposes 11 fields with key fields PMRPSimulation, PMRPResourceInternalID, BucketInternalID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PMRPSimlnRsceCapBucket I_PMRPSimlnRsceCapBucket from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_PMRPSimulation _Simulation _Simulation.PMRPSimulation = $projection.PMRPSimulation
[1..1] I_PMRPReferencePlan _ReferencePlan _ReferencePlan.PMRPReferencePlan = _Simulation.PMRPReferencePlan
[1..1] I_PMRPResource _Resource _Resource.PMRPReferencePlan = $projection.PMRPReferencePlan and _Resource.PMRPResourceInternalID = $projection.PMRPResourceInternalID
[1..1] I_PMRPBucket _Bucket _Bucket.PMRPReferencePlan = $projection.PMRPReferencePlan and _Bucket.BucketInternalID = $projection.BucketInternalID
[1..1] I_PMRPIssueCategory _CapacityIssue _CapacityIssue.PMRPIssueCategory = $projection.PMRPCapacityIssue

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPMRPRESISSUE 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 #CHECK view
VDM.viewType #COMPOSITE view
EndUserText.label Overload of a pMRP Resource per bucket view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY PMRPResourceInternalID PMRPResourceInternalID
KEY BucketInternalID BucketInternalID Bucket ID
Plant Plant Valuation Area
PMRPCapacityIssue
PMRPReferencePlan _Simulation PMRPReferencePlan
_Simulation _Simulation
_ReferencePlan _ReferencePlan
_Resource _Resource
_Bucket _Bucket
_CapacityIssue _CapacityIssue

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 I_PMRPSimlnResourceBucketIssue.
-- 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: IPMRPRESISSUE

CREATE VIEW I_PMRPSimlnResourceBucketIssue AS
SELECT
  PMRPSimulation,
  PMRPResourceInternalID,
  BucketInternalID,
  Plant,
  cast('1' as pmrp_issue_category) AS PMRPCapacityIssue,
  _Simulation.PMRPReferencePlan AS PMRPReferencePlan
FROM I_PMRPSimlnRsceCapBucket
LEFT OUTER JOIN I_PMRPSimulation AS _Simulation ON _Simulation.PMRPSimulation = PMRPSimulation  -- association [1..1]
LEFT OUTER JOIN I_PMRPReferencePlan AS _ReferencePlan ON _ReferencePlan.PMRPReferencePlan = _Simulation.PMRPReferencePlan  -- association [1..1]
LEFT OUTER JOIN I_PMRPResource AS _Resource ON _Resource.PMRPReferencePlan = PMRPReferencePlan AND _Resource.PMRPResourceInternalID = PMRPResourceInternalID  -- association [1..1]
LEFT OUTER JOIN I_PMRPBucket AS _Bucket ON _Bucket.PMRPReferencePlan = PMRPReferencePlan AND _Bucket.BucketInternalID = BucketInternalID  -- association [1..1]
LEFT OUTER JOIN I_PMRPIssueCategory AS _CapacityIssue ON _CapacityIssue.PMRPIssueCategory = PMRPCapacityIssue  -- association [1..1]
;