P_PMRPSimlnOutputNodeBySupply

DDL: P_PMRPSIMLNOUTPUTNODEBYSUPPLY Type: view_entity COMPOSITE

P_PMRPSimlnOutputNodeBySupply is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_PMRPSimlnReceiptBucketBasic) and exposes 22 fields with key fields PMRPSimulation, PMRPFlxblCstrtProductGroup, Product, Plant, MRPArea.

Data Sources (1)

SourceAliasJoin Type
I_PMRPSimlnReceiptBucketBasic I_PMRPSimlnReceiptBucketBasic from

Annotations (7)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true 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 (22)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY PMRPFlxblCstrtProductGroup PMRPFlxblCstrtProductGroup
KEY Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRP Area
KEY PMRPSupplyGroup PMRPSupplyGroup Supply Group
KEY PMRPSupplyGroupCategory PMRPSupplyGroupCategory Supply Group Cat
ParentProduct
PMRPSupplyGroupSourceOfSupply
PMRPFlexibleConstraint
ReceiptInternalID
KEY PMRPFlxblCstrtProductGroup PMRPFlxblCstrtProductGroup
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY PMRPSupplyGroup PMRPSupplyGroup Supply Group
KEY PMRPSupplyGroupCategory PMRPSupplyGroupCategory Supply Group Cat
ParentProduct
PMRPSupplyGroupSourceOfSupply
PMRPFlexibleConstraint
ReceiptInternalID
PMRPReferencePlan _PMRPSimulation PMRPReferencePlan

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_PMRPSimlnOutputNodeBySupply.
-- 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.

CREATE VIEW P_PMRPSimlnOutputNodeBySupply AS
SELECT
  PMRPSimulation,
  PMRPFlxblCstrtProductGroup,
  cast('' as matnr) AS Product,
  Plant,
  cast('' as berid) AS MRPArea,
  PMRPSupplyGroup,
  PMRPSupplyGroupCategory,
  cast('!' as matnr) AS ParentProduct,
  max(PMRPSourceOfSupplyInternalID) AS PMRPSupplyGroupSourceOfSupply,
  '0000000000' AS PMRPFlexibleConstraint,
  max(ReceiptInternalID) AS ReceiptInternalID,
  _PMRPSimulation.PMRPReferencePlan AS PMRPReferencePlan
FROM I_PMRPSimlnReceiptBucketBasic
;