A_PRAMaintVentureHierNode
Joint Venture
A_PRAMaintVentureHierNode is a Consumption CDS View that provides data about "Joint Venture" in SAP S/4HANA. It reads from 1 data source (I_PRAMaintVenture) and exposes 30 fields with key fields CompanyCode, PRAJointVenture. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PRAMaintVenture | I_PRAMaintVenture | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_PRAMaintUnitVentureHierNode | _UnitVenture | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Joint Venture | view | |
| OData.entityType.name | Venture_Type | view | |
| OData.entitySet.name | Venture | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | PRAJointVenture | PRAJointVenture | Ext vent name | |
| PRAJointVentureInterestCode | PRAJointVentureInterestCode | Interest Code | ||
| PRAJointVentureName | PRAJointVentureName | Venture Name | ||
| PRAJointVentureDesc | PRAJointVentureDesc | Unit | ||
| PRAJointVentureStatus | PRAJointVentureStatus | PRA Venture Sta | ||
| PRAJointVentureStsEffctvDte | PRAJointVentureStsEffctvDte | Status Eff Date | ||
| Country | Country | Venue: Ctry/Reg | ||
| PrimaryGeogrlLocation | PrimaryGeogrlLocation | Primary geo.loc | ||
| SecondaryGeogrlLocation | SecondaryGeogrlLocation | Secndry geo.loc | ||
| PRAJointVentureAcquiredDate | ||||
| PRAJointVentureUsageType | PRAJointVentureUsageType | Usage Type | ||
| PRAJointVentureOldLeaseID | PRAJointVentureOldLeaseID | Old lease ID | ||
| JointVentureIsUnit | JointVentureIsUnit | Unit venture | ||
| PRAJointVentureHasDOIByTract | PRAJointVentureHasDOIByTract | DOI By Tract | ||
| PRAJntVntrIsSubjToDrillFund | PRAJntVntrIsSubjToDrillFund | Drill Fund | ||
| PRAJntVntrOnshoreOffshoreCode | PRAJntVntrOnshoreOffshoreCode | On/Offshore | ||
| PRAJointVentureAcquiredFrom | PRAJointVentureAcquiredFrom | Party Acq From | ||
| PRAJointVentureSoldTo | PRAJointVentureSoldTo | Party Sold To | ||
| PRAJointVentureHasLegalDesc | PRAJointVentureHasLegalDesc | Legal desc. | ||
| PRAFieldID | PRAFieldID | Logical Field | ||
| PRAJntVntrSpacingOrdNmbr | PRAJntVntrSpacingOrdNmbr | Space order no. | ||
| PRAJntVntrLandPrptyNmbr | PRAJntVntrLandPrptyNmbr | LPN No | ||
| PRAJntVntrDOINameIsPrinted | PRAJntVntrDOINameIsPrinted | DOI Print Flag | ||
| CompanyCodeName | ||||
| CountryName | ||||
| PrimaryGeogrlLocationName | ||||
| SecondaryGeogrlLocationName | ||||
| GeologicFieldName | _Field | GeologicFieldName | ||
| _UnitVenture | _UnitVenture |
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_PRAMaintVentureHierNode.
-- 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_PRAMaintVentureHierNode AS
SELECT
CompanyCode,
PRAJointVenture,
PRAJointVentureInterestCode,
PRAJointVentureName,
PRAJointVentureDesc,
PRAJointVentureStatus,
PRAJointVentureStsEffctvDte,
Country,
PrimaryGeogrlLocation,
SecondaryGeogrlLocation,
cast( '00000000' as abap.dats ) AS PRAJointVentureAcquiredDate,
PRAJointVentureUsageType,
PRAJointVentureOldLeaseID,
JointVentureIsUnit,
PRAJointVentureHasDOIByTract,
PRAJntVntrIsSubjToDrillFund,
PRAJntVntrOnshoreOffshoreCode,
PRAJointVentureAcquiredFrom,
PRAJointVentureSoldTo,
PRAJointVentureHasLegalDesc,
PRAFieldID,
PRAJntVntrSpacingOrdNmbr,
PRAJntVntrLandPrptyNmbr,
PRAJntVntrDOINameIsPrinted,
_CompanyCode[ 1: Language = $session.system_language ].CompanyCodeName AS CompanyCodeName,
_Location._Country._Text[ 1: Language = $session.system_language ].CountryName AS CountryName,
_Location._PrimaryGeogrlLocation._Text[ 1: Language = $session.system_language ].PrimaryGeogrlLocationName AS PrimaryGeogrlLocationName,
_Location._Text[ 1: Language = $session.system_language ].SecondaryGeogrlLocationName AS SecondaryGeogrlLocationName,
_Field.GeologicFieldName AS GeologicFieldName
FROM I_PRAMaintVenture
LEFT OUTER JOIN A_PRAMaintUnitVentureHierNode AS _UnitVenture ON /* condition not available in parsed metadata */ -- association [0..*]
;
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