A_PRADivnOfIntrstOwner
PRA DOI Owner Information
A_PRADivnOfIntrstOwner is a Consumption CDS View that provides data about "PRA DOI Owner Information" in SAP S/4HANA. It reads from 1 data source (I_PRADivnOfIntrstOwner) and exposes 54 fields with key fields CompanyCode, PRAJointVenture, DivisionOfInterest, PRACustomerSupplierCode, PRAOwner. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PRADivnOfIntrstOwner | I_PRADivnOfIntrstOwner | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PrimaryGeogrlLocationText | _PrimaryGeogrlLocationText | _PrimaryGeogrlLocationText.Country = $projection.Country and _PrimaryGeogrlLocationText.PrimaryGeogrlLocation = $projection.PrimaryGeogrlLocation and _PrimaryGeogrlLocationText.Language = $session.system_language |
| [0..1] | I_SecondaryGeogrlLocationT | _SecondaryGeogrlLocationT | _SecondaryGeogrlLocationT.Country = $projection.Country and _SecondaryGeogrlLocationT.PrimaryGeogrlLocation = $projection.PrimaryGeogrlLocation and _SecondaryGeogrlLocationT.SecondaryGeogrlLocation = $projection.SecondaryGeogrlLocation and _SecondaryGeogrlLocationT.Language = $session.system_language |
| [0..1] | I_CountryText | _CountryText | _CountryText.Country = $projection.Country and _CountryText.Language = $session.system_language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | PRA DOI Owner Information | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | PRAJointVenture | PRAJointVenture | Ext vent name | |
| KEY | DivisionOfInterest | DivisionOfInterest | Venture/DOI | |
| KEY | PRACustomerSupplierCode | PRACustomerSupplierCode | Ocust vend cd | |
| KEY | PRAOwner | PRAOwner | Owner Number | |
| KEY | OwnerInterestType | OwnerInterestType | Opart int type | |
| KEY | OwnerInterestSequence | OwnerInterestSequence | Own. ISQ | |
| KEY | DOIOwnerEffectiveFromDate | DOIOwnerEffectiveFromDate | Effective From Date | |
| PRAJointVentureName | PRAJointVentureName | |||
| Country | Country | Venue: Ctry/Reg | ||
| CountryName | _CountryText | CountryName | Country | |
| PrimaryGeogrlLocation | PrimaryGeogrlLocation | |||
| PrimaryGeogrlLocationName | _PrimaryGeogrlLocationText | PrimaryGeogrlLocationName | ||
| SecondaryGeogrlLocation | SecondaryGeogrlLocation | |||
| SecondaryGeogrlLocationName | _SecondaryGeogrlLocationT | SecondaryGeogrlLocationName | ||
| DivisionOfInterestName | DivisionOfInterestName | |||
| DOIOwnerEffectiveToDate | DOIOwnerEffectiveToDate | Effective To Date | ||
| PRADivisionOfInterestNmbr | PRADivisionOfInterestNmbr | Div.int.no | ||
| OwnerIsJntIntrstBilgEnabled | OwnerIsJntIntrstBilgEnabled | JIB Offset | ||
| NetRevenueInterestRatio | NetRevenueInterestRatio | NRI | ||
| SuspenseReason | SuspenseReason | Suspense Reason | ||
| SuspenseReasonName | SuspenseReasonName | |||
| TaxBasis | TaxBasis | Tax Free | ||
| TaxBasisName | TaxBasisName | |||
| PRABearerGroup | PRABearerGroup | Bearer Group | ||
| PRAPayoutCode | PRAPayoutCode | Payout Code | ||
| OwnerPaymentStatus | OwnerPaymentStatus | Pay Code | ||
| OwnerPaymentStatusName | OwnerPaymentStatusName | |||
| PRAEntitlementCode | PRAEntitlementCode | Entitlement CD | ||
| DOIOwnerIsSlidingScEnbld | DOIOwnerIsSlidingScEnbld | Sliding Scale | ||
| DOIOwnerIsPctOfProceedsEnbld | DOIOwnerIsPctOfProceedsEnbld | MMS Proceeds = | ||
| DOIOwnerIsDualAcctgEnbld | DOIOwnerIsDualAcctgEnbld | Dual Acct Fl | ||
| PRALegalForm | PRALegalForm | Entity Type | ||
| PRALegalFormName | PRALegalFormName | |||
| DOIOwnerHasAcctgEntrOvrrde | DOIOwnerHasAcctgEntrOvrrde | Acct. Override | ||
| OwnerInterestCategory | OwnerInterestCategory | Interest Cat. | ||
| DOIOwnerMinRoyaltyDate | DOIOwnerMinRoyaltyDate | Min. Royalty Dt. | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DOIOwnerMinRoyaltyAmount | DOIOwnerMinRoyaltyAmount | Min. Royalty Am. | ||
| DOIOwnerAdvncArrearsPaytCode | DOIOwnerAdvncArrearsPaytCode | Adv. Arrears | ||
| DOIOwnerCarriedBearerGrpCode | DOIOwnerCarriedBearerGrpCode | Carried Bearer | ||
| DOIOwnerLeaseUsePaytCode | DOIOwnerLeaseUsePaytCode | Lease Use Fuel | ||
| JntIntrstBilgPartner | JntIntrstBilgPartner | JIB Partner | ||
| DOIOwnerProdnPaytOwner | DOIOwnerProdnPaytOwner | Prod. Pay. Own. | ||
| DOIOwnrHasTakeInKindContrExprd | DOIOwnrHasTakeInKindContrExprd | MMS Reconcile | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| DOIOwnerHasSettlmtDiversity | DOIOwnerHasSettlmtDiversity | Set Div | ||
| DOIOwnerLeaseID | DOIOwnerLeaseID | Lease ID | ||
| DOIOwnerNetMineralAcresVal | DOIOwnerNetMineralAcresVal | Net Mineral Acres | ||
| GrossRevenueInterestRatio | GrossRevenueInterestRatio | GRI | ||
| OwnerAttributeGroup | OwnerAttributeGroup | Attribute Group | ||
| DynSettlmtDiversityInstrn | DynSettlmtDiversityInstrn | DSD Instruction | ||
| DOIOwnerRecdTitleBearerGrp | DOIOwnerRecdTitleBearerGrp | Record Title BG |
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 A_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 A_PRADivnOfIntrstOwner AS
SELECT
CompanyCode,
PRAJointVenture,
DivisionOfInterest,
PRACustomerSupplierCode,
PRAOwner,
OwnerInterestType,
OwnerInterestSequence,
DOIOwnerEffectiveFromDate,
PRAJointVentureName,
Country,
_CountryText.CountryName AS CountryName,
PrimaryGeogrlLocation,
_PrimaryGeogrlLocationText.PrimaryGeogrlLocationName AS PrimaryGeogrlLocationName,
SecondaryGeogrlLocation,
_SecondaryGeogrlLocationT.SecondaryGeogrlLocationName AS SecondaryGeogrlLocationName,
DivisionOfInterestName,
DOIOwnerEffectiveToDate,
PRADivisionOfInterestNmbr,
OwnerIsJntIntrstBilgEnabled,
NetRevenueInterestRatio,
SuspenseReason,
SuspenseReasonName,
TaxBasis,
TaxBasisName,
PRABearerGroup,
PRAPayoutCode,
OwnerPaymentStatus,
OwnerPaymentStatusName,
PRAEntitlementCode,
DOIOwnerIsSlidingScEnbld,
DOIOwnerIsPctOfProceedsEnbld,
DOIOwnerIsDualAcctgEnbld,
PRALegalForm,
PRALegalFormName,
DOIOwnerHasAcctgEntrOvrrde,
OwnerInterestCategory,
DOIOwnerMinRoyaltyDate,
CompanyCodeCurrency,
DOIOwnerMinRoyaltyAmount,
DOIOwnerAdvncArrearsPaytCode,
DOIOwnerCarriedBearerGrpCode,
DOIOwnerLeaseUsePaytCode,
JntIntrstBilgPartner,
DOIOwnerProdnPaytOwner,
DOIOwnrHasTakeInKindContrExprd,
CreatedByUser,
CreationDateTime,
DOIOwnerHasSettlmtDiversity,
DOIOwnerLeaseID,
DOIOwnerNetMineralAcresVal,
GrossRevenueInterestRatio,
OwnerAttributeGroup,
DynSettlmtDiversityInstrn,
DOIOwnerRecdTitleBearerGrp
FROM I_PRADivnOfIntrstOwner
LEFT OUTER JOIN I_PrimaryGeogrlLocationText AS _PrimaryGeogrlLocationText ON _PrimaryGeogrlLocationText.Country = Country AND _PrimaryGeogrlLocationText.PrimaryGeogrlLocation = PrimaryGeogrlLocation AND _PrimaryGeogrlLocationText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SecondaryGeogrlLocationT AS _SecondaryGeogrlLocationT ON _SecondaryGeogrlLocationT.Country = Country AND _SecondaryGeogrlLocationT.PrimaryGeogrlLocation = PrimaryGeogrlLocation AND _SecondaryGeogrlLocationT.SecondaryGeogrlLocation = SecondaryGeogrlLocation AND _SecondaryGeogrlLocationT.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON _CountryText.Country = Country AND _CountryText.Language = $session.system_language -- 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