P_ContrAllocVolSecdryProd
Private view for CA Volumes for Primary Products
P_ContrAllocVolSecdryProd is a Composite CDS View that provides data about "Private view for CA Volumes for Primary Products" in SAP S/4HANA. It reads from 2 data sources (I_ContrAllocVolSecdryProdMP, I_ContrAllocVolSecdryProdWC) and exposes 58 fields with key fields Material, PRAContract, DeliveryNetwork, MeasurementPoint, Well. Part of development package OIU_VDM_CDS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ContrAllocVolSecdryProdMP | I_ContrAllocVolSecdryProdMP | union_all |
| I_ContrAllocVolSecdryProdWC | I_ContrAllocVolSecdryProdWC | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PPVCAVOLSECDRY | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | PRAContract | PRAContract | Contract | |
| KEY | DeliveryNetwork | DeliveryNetwork | Delivery network ID | |
| KEY | MeasurementPoint | Measurement Pt | ||
| KEY | Well | Well | Well | |
| KEY | WellCompletion | WellCompletion | Well Completion | |
| KEY | OwnerInterestType | OwnerInterestType | Opart int type | |
| KEY | PRAOwner | PRAOwner | Owner Number | |
| KEY | OriginatingMeasurementPt | OriginatingMeasurementPt | Originating MP | |
| KEY | OwnerInterestSequence | OwnerInterestSequence | Own. ISQ | |
| KEY | SalesDate | SalesDate | Sales Date | |
| KEY | Transporter | Transporter | Partner | |
| KEY | IsLeaseOrPlant | Lease plt cd | ||
| VolumeUnit | VolumeUnit | Volume Unit | ||
| HeatingValUnit | HeatingValUnit | HV Unit | ||
| EnergyUnit | EnergyUnit | UoM | ||
| VolReducnUnit | VolReducnUnit | |||
| EnergyReducnUnit | EnergyReducnUnit | |||
| ActualVolume | ActualVolume | Actual Volume | ||
| HeatingValue | HeatingValue | Heat.val.factor | ||
| ActualEnergy | ActualEnergy | Energy | ||
| EntitledVolume | EntitledVolume | Ent. Ct. Volume | ||
| EntitledEnergy | EntitledEnergy | Ent Energy | ||
| ActualVolReducn | ActualVolReducn | Plant vol red | ||
| ActualEnergyReducn | ActualEnergyReducn | Owner PTR | ||
| EntitledVolReducn | EntitledVolReducn | Owner PVR | ||
| EntitledEngyReducn | EntitledEngyReducn | Owner PTR | ||
| OriginTransaction | OriginTransaction | |||
| CreatedByUser | CreatedByUser | User Name | ||
| KEY | PRAContract | PRAContract | Contract | |
| KEY | DeliveryNetwork | DeliveryNetwork | Delivery network ID | |
| KEY | MeasurementPoint | MeasurementPoint | Measurement Pt | |
| KEY | Well | Well | ||
| KEY | WellCompletion | Well Completion | ||
| KEY | OwnerInterestType | OwnerInterestType | Opart int type | |
| KEY | PRAOwner | PRAOwner | Owner Number | |
| KEY | OriginatingMeasurementPt | OriginatingMeasurementPt | Originating MP | |
| KEY | OwnerInterestSequence | OwnerInterestSequence | Own. ISQ | |
| KEY | SalesDate | SalesDate | Sales Date | |
| KEY | Transporter | Transporter | Partner | |
| KEY | IsLeaseOrPlant | IsLeaseOrPlant | Lease plt cd | |
| VolumeUnit | VolumeUnit | Volume Unit | ||
| HeatingValUnit | HeatingValUnit | HV Unit | ||
| EnergyUnit | EnergyUnit | UoM | ||
| VolReducnUnit | VolReducnUnit | |||
| EnergyReducnUnit | EnergyReducnUnit | |||
| ActualVolume | ActualVolume | Actual Volume | ||
| HeatingValue | HeatingValue | Heat.val.factor | ||
| ActualEnergy | ActualEnergy | Energy | ||
| EntitledVolume | EntitledVolume | Ent. Ct. Volume | ||
| EntitledEnergy | EntitledEnergy | Ent Energy | ||
| ActualVolReducn | ActualVolReducn | Plant vol red | ||
| ActualEnergyReducn | ActualEnergyReducn | Owner PTR | ||
| EntitledVolReducn | EntitledVolReducn | Owner PVR | ||
| EntitledEngyReducn | EntitledEngyReducn | Owner PTR | ||
| OriginTransaction | OriginTransaction | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp |
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_ContrAllocVolSecdryProd.
-- 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: PPVCAVOLSECDRY
CREATE VIEW P_ContrAllocVolSecdryProd AS
SELECT
Material,
PRAContract,
DeliveryNetwork,
cast ( '' as oiu_mp_no ) AS MeasurementPoint,
Well,
WellCompletion,
OwnerInterestType,
PRAOwner,
OriginatingMeasurementPt,
OwnerInterestSequence,
SalesDate,
Transporter,
cast( 'L' as oiu_lse_plt_cd ) AS IsLeaseOrPlant,
VolumeUnit,
HeatingValUnit,
EnergyUnit,
VolReducnUnit,
EnergyReducnUnit,
ActualVolume,
HeatingValue,
ActualEnergy,
EntitledVolume,
EntitledEnergy,
ActualVolReducn,
ActualEnergyReducn,
EntitledVolReducn,
EntitledEngyReducn,
OriginTransaction,
CreatedByUser,
CreationDateTime
FROM I_ContrAllocVolSecdryProdWC
-- UNION ALL with additional select branch(es): I_ContrAllocVolSecdryProdMP
;
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