I_PRAOwnerAvailabilityDetail

DDL: I_PRAOWNERAVAILABILITYDETAIL Type: view_entity BASIC

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)

SourceAliasJoin Type
oiu_sb_oad oiu_sb_oad from

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;