I_PRAOwnerAvailabilityDetail
PRA Owner Availability Detail
I_PRAOwnerAvailabilityDetail is a Basic CDS View that provides data about "PRA Owner Availability Detail" in SAP S/4HANA. It reads from 1 data source (oiu_sb_oad) and exposes 21 fields with key fields PRAOwnerAvailability, PRARevisionNumber, PRAOwner, OwnerInterestType, OwnerInterestSequence. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_sb_oad | oiu_sb_oad | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PRAOwnerAvailabilityHeader | _Header | $projection.PRAOwnerAvailability = _Header.PRAOwnerAvailability |
| [0..1] | I_SupplierMaster | _Owner | $projection.PRAOwner = _Owner.Supplier |
| [0..1] | I_OwnerInterestType | _InterestType | $projection.OwnerInterestType = _InterestType.OwnerInterestType |
| [0..1] | I_Customer | _Customer | $projection.MarketingRep = _Customer.Customer |
| [0..1] | I_User | _User | $projection.CreatedByUser = _User.UserID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | PRA Owner Availability Detail | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.sapObjectNodeType.name | PRAOwnerAvailabilityDetail | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PRAOwnerAvailability | OAH No | ||
| KEY | PRARevisionNumber | revision_no | Revision No. | |
| KEY | PRAOwner | Owner Number | ||
| KEY | OwnerInterestType | Opart int type | ||
| KEY | OwnerInterestSequence | own_isq_no | Own. ISQ | |
| MarketingRep | Marketing Rep | |||
| MarketingRepIntrstSequNmbr | mk_rep_isq_no | Mkt. Rep. ISQ | ||
| PRAUnitVentureIsApproved | appr_fl | Approval | ||
| PRAOriglGrssRevnIntrstPercent | orig_gri_pc | Total GRI % | ||
| UnitOfMeasure | _Header | UnitOfMeasure | Unit Protected Qty | |
| PRAOriginalEntitledVolume | orig_entl_vl | Orig. Entl. Vol | ||
| PRAMakeUpVolVal | mkup_vl | Makeup Vol | ||
| PRAAdjdEntitlementVolume | adj_entl_vl | Adj. Entl. Vol | ||
| PRAAdjdGrssRevnIntrstPercent | adj_gri_pc | Adjusted GRI | ||
| CreatedByUser | oiu_cruser | Created By | ||
| CreationDateTime | oiu_timestamp | Timestamp | ||
| _Header | _Header | |||
| _Owner | _Owner | |||
| _Customer | _Customer | |||
| _InterestType | _InterestType | |||
| _User | _User |
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_PRAOwnerAvailabilityDetail.
-- 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_PRAOwnerAvailabilityDetail AS
SELECT
cast( oah_no as oiu_oah_no preserving type ) AS PRAOwnerAvailability,
revision_no AS PRARevisionNumber,
cast( own_no as oiu_own_no preserving type ) AS PRAOwner,
cast( own_int_type_cd as oiu_part_int_type preserving type ) AS OwnerInterestType,
own_isq_no AS OwnerInterestSequence,
cast( mk_rep_no as oiu_mk_rep_no preserving type ) AS MarketingRep,
mk_rep_isq_no AS MarketingRepIntrstSequNmbr,
appr_fl AS PRAUnitVentureIsApproved,
orig_gri_pc AS PRAOriglGrssRevnIntrstPercent,
_Header.UnitOfMeasure AS UnitOfMeasure,
orig_entl_vl AS PRAOriginalEntitledVolume,
mkup_vl AS PRAMakeUpVolVal,
adj_entl_vl AS PRAAdjdEntitlementVolume,
adj_gri_pc AS PRAAdjdGrssRevnIntrstPercent,
oiu_cruser AS CreatedByUser,
oiu_timestamp AS CreationDateTime
FROM oiu_sb_oad
LEFT OUTER JOIN I_PRAOwnerAvailabilityHeader AS _Header ON PRAOwnerAvailability = _Header.PRAOwnerAvailability -- association [0..1]
LEFT OUTER JOIN I_SupplierMaster AS _Owner ON PRAOwner = _Owner.Supplier -- association [0..1]
LEFT OUTER JOIN I_OwnerInterestType AS _InterestType ON OwnerInterestType = _InterestType.OwnerInterestType -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON MarketingRep = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON CreatedByUser = _User.UserID -- 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