P_RevProdAllocChkPerdOrdItm
Review Product Allocation Check Period Order Item
P_RevProdAllocChkPerdOrdItm is a Transactional CDS View that provides data about "Review Product Allocation Check Period Order Item" in SAP S/4HANA. It reads from 3 data sources (I_ProdAllocQuantityAssignment, I_ProdAllocTmpQtyAssignment, I_ProdAllocTmpQtyAssignment) and exposes 45 fields with key fields ProdAllocAssignedOrder, ProdAllocAssignedOrderItem, ProdAllocAssignedOrderType, CharcValueCombinationUUID, ProdAllocPerdStartUTCDateTime. Part of development package PAL_REVIEW_CHECK_RESULT.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdAllocQuantityAssignment | QuantityAssignment | from |
| I_ProdAllocTmpQtyAssignment | TmpQuantityAssignment | union_all |
| I_ProdAllocTmpQtyAssignment | TmpQuantityAssignmentNoOrder | union_all |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRPACPERORITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProdAllocAssignedOrder | |||
| KEY | ProdAllocAssignedOrderItem | |||
| KEY | ProdAllocAssignedOrderType | I_ProdAllocQuantityAssignment | ProdAllocAssignedOrderType | Order Type |
| KEY | CharcValueCombinationUUID | I_ProdAllocQuantityAssignment | CharcValueCombinationUUID | Characteristic Value Combination UUID |
| KEY | ProdAllocPerdStartUTCDateTime | I_ProdAllocQuantityAssignment | ProdAllocPerdStartUTCDateTime | Period Start Date Time |
| KEY | ProdAllocSqncConstraintUUID | I_ProdAllocQuantityAssignment | ProdAllocSqncConstraintUUID | Product Allocation Sequence Constraint UUID |
| ProdAllocPeriodStartTimeZone | I_ProdAllocQuantityAssignment | ProdAllocPeriodStartTimeZone | Period Start Time Zone | |
| ProdAllocAssignedQuantity | I_ProdAllocQuantityAssignment | ProdAllocAssignedQuantity | Assigned Quantity | |
| ProdAllocCnsmdQtyInCnsmpnUnit | ||||
| ProductAllocationRate | ||||
| ProdAllocAssignedQuantityUnit | I_ProdAllocQuantityAssignment | ProdAllocAssignedQuantityUnit | Assigned Quantity Unit | |
| ProdAllocQtyAssgmtIsTmp | ||||
| ATPCheckUUID | Check ID | |||
| Material | SalesDocItem | Material | Vehicle Model | |
| BaseUnit | Assigned Quantity Unit | |||
| KEY | ProdAllocAssignedOrderItem | |||
| KEY | ProdAllocAssignedOrderType | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedOrderType | Order Type |
| KEY | CharcValueCombinationUUID | I_ProdAllocTmpQtyAssignment | CharcValueCombinationUUID | Characteristic Value Combination UUID |
| KEY | ProdAllocPerdStartUTCDateTime | I_ProdAllocTmpQtyAssignment | ProdAllocPerdStartUTCDateTime | Period Start Date Time |
| KEY | ProdAllocSqncConstraintUUID | I_ProdAllocTmpQtyAssignment | ProdAllocSqncConstraintUUID | Product Allocation Sequence Constraint UUID |
| ProdAllocPeriodStartTimeZone | I_ProdAllocTmpQtyAssignment | ProdAllocPeriodStartTimeZone | Period Start Time Zone | |
| ProdAllocAssignedQuantity | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantity | Assigned Quantity | |
| ProdAllocCnsmdQtyInCnsmpnUnit | ||||
| ProductAllocationRate | ||||
| ProdAllocAssignedQuantityUnit | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantityUnit | Assigned Quantity Unit | |
| ProdAllocQtyAssgmtIsTmp | ||||
| ATPCheckUUID | I_ProdAllocTmpQtyAssignment | TransactionUUID | Check ID | |
| Material | SalesDocItem | Material | Vehicle Model | |
| BaseUnit | Assigned Quantity Unit | |||
| KEY | ProdAllocAssignedOrderItem | |||
| KEY | ProdAllocAssignedOrderType | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedOrderType | Order Type |
| KEY | CharcValueCombinationUUID | I_ProdAllocTmpQtyAssignment | CharcValueCombinationUUID | Characteristic Value Combination UUID |
| KEY | ProdAllocPerdStartUTCDateTime | I_ProdAllocTmpQtyAssignment | ProdAllocPerdStartUTCDateTime | Period Start Date Time |
| KEY | ProdAllocSqncConstraintUUID | I_ProdAllocTmpQtyAssignment | ProdAllocSqncConstraintUUID | Product Allocation Sequence Constraint UUID |
| ProdAllocPeriodStartTimeZone | I_ProdAllocTmpQtyAssignment | ProdAllocPeriodStartTimeZone | Period Start Time Zone | |
| ProdAllocAssignedQuantity | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantity | Assigned Quantity | |
| ProdAllocCnsmdQtyInCnsmpnUnit | ||||
| ProductAllocationRate | ||||
| ProdAllocAssignedQuantityUnit | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantityUnit | Assigned Quantity Unit | |
| ProdAllocSqncConsumptionUnit | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantityUnit | Assigned Quantity Unit | |
| ProdAllocQtyAssgmtIsTmp | ||||
| ATPCheckUUID | I_ProdAllocTmpQtyAssignment | TransactionUUID | Check ID | |
| Material | Vehicle Model | |||
| BaseUnit | I_ProdAllocTmpQtyAssignment | ProdAllocAssignedQuantityUnit | Assigned Quantity Unit | |
| HigherLevelItem |
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_RevProdAllocChkPerdOrdItm.
-- 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: PRPACPERORITM
CREATE VIEW P_RevProdAllocChkPerdOrdItm AS
SELECT
cast(QuantityAssignment.ProdAllocAssignedOrder as revprodallocchkcorder preserving type ) AS ProdAllocAssignedOrder,
cast(QuantityAssignment.ProdAllocAssignedOrderItem as revprodallocchkcorderitem preserving type ) AS ProdAllocAssignedOrderItem,
QuantityAssignment.ProdAllocAssignedOrderType AS ProdAllocAssignedOrderType,
QuantityAssignment.CharcValueCombinationUUID AS CharcValueCombinationUUID,
QuantityAssignment.ProdAllocPerdStartUTCDateTime AS ProdAllocPerdStartUTCDateTime,
QuantityAssignment.ProdAllocSqncConstraintUUID AS ProdAllocSqncConstraintUUID,
QuantityAssignment.ProdAllocPeriodStartTimeZone AS ProdAllocPeriodStartTimeZone,
QuantityAssignment.ProdAllocAssignedQuantity AS ProdAllocAssignedQuantity,
cast(division(cast( QuantityAssignment.ProdAllocAssignedQuantity as revprodallocchkconsumption preserving type),QuantityAssignment._ProdAllocSequenceConstraint.ProductAllocationRate,3) as revprodallocchkconsumption ) AS ProdAllocCnsmdQtyInCnsmpnUnit,
QuantityAssignment._ProdAllocSequenceConstraint.ProductAllocationRate AS ProductAllocationRate,
QuantityAssignment.ProdAllocAssignedQuantityUnit AS ProdAllocAssignedQuantityUnit,
cast('' as prodallocqtyassgmtistmp preserving type ) AS ProdAllocQtyAssgmtIsTmp,
cast( hextobin('00000000000000000000000000000000') as atp_cid preserving type ) AS ATPCheckUUID,
SalesDocItem.Material AS Material,
SalesDocItem._Material.MaterialBaseUnit AS BaseUnit,
TmpQuantityAssignmentNoOrder.ProdAllocAssignedQuantityUnit AS ProdAllocSqncConsumptionUnit,
cast('' as uepos) AS HigherLevelItem
FROM I_ProdAllocQuantityAssignment AS QuantityAssignment
-- UNION ALL with additional select branch(es): I_ProdAllocTmpQtyAssignment, I_ProdAllocTmpQtyAssignment
;
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