I_PRAOwnershipTransferChgDet

DDL: I_PRAOWNERSHIPTRANSFERCHGDET Type: view BASIC Package: OIU_VDM_CDS

DOI Transfer Change Detail

I_PRAOwnershipTransferChgDet is a Basic CDS View that provides data about "DOI Transfer Change Detail" in SAP S/4HANA. It reads from 1 data source (oiuow_rtd) and exposes 30 fields with key fields PRAFundsTransferChangeNumber, PRATransferFromCustSuplrCode, PRAFundsTransferFromOwner, PRAFndsTransfFrmOwnrIntrstType, PRAFndsTransfFrmOwnrIntrstSeq. It has 5 associations to related views. Part of development package OIU_VDM_CDS.

Data Sources (1)

SourceAliasJoin Type
oiuow_rtd oiuow_rtd from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_PRAOwner _PRATransferFromOwner $projection.PRAFundsTransferFromOwner = _PRATransferFromOwner.PRAOwner
[1..1] I_PRAOwner _PRATransferToOwner $projection.PRAFundsTransferToOwner = _PRATransferToOwner.PRAOwner
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_JointVenture _JointVenture $projection.CompanyCode = _JointVenture.CompanyCode and $projection.PRAJointVenture = _JointVenture.JointVenture
[1..1] I_DivisionOfInterest _DivisionOfInterest $projection.CompanyCode = _DivisionOfInterest.CompanyCode and $projection.PRAJointVenture = _DivisionOfInterest.JointVenture and $projection.DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest

Annotations (10)

NameValueLevelField
EndUserText.label DOI Transfer Change Detail view
AbapCatalog.sqlViewName IPRAOWTRNSCHGDET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY PRAFundsTransferChangeNumber rtch_no RTCH no.
KEY PRATransferFromCustSuplrCode ocust_vend_cd Ocust vend cd
KEY PRAFundsTransferFromOwner oown_no Old owner
KEY PRAFndsTransfFrmOwnrIntrstType oown_int_type_cd Opart int type
KEY PRAFndsTransfFrmOwnrIntrstSeq oown_isq_no Oown int seq no
KEY PRATransferToCustSuplrCode nw_cust_vend_cd Nwcust vend cd
KEY PRAFundsTransferToOwner nw_own_no New owner
KEY PRAFndsTransfToOwnrIntrstType nw_own_int_type Nwpart int type
KEY PRAFndsTransfToOwnrIntrstSeq nw_own_isq_no ISQ
KEY CompanyCode bukrs Value
KEY PRAJointVenture vname Volatility Name
KEY DivisionOfInterest doi_no Venture/DOI
KEY PRATransferEffectiveFromDate eff_from_dt Effective From Date
PRATransferChangeCode tfr_chg_cd Tfr.chng.cd
PRATransferEffectiveToDate eff_to_dt Effective To Date
PRAOwnerRequestDocNumber doc_no Posted Doc. No.
PRAOwnerRequestDocYear doc_year Mat. Doc. Year
PRAOwnerRequestDocItmNmbr item_no Sort No.
NetRevenueInterestRatio nri_decm_pc NRI dec.
PRAOwnerAllocationRatio al_decm_pc Al decm
OverrideOwnerPaymentStatus ovrd_pay_cd Pay Code
OverrideSuspenseReason ovrd_susp_cd Suspense Reason
PRAOverrideLeaseID ovrd_lease_id Lease ID
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
Associations_CompanyCode
_JointVenture _JointVenture
_DivisionOfInterest _DivisionOfInterest
_PRATransferFromOwner _PRATransferFromOwner
_PRATransferToOwner _PRATransferToOwner

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_PRAOwnershipTransferChgDet.
-- 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_PRAOwnershipTransferChgDet AS
SELECT
  rtch_no AS PRAFundsTransferChangeNumber,
  ocust_vend_cd AS PRATransferFromCustSuplrCode,
  oown_no AS PRAFundsTransferFromOwner,
  oown_int_type_cd AS PRAFndsTransfFrmOwnrIntrstType,
  oown_isq_no AS PRAFndsTransfFrmOwnrIntrstSeq,
  nw_cust_vend_cd AS PRATransferToCustSuplrCode,
  nw_own_no AS PRAFundsTransferToOwner,
  nw_own_int_type AS PRAFndsTransfToOwnrIntrstType,
  nw_own_isq_no AS PRAFndsTransfToOwnrIntrstSeq,
  bukrs AS CompanyCode,
  vname AS PRAJointVenture,
  doi_no AS DivisionOfInterest,
  eff_from_dt AS PRATransferEffectiveFromDate,
  tfr_chg_cd AS PRATransferChangeCode,
  eff_to_dt AS PRATransferEffectiveToDate,
  doc_no AS PRAOwnerRequestDocNumber,
  doc_year AS PRAOwnerRequestDocYear,
  item_no AS PRAOwnerRequestDocItmNmbr,
  nri_decm_pc AS NetRevenueInterestRatio,
  al_decm_pc AS PRAOwnerAllocationRatio,
  ovrd_pay_cd AS OverrideOwnerPaymentStatus,
  ovrd_susp_cd AS OverrideSuspenseReason,
  ovrd_lease_id AS PRAOverrideLeaseID,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiuow_rtd
LEFT OUTER JOIN I_PRAOwner AS _PRATransferFromOwner ON PRAFundsTransferFromOwner = _PRATransferFromOwner.PRAOwner  -- association [1..1]
LEFT OUTER JOIN I_PRAOwner AS _PRATransferToOwner ON PRAFundsTransferToOwner = _PRATransferToOwner.PRAOwner  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_JointVenture AS _JointVenture ON CompanyCode = _JointVenture.CompanyCode AND PRAJointVenture = _JointVenture.JointVenture  -- association [1..1]
LEFT OUTER JOIN I_DivisionOfInterest AS _DivisionOfInterest ON CompanyCode = _DivisionOfInterest.CompanyCode AND PRAJointVenture = _DivisionOfInterest.JointVenture AND DivisionOfInterest = _DivisionOfInterest.DivisionOfInterest  -- association [1..1]
;