I_PRADivnOfIntrstOwner
PRA DOI Owner Information
I_PRADivnOfIntrstOwner is a Basic CDS View that provides data about "PRA DOI Owner Information" in SAP S/4HANA. It reads from 1 data source (oiu_do_do) and exposes 70 fields with key fields CompanyCode, PRAJointVenture, DivisionOfInterest, PRACustomerSupplierCode, PRAOwner. It has 18 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_do_do | oiu_do_do | from |
Associations (18)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_PRAJointVenture | _PRAJointVenture | $projection.PRAJointVenture = _PRAJointVenture.PRAJointVenture and $projection.CompanyCode = _PRAJointVenture.CompanyCode |
| [1..1] | I_PRACustomerSupplierCodeVH | _PRACustomerSupplierCodeVH | $projection.PRACustomerSupplierCode = _PRACustomerSupplierCodeVH.PRACustomerSupplierCode |
| [0..1] | I_PRAOwnerDetail | _PRAOwner | $projection.PRAOwner = _PRAOwner.PRAOwner |
| [1..1] | I_OwnerInterestType | _OwnerInterestType | $projection.OwnerInterestType = _OwnerInterestType.OwnerInterestType |
| [1..1] | I_SuspenseReasonText | _SuspenseReason | $projection.SuspenseReason = _SuspenseReason.SuspenseReason and _SuspenseReason.Language = $session.system_language |
| [1..1] | I_TaxBasisText | _TaxBasis | $projection.TaxBasis = _TaxBasis.TaxBasis and _TaxBasis.Language = $session.system_language |
| [1..1] | I_PRAPayOutCodeVH | _PRAPayOutCodeVH | $projection.PRAPayoutCode = _PRAPayOutCodeVH.PRAPayoutCode |
| [1..1] | I_OwnerPaymentStatusText | _OwnerPaymentStatus | $projection.OwnerPaymentStatus = _OwnerPaymentStatus.OwnerPaymentStatus and _OwnerPaymentStatus.Language = $session.system_language |
| [1..1] | I_PRAEntitlementCodeVH | _PRAEntitlementCodeVH | $projection.PRAEntitlementCode = _PRAEntitlementCodeVH.PRAEntitlementCode |
| [1..1] | I_PRALegalFormText | _PRALegalForm | $projection.PRALegalForm = _PRALegalForm.PRALegalForm and _PRALegalForm.Language = $session.system_language |
| [1..1] | I_OwnerInterestCategory | _OwnerInterestCategory | $projection.OwnerInterestCategory = _OwnerInterestCategory.OwnerInterestCategory |
| [1..1] | I_Currency | _Currency | $projection.CompanyCodeCurrency = _Currency.Currency |
| [1..1] | I_OwnrAdvncArrearsPaytCodeVH | _OwnrAdvncArrearsPaytCodeVH | $projection.DOIOwnerAdvncArrearsPaytCode = _OwnrAdvncArrearsPaytCodeVH.DOIOwnerAdvncArrearsPaytCode |
| [1..1] | I_PRAPayOnLeaseUseFuelCodeVH | _PayOnLeaseUseFuelCodeVH | $projection.DOIOwnerLeaseUsePaytCode = _PayOnLeaseUseFuelCodeVH.DOIOwnerLeaseUsePaytCode |
| [0..*] | I_OwnerAttributeGroup | _OwnerAttributeGroup | $projection.OwnerAttributeGroup = _OwnerAttributeGroup.OwnerAttributeGroup |
| [0..1] | I_PRADivisionOrderLease | _PRADivisionOrderLease | $projection.DOIOwnerLeaseID = _PRADivisionOrderLease.DOIOwnerLeaseID |
| [1..1] | I_DivisionOfInterest | _DivisionOfInterest | $projection.CompanyCode = _DivisionOfInterest.CompanyCode and $projection.PRAJointVenture = _DivisionOfInterest.JointVenture and $projection.DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | PRA DOI Owner Information | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs | Value | |
| KEY | PRAJointVenture | vname | Volatility Name | |
| KEY | DivisionOfInterest | doi_no | Venture/DOI | |
| KEY | PRACustomerSupplierCode | cust_vend_cd | Ocust vend cd | |
| KEY | PRAOwner | own_no | Owner Number | |
| KEY | OwnerInterestType | own_int_type_cd | Opart int type | |
| KEY | OwnerInterestSequence | own_isq_no | Own. ISQ | |
| KEY | DOIOwnerEffectiveFromDate | eff_from_dt | Effective From Date | |
| PRAOwnerFullName | _PRAOwner | PRAOwnerFullName | ||
| PRAJointVentureName | _PRAJointVenture | PRAJointVentureName | ||
| Country | _PRAJointVenture | Country | Venue: Ctry/Reg | |
| PrimaryGeogrlLocation | _PRAJointVenture | PrimaryGeogrlLocation | ||
| SecondaryGeogrlLocation | _PRAJointVenture | SecondaryGeogrlLocation | ||
| DivisionOfInterestName | _DivisionOfInterest | DivisionOfInterestName | ||
| DOIOwnerEffectiveToDate | eff_to_dt | Effective To Date | ||
| PRADivisionOfInterestNmbr | do_no | Div.int.no | ||
| OwnerIsJntIntrstBilgEnabled | jib_offs_fl | JIB Offset | ||
| NetRevenueInterestRatio | nri_pc | NRI | ||
| SuspenseReason | susp_cd | Suspense Reason | ||
| SuspenseReasonName | _SuspenseReason | SuspenseReasonName | ||
| TaxBasis | tax_free_cd | Tax Free | ||
| TaxBasisName | _TaxBasis | TaxBasisName | ||
| PRABearerGroup | bg_no | Bearer Group | ||
| PRAPayoutCode | pyout_cd | Payout Code | ||
| OwnerPaymentStatus | pay_cd | Pay Code | ||
| OwnerPaymentStatusName | _OwnerPaymentStatus | OwnerPaymentStatusName | ||
| PRAEntitlementCode | entl_cd | Entitlement CD | ||
| DOIOwnerIsSlidingScEnbld | ssc_fl | Sliding Scale | ||
| DOIOwnerIsPctOfProceedsEnbld | mms_pop_comp_fl | MMS Proceeds = | ||
| DOIOwnerIsDualAcctgEnbld | dual_acct_fl | Dual Acct Fl | ||
| PRALegalForm | enty_cd | Entity Type | ||
| PRALegalFormName | _PRALegalForm | PRALegalFormName | ||
| DOIOwnerHasAcctgEntrOvrrde | acct_ent_fl | Acct. Override | ||
| OwnerInterestCategory | int_cat_cd | Interest Cat. | ||
| DOIOwnerMinRoyaltyDate | min_roy_dt | Min. Royalty Dt. | ||
| CompanyCodeCurrency | do_curr | Currency | ||
| DOIOwnerMinRoyaltyAmount | min_roy_am | Min. Royalty Am. | ||
| DOIOwnerAdvncArrearsPaytCode | adv_arrs_cd | Adv. Arrears | ||
| DOIOwnerCarriedBearerGrpCode | carr_bg_cd | Carried Bearer | ||
| DOIOwnerLeaseUsePaytCode | lse_use_pmt_cd | Lease Use Fuel | ||
| JntIntrstBilgPartner | jib_partn | JIB Partner | ||
| DOIOwnerProdnPaytOwner | pp_kunnr | Prod. Pay. Own. | ||
| DOIOwnrHasTakeInKindContrExprd | mms_recon_fl | MMS Reconcile | ||
| CreatedByUser | oiu_cruser | Created By | ||
| CreationDateTime | oiu_timestamp | Timestamp | ||
| DOIOwnerHasSettlmtDiversity | set_div | Set Div | ||
| DOIOwnerLeaseID | lease_id | Lease ID | ||
| DOIOwnerNetMineralAcresVal | net_mineral_acres | Net Mineral Acres | ||
| GrossRevenueInterestRatio | gri_pc | GRI | ||
| OwnerAttributeGroup | oag_id | Attribute Group | ||
| DynSettlmtDiversityInstrn | dsd_instr | DSD Instruction | ||
| DOIOwnerRecdTitleBearerGrp | rt_bg_no | Record Title BG | ||
| Associations_CompanyCode | ||||
| _PRAJointVenture | _PRAJointVenture | |||
| _PRACustomerSupplierCodeVH | _PRACustomerSupplierCodeVH | |||
| _PRAOwner | _PRAOwner | |||
| _OwnerInterestType | _OwnerInterestType | |||
| _SuspenseReason | _SuspenseReason | |||
| _TaxBasis | _TaxBasis | |||
| _PRAPayOutCodeVH | _PRAPayOutCodeVH | |||
| _OwnerPaymentStatus | _OwnerPaymentStatus | |||
| _PRAEntitlementCodeVH | _PRAEntitlementCodeVH | |||
| _PRALegalForm | _PRALegalForm | |||
| _OwnerInterestCategory | _OwnerInterestCategory | |||
| _Currency | _Currency | |||
| _OwnrAdvncArrearsPaytCodeVH | _OwnrAdvncArrearsPaytCodeVH | |||
| _PayOnLeaseUseFuelCodeVH | _PayOnLeaseUseFuelCodeVH | |||
| _OwnerAttributeGroup | _OwnerAttributeGroup | |||
| _PRADivisionOrderLease | _PRADivisionOrderLease | |||
| _DivisionOfInterest | _DivisionOfInterest |
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_PRADivnOfIntrstOwner.
-- 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 I_PRADivnOfIntrstOwner AS
SELECT
bukrs AS CompanyCode,
vname AS PRAJointVenture,
doi_no AS DivisionOfInterest,
cust_vend_cd AS PRACustomerSupplierCode,
own_no AS PRAOwner,
own_int_type_cd AS OwnerInterestType,
own_isq_no AS OwnerInterestSequence,
eff_from_dt AS DOIOwnerEffectiveFromDate,
_PRAOwner.PRAOwnerFullName AS PRAOwnerFullName,
_PRAJointVenture.PRAJointVentureName AS PRAJointVentureName,
_PRAJointVenture.Country AS Country,
_PRAJointVenture.PrimaryGeogrlLocation AS PrimaryGeogrlLocation,
_PRAJointVenture.SecondaryGeogrlLocation AS SecondaryGeogrlLocation,
_DivisionOfInterest.DivisionOfInterestName AS DivisionOfInterestName,
eff_to_dt AS DOIOwnerEffectiveToDate,
do_no AS PRADivisionOfInterestNmbr,
jib_offs_fl AS OwnerIsJntIntrstBilgEnabled,
nri_pc AS NetRevenueInterestRatio,
susp_cd AS SuspenseReason,
_SuspenseReason.SuspenseReasonName AS SuspenseReasonName,
tax_free_cd AS TaxBasis,
_TaxBasis.TaxBasisName AS TaxBasisName,
bg_no AS PRABearerGroup,
pyout_cd AS PRAPayoutCode,
pay_cd AS OwnerPaymentStatus,
_OwnerPaymentStatus.OwnerPaymentStatusName AS OwnerPaymentStatusName,
entl_cd AS PRAEntitlementCode,
ssc_fl AS DOIOwnerIsSlidingScEnbld,
mms_pop_comp_fl AS DOIOwnerIsPctOfProceedsEnbld,
dual_acct_fl AS DOIOwnerIsDualAcctgEnbld,
enty_cd AS PRALegalForm,
_PRALegalForm.PRALegalFormName AS PRALegalFormName,
acct_ent_fl AS DOIOwnerHasAcctgEntrOvrrde,
int_cat_cd AS OwnerInterestCategory,
min_roy_dt AS DOIOwnerMinRoyaltyDate,
do_curr AS CompanyCodeCurrency,
min_roy_am AS DOIOwnerMinRoyaltyAmount,
adv_arrs_cd AS DOIOwnerAdvncArrearsPaytCode,
carr_bg_cd AS DOIOwnerCarriedBearerGrpCode,
lse_use_pmt_cd AS DOIOwnerLeaseUsePaytCode,
jib_partn AS JntIntrstBilgPartner,
pp_kunnr AS DOIOwnerProdnPaytOwner,
mms_recon_fl AS DOIOwnrHasTakeInKindContrExprd,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime,
set_div AS DOIOwnerHasSettlmtDiversity,
lease_id AS DOIOwnerLeaseID,
net_mineral_acres AS DOIOwnerNetMineralAcresVal,
gri_pc AS GrossRevenueInterestRatio,
oag_id AS OwnerAttributeGroup,
dsd_instr AS DynSettlmtDiversityInstrn,
rt_bg_no AS DOIOwnerRecdTitleBearerGrp
FROM oiu_do_do
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_PRAJointVenture AS _PRAJointVenture ON PRAJointVenture = _PRAJointVenture.PRAJointVenture AND CompanyCode = _PRAJointVenture.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_PRACustomerSupplierCodeVH AS _PRACustomerSupplierCodeVH ON PRACustomerSupplierCode = _PRACustomerSupplierCodeVH.PRACustomerSupplierCode -- association [1..1]
LEFT OUTER JOIN I_PRAOwnerDetail AS _PRAOwner ON PRAOwner = _PRAOwner.PRAOwner -- association [0..1]
LEFT OUTER JOIN I_OwnerInterestType AS _OwnerInterestType ON OwnerInterestType = _OwnerInterestType.OwnerInterestType -- association [1..1]
LEFT OUTER JOIN I_SuspenseReasonText AS _SuspenseReason ON SuspenseReason = _SuspenseReason.SuspenseReason AND _SuspenseReason.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_TaxBasisText AS _TaxBasis ON TaxBasis = _TaxBasis.TaxBasis AND _TaxBasis.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_PRAPayOutCodeVH AS _PRAPayOutCodeVH ON PRAPayoutCode = _PRAPayOutCodeVH.PRAPayoutCode -- association [1..1]
LEFT OUTER JOIN I_OwnerPaymentStatusText AS _OwnerPaymentStatus ON OwnerPaymentStatus = _OwnerPaymentStatus.OwnerPaymentStatus AND _OwnerPaymentStatus.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_PRAEntitlementCodeVH AS _PRAEntitlementCodeVH ON PRAEntitlementCode = _PRAEntitlementCodeVH.PRAEntitlementCode -- association [1..1]
LEFT OUTER JOIN I_PRALegalFormText AS _PRALegalForm ON PRALegalForm = _PRALegalForm.PRALegalForm AND _PRALegalForm.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_OwnerInterestCategory AS _OwnerInterestCategory ON OwnerInterestCategory = _OwnerInterestCategory.OwnerInterestCategory -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON CompanyCodeCurrency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN I_OwnrAdvncArrearsPaytCodeVH AS _OwnrAdvncArrearsPaytCodeVH ON DOIOwnerAdvncArrearsPaytCode = _OwnrAdvncArrearsPaytCodeVH.DOIOwnerAdvncArrearsPaytCode -- association [1..1]
LEFT OUTER JOIN I_PRAPayOnLeaseUseFuelCodeVH AS _PayOnLeaseUseFuelCodeVH ON DOIOwnerLeaseUsePaytCode = _PayOnLeaseUseFuelCodeVH.DOIOwnerLeaseUsePaytCode -- association [1..1]
LEFT OUTER JOIN I_OwnerAttributeGroup AS _OwnerAttributeGroup ON OwnerAttributeGroup = _OwnerAttributeGroup.OwnerAttributeGroup -- association [0..*]
LEFT OUTER JOIN I_PRADivisionOrderLease AS _PRADivisionOrderLease ON DOIOwnerLeaseID = _PRADivisionOrderLease.DOIOwnerLeaseID -- association [0..1]
LEFT OUTER JOIN I_DivisionOfInterest AS _DivisionOfInterest ON CompanyCode = _DivisionOfInterest.CompanyCode AND PRAJointVenture = _DivisionOfInterest.JointVenture AND DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest -- association [1..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