I_PRAMaintUnitVntrUseCtrl

DDL: I_PRAMAINTUNITVNTRUSECTRL Type: view BASIC

Maintain Property Use control

I_PRAMaintUnitVntrUseCtrl is a Basic CDS View that provides data about "Maintain Property Use control" in SAP S/4HANA. It reads from 1 data source (oiu_do_puc) and exposes 15 fields with key fields CompanyCode, PRAUnitVenture, PRACombinedProductCode, PRAUnitVentureEffctvFrmDte. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_do_puc oiu_do_puc from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode _CompanyCode.CompanyCode = $projection.CompanyCode
[1..1] I_PRAJointVenture _PRAJointVenture _PRAJointVenture.PRAJointVenture = $projection.PRAUnitVenture and _PRAJointVenture.CompanyCode = $projection.CompanyCode
[1..1] I_PRAMaintCmbndProdCode _PRAMaintCmbndProdCode _PRAMaintCmbndProdCode.PRACombinedProductCode = $projection.PRACombinedProductCode
[0..*] I_PRAMaintUnitVntrTract _PRAMaintUnitVntrTract

Annotations (10)

NameValueLevelField
EndUserText.label Maintain Property Use control view
AbapCatalog.sqlViewName IPRAMAINTUNITVEN 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 (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY PRAUnitVenture unit_vname Unit Venture
KEY PRACombinedProductCode comb_pd_cd Comb. prd.cd
KEY PRAUnitVentureEffctvFrmDte eff_from_dt Effective From Date
PRAUnitVentureEffctvToDte eff_to_dt Effective To Date
PRAUnitVentureUseCtrlNmbr puc_no PUC number
PRAUnitVntrTotTractPartcipnPct tot_tpf_pc Total TPF
PRAUnitVentureIsApproved appr_fl Approval
PRAUnitVntrLastTractSqncNmbr last_tr_seq_no Sequence no.
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
_PRAMaintUnitVntrTract _PRAMaintUnitVntrTract
_CompanyCode _CompanyCode
_PRAJointVenture _PRAJointVenture
_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_PRAMaintUnitVntrUseCtrl.
-- 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_PRAMaintUnitVntrUseCtrl AS
SELECT
  bukrs AS CompanyCode,
  unit_vname AS PRAUnitVenture,
  comb_pd_cd AS PRACombinedProductCode,
  eff_from_dt AS PRAUnitVentureEffctvFrmDte,
  eff_to_dt AS PRAUnitVentureEffctvToDte,
  puc_no AS PRAUnitVentureUseCtrlNmbr,
  tot_tpf_pc AS PRAUnitVntrTotTractPartcipnPct,
  appr_fl AS PRAUnitVentureIsApproved,
  last_tr_seq_no AS PRAUnitVntrLastTractSqncNmbr,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiu_do_puc
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PRAJointVenture AS _PRAJointVenture ON _PRAJointVenture.PRAJointVenture = PRAUnitVenture AND _PRAJointVenture.CompanyCode = CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PRAMaintCmbndProdCode AS _PRAMaintCmbndProdCode ON _PRAMaintCmbndProdCode.PRACombinedProductCode = PRACombinedProductCode  -- association [1..1]
LEFT OUTER JOIN I_PRAMaintUnitVntrTract AS _PRAMaintUnitVntrTract ON /* condition not available in parsed metadata */  -- association [0..*]
;