P_PMRPOutpQtyByBucketPrdSupKPI
Quantities by Bucket, Product and SGroup for Constraint
P_PMRPOutpQtyByBucketPrdSupKPI is a Composite CDS View that provides data about "Quantities by Bucket, Product and SGroup for Constraint" 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. Part of development package PMRP_ENGINE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PMRPOutpQtyByBucketPrdSupply | P_PMRPOutpQtyByBucketPrdSupply | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | P_PMRPFlexibleConstraintPeriod | _FlexCon | _FlexCon.PMRPSimulation = $projection.PMRPSimulation and _FlexCon.PMRPFlexibleConstraint = $projection.PMRPFlexibleConstraint and _FlexCon.BucketInternalID = $projection.BucketInternalID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 |
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.
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,
P_PMRPOutpQtyByBucketPrdSupply._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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA