I_PRATstBslnEntldSecdryProd
PRA TV- Entld Secdry Actual Vols
I_PRATstBslnEntldSecdryProd is a Basic CDS View that provides data about "PRA TV- Entld Secdry Actual Vols" in SAP S/4HANA. It reads from 1 data source (oiutv_sb_rnewc_b) and exposes 24 fields with key fields PRATstAllocVersion, DeliveryNetwork, Well, WellCompletion, Material. Part of development package OIU_TV.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiutv_sb_rnewc_b | oiutv_sb_rnewc_b | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRATSTBESP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | PRA TV- Entld Secdry Actual Vols | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PRATstAllocVersion | ca_version_id | VERSION_ID | |
| KEY | DeliveryNetwork | dn_no | Delivery network ID | |
| KEY | Well | wl_no | Well | |
| KEY | WellCompletion | wc_no | Well Completion | |
| KEY | Material | matnr | Vehicle Model | |
| KEY | VolumeType | vt_cd | Volume Type | |
| KEY | SalesDate | sa_dt | Sales Date | |
| KEY | PRAOwner | own_no | Owner Number | |
| KEY | OwnerInterestType | own_int_type_cd | Opart int type | |
| KEY | OwnerInterestSequence | own_isq_no | Own. ISQ | |
| VolumeUnit | entl_vol_u | Unit | ||
| EntitledVolume | entl_vol | Entl. Vol. | ||
| HeatingValUnit | heat_val_u | HV Unit | ||
| EnergyUnit | energy_u | UoM | ||
| EntitledEnergy | entl_energy | Energy | ||
| GrossRevenueInterestRatio | gri_pc | GRI | ||
| LeaseSalesVolumeInVolUnit | lse_vol | Lse Vol | ||
| PRAContract | ct_no | Contract | ||
| BaselineMarketingRep | mk_rep_no | Marketing Rep | ||
| BslnMktRepIntrstSequNmbr | mk_rep_isq_no | Mkt. Rep. ISQ | ||
| AdjdGrossRevenueInterestRatio | adj_gri_pc | Adjusted GRI | ||
| CreatedByUser | oiu_cruser | Created By | ||
| CreationDateTime | oiu_timestamp | Timestamp | ||
| SequenceNumber |
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 I_PRATstBslnEntldSecdryProd.
-- 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: IPRATSTBESP
CREATE VIEW I_PRATstBslnEntldSecdryProd AS
SELECT
ca_version_id AS PRATstAllocVersion,
dn_no AS DeliveryNetwork,
wl_no AS Well,
wc_no AS WellCompletion,
matnr AS Material,
vt_cd AS VolumeType,
sa_dt AS SalesDate,
own_no AS PRAOwner,
own_int_type_cd AS OwnerInterestType,
own_isq_no AS OwnerInterestSequence,
entl_vol_u AS VolumeUnit,
entl_vol AS EntitledVolume,
heat_val_u AS HeatingValUnit,
energy_u AS EnergyUnit,
entl_energy AS EntitledEnergy,
gri_pc AS GrossRevenueInterestRatio,
lse_vol AS LeaseSalesVolumeInVolUnit,
ct_no AS PRAContract,
mk_rep_no AS BaselineMarketingRep,
mk_rep_isq_no AS BslnMktRepIntrstSequNmbr,
adj_gri_pc AS AdjdGrossRevenueInterestRatio,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime,
cast( '001' as abap.numc(3) ) AS SequenceNumber
FROM oiutv_sb_rnewc_b
;
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