P_PMRPOutpQtyByBucketPrdSupKPI

DDL: P_PMRPOUTPQTYBYBUCKETPRDSUPKPI SQL: PMRPBUCKSUPPRDK Type: view COMPOSITE

P_PMRPOutpQtyByBucketPrdSupKPI is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_PMRPOutpQtyByBucketPrdSupply) and exposes 21 fields with key fields PMRPSimulation, PMRPFlxblCstrtProductGroup, Product, Plant, MRPArea. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_PMRPOutpQtyByBucketPrdSupply P_PMRPOutpQtyByBucketPrdSupply from

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_PMRPFlexibleConstraintPeriod _FlexCon _FlexCon.PMRPSimulation = $projection.PMRPSimulation and _FlexCon.PMRPFlexibleConstraint = $projection.PMRPFlexibleConstraint and _FlexCon.BucketInternalID = $projection.BucketInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMRPBUCKSUPPRDK 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 (21)

KeyFieldSource TableSource FieldDescription
KEY PMRPSimulation PMRPSimulation Simulation ID
KEY PMRPFlxblCstrtProductGroup PMRPFlxblCstrtProductGroup
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY BucketInternalID BucketInternalID Bucket ID
KEY PMRPSupplyGroup PMRPSupplyGroup Supply Group
KEY PMRPSupplyGroupCategory PMRPSupplyGroupCategory Supply Group Cat
PMRPFlexibleConstraint PMRPFlexibleConstraint Constraints ID
PMRPSourceOfSupplyInternalID PMRPSourceOfSupplyInternalID Source of Supply ID
PMRPConstraintBaseUnit PMRPConstraintBaseUnit
PMRPRcptBcktQtyInCstrtUnit PMRPRcptBcktQtyInCstrtUnit
UnitOfMeasure PMRPConstraintBaseUnit
PMRPReceiptBucketQuantity PMRPRcptBcktQtyInCstrtUnit
PMRPConstraintQtyWithTolerance _FlexCon PMRPConstraintQtyWithTolerance
PMRPConstraintTolerancePercent _FlexCon PMRPConstraintTolerancePercent
PMRPConstraintQtyInBaseUnit _FlexCon PMRPConstraintQtyInBaseUnit
PMRPConstraintIsDisregarded _FlexCon PMRPConstraintIsDisregarded
PMRPConstraintType _FlexCon PMRPConstraintType
PMRPConstraintCategory _FlexCon PMRPConstraintCategory
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_PMRPOutpQtyByBucketPrdSupKPI.
-- 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: PMRPBUCKSUPPRDK

CREATE VIEW P_PMRPOutpQtyByBucketPrdSupKPI AS
SELECT
  PMRPSimulation,
  PMRPFlxblCstrtProductGroup,
  Product,
  Plant,
  MRPArea,
  BucketInternalID,
  PMRPSupplyGroup,
  PMRPSupplyGroupCategory,
  PMRPFlexibleConstraint,
  PMRPSourceOfSupplyInternalID,
  PMRPConstraintBaseUnit,
  PMRPRcptBcktQtyInCstrtUnit,
  PMRPConstraintBaseUnit AS UnitOfMeasure,
  PMRPRcptBcktQtyInCstrtUnit AS PMRPReceiptBucketQuantity,
  _FlexCon.PMRPConstraintQtyWithTolerance AS PMRPConstraintQtyWithTolerance,
  _FlexCon.PMRPConstraintTolerancePercent AS PMRPConstraintTolerancePercent,
  _FlexCon.PMRPConstraintQtyInBaseUnit AS PMRPConstraintQtyInBaseUnit,
  _FlexCon.PMRPConstraintIsDisregarded AS PMRPConstraintIsDisregarded,
  _FlexCon.PMRPConstraintType AS PMRPConstraintType,
  _FlexCon.PMRPConstraintCategory AS PMRPConstraintCategory,
  _PMRPSimulation.PMRPReferencePlan AS PMRPReferencePlan
FROM P_PMRPOutpQtyByBucketPrdSupply
LEFT OUTER JOIN P_PMRPFlexibleConstraintPeriod AS _FlexCon ON _FlexCon.PMRPSimulation = PMRPSimulation AND _FlexCon.PMRPFlexibleConstraint = PMRPFlexibleConstraint AND _FlexCon.BucketInternalID = BucketInternalID  -- association [0..1]
;