P_PMRPIssueByResource2

DDL: P_PMRPISSUEBYRESOURCE2 SQL: PRESISSCAUSE2 Type: view COMPOSITE

P_PMRPIssueByResource2 is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_PMRPIssueByResource1, P_PMRPCapReqForTLD, I_PMRPSimlnTopLevelDemand) and exposes 5 fields with key fields PMRPSimulation, PMRPResourceInternalID, BucketInternalID, TopLevelDemandInternalID.

Data Sources (3)

SourceAliasJoin Type
P_PMRPIssueByResource1 capa from
P_PMRPCapReqForTLD req inner
I_PMRPSimlnTopLevelDemand tld inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRESISSCAUSE2 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 (5)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation P_PMRPIssueByResource1 PMRPSimulation Simulation ID
KEY PMRPResourceInternalID P_PMRPIssueByResource1 PMRPResourceInternalID
KEY BucketInternalID P_PMRPIssueByResource1 BucketInternalID Bucket ID
KEY TopLevelDemandInternalID P_PMRPCapReqForTLD TopLevelDemandInternalID Top-Level Demand ID
Plant

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_PMRPIssueByResource2.
-- 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: PRESISSCAUSE2

CREATE VIEW P_PMRPIssueByResource2 AS
SELECT
  capa.PMRPSimulation AS PMRPSimulation,
  capa.PMRPResourceInternalID AS PMRPResourceInternalID,
  capa.BucketInternalID AS BucketInternalID,
  req.TopLevelDemandInternalID AS TopLevelDemandInternalID
FROM P_PMRPIssueByResource1 AS capa
INNER JOIN P_PMRPCapReqForTLD AS req ON /* join condition not captured in parsed metadata */
INNER JOIN I_PMRPSimlnTopLevelDemand AS tld ON /* join condition not captured in parsed metadata */
;