P_PMRPTopLevelDemandIssue

DDL: P_PMRPTOPLEVELDEMANDISSUE SQL: PPMRPTLDISSUE Type: view COMPOSITE

pMRP Issue Union

P_PMRPTopLevelDemandIssue is a Composite CDS View that provides data about "pMRP Issue Union" in SAP S/4HANA. It reads from 1 data source (I_PMRPTopLevelDmndRsceCapRqmt) and exposes 11 fields with key fields PMRPSimulation, TopLevelDemandInternalID, PMRPIssue.

Data Sources (1)

SourceAliasJoin Type
I_PMRPTopLevelDmndRsceCapRqmt TLDCapIssue from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PPMRPTLDISSUE 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
EndUserText.label pMRP Issue Union view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation I_PMRPTopLevelDmndRsceCapRqmt PMRPSimulation Simulation ID
KEY TopLevelDemandInternalID I_PMRPTopLevelDmndRsceCapRqmt TopLevelDemandInternalID Top-Level Demand ID
KEY PMRPIssue
BucketInternalID
PMRPBucketStartDateasPMRPIssueStartDate
PMRPIssueEndDate
PMRPResourceInternalID
Product
PlantasPlant
CapacityQuantityUnit
CapacityDmndTopLevelDemandPct

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_PMRPTopLevelDemandIssue.
-- 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: PPMRPTLDISSUE

CREATE VIEW P_PMRPTopLevelDemandIssue AS
SELECT
  TLDCapIssue.PMRPSimulation AS PMRPSimulation,
  TLDCapIssue.TopLevelDemandInternalID AS TopLevelDemandInternalID,
  cast(TLDCapIssue.PMRPResourceInternalID as pmrp_issue_id) AS PMRPIssue,
  ResIssueBucket._Bucket.PMRPBucketEndDate AS PMRPIssueEndDate,
  cast('' as matnr) AS Product
FROM I_PMRPTopLevelDmndRsceCapRqmt AS TLDCapIssue
;