I_PRAMaintUnitVntrTract

DDL: I_PRAMAINTUNITVNTRTRACT Type: view BASIC

Maintain Unit Venture tract

I_PRAMaintUnitVntrTract is a Basic CDS View that provides data about "Maintain Unit Venture tract" in SAP S/4HANA. It reads from 2 data sources (oiu_do_puc, oiu_do_tr) and exposes 18 fields with key fields CompanyCode, PRAUnitVenture, PRACombinedProductCode, PRAUnitVentureEffctvFrmDte, PRAUnitVentureUseCtrlNmbr. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
oiu_do_puc oiu_do_puc inner
oiu_do_tr oiu_do_tr from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_PRAJointVenture _JointVenture $projection.CompanyCode = _JointVenture.CompanyCode and $projection.PRAUnitVenture = _JointVenture.PRAJointVenture
[1..1] I_PRAMaintCmbndProdCode _PRAMaintCmbndProdCode _PRAMaintCmbndProdCode.PRACombinedProductCode = $projection.PRACombinedProductCode

Annotations (10)

NameValueLevelField
EndUserText.label Maintain Unit Venture tract view
AbapCatalog.sqlViewName IPRAMAINTUNTTRCT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode oiu_do_puc bukrs Value
KEY PRAUnitVenture oiu_do_puc unit_vname Unit Venture
KEY PRACombinedProductCode oiu_do_puc comb_pd_cd Comb. prd.cd
KEY PRAUnitVentureEffctvFrmDte oiu_do_puc eff_from_dt Effective From Date
KEY PRAUnitVentureUseCtrlNmbr oiu_do_tr puc_no PUC number
KEY PRAUnitVentureTractSqncNmbr oiu_do_tr seq_no Value Number
ProcessingCompanyCode oiu_do_tr bukrs Value
PRAJointVenture oiu_do_tr vname Volatility Name
DivisionOfInterest oiu_do_tr doi_no Venture/DOI
PRAUnitVentureTractNumber oiu_do_tr tr_no Tract Number
PRAUnitVntrTractPartcipnPct oiu_do_tr tr_part_fact_pc Tr Part Factor
PRAUnitVentureTractName oiu_do_tr tr_nm Tract name
CreatedByUser oiu_do_tr oiu_cruser Created By
CreationDateTime oiu_do_tr oiu_timestamp Timestamp
_PRAMaintUnitVntrUseCtrl _PRAMaintUnitVntrUseCtrl
_CompanyCode _CompanyCode
_JointVenture _JointVenture
_PRAMaintCmbndProdCode _PRAMaintCmbndProdCode

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_PRAMaintUnitVntrTract.
-- 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_PRAMaintUnitVntrTract AS
SELECT
  oiu_do_puc.bukrs AS CompanyCode,
  oiu_do_puc.unit_vname AS PRAUnitVenture,
  oiu_do_puc.comb_pd_cd AS PRACombinedProductCode,
  oiu_do_puc.eff_from_dt AS PRAUnitVentureEffctvFrmDte,
  oiu_do_tr.puc_no AS PRAUnitVentureUseCtrlNmbr,
  oiu_do_tr.seq_no AS PRAUnitVentureTractSqncNmbr,
  oiu_do_tr.bukrs AS ProcessingCompanyCode,
  oiu_do_tr.vname AS PRAJointVenture,
  oiu_do_tr.doi_no AS DivisionOfInterest,
  oiu_do_tr.tr_no AS PRAUnitVentureTractNumber,
  oiu_do_tr.tr_part_fact_pc AS PRAUnitVntrTractPartcipnPct,
  oiu_do_tr.tr_nm AS PRAUnitVentureTractName,
  oiu_do_tr.oiu_cruser AS CreatedByUser,
  oiu_do_tr.oiu_timestamp AS CreationDateTime
FROM oiu_do_tr
INNER JOIN oiu_do_puc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PRAJointVenture AS _JointVenture ON CompanyCode = _JointVenture.CompanyCode AND PRAUnitVenture = _JointVenture.PRAJointVenture  -- association [1..1]
LEFT OUTER JOIN I_PRAMaintCmbndProdCode AS _PRAMaintCmbndProdCode ON _PRAMaintCmbndProdCode.PRACombinedProductCode = PRACombinedProductCode  -- association [1..1]
;