I_PRAOwnerProductionPayment

DDL: I_PRAOWNERPRODUCTIONPAYMENT Type: view_entity BASIC

Ownership Production Payment

I_PRAOwnerProductionPayment is a Basic CDS View that provides data about "Ownership Production Payment" in SAP S/4HANA. It reads from 1 data source (oiuow_pp) and exposes 15 fields with key field PRAOwner. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiuow_pp oiuow_pp from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Currency _Currency $projection.PRAGrossValueCurrency = _Currency.Currency
[0..1] I_SupplierMaster _Supplier $projection.PRAOwner = _Supplier.Supplier
[0..1] I_PRAMaintCmbndProdCode _Product $projection.PRACombinedProductCode = _Product.PRACombinedProductCode
[0..1] I_UnitOfMeasure _Measure $projection.PRAGrossVolumeUnit = _Measure.UnitOfMeasure

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Ownership Production Payment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey PRAOwner view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PRAOwner Owner Number
PRACombinedProductCode Comb. prd.cd
PRAIsIncludedInReport incl_rpt_fl Record print fl
PRAGrossVolume grs_vol Gross vol
PRAGrossVolumeUnit UoM
PRAVolumeBalanceQuantity vol_bal Vol.balance
PRAGrossValueAmount grs_val Gross value
PRAGrossValueCurrency Currency
PRABalanceValueAmount val_bal Value balance
CreatedByUser oiu_cruser Created By
CreationDateTime oiu_timestamp Timestamp
_Supplier _Supplier
_Currency _Currency
_Product _Product
_Measure _Measure

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_PRAOwnerProductionPayment.
-- 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_PRAOwnerProductionPayment AS
SELECT
  cast (own_no as oiu_own_no preserving type) AS PRAOwner,
  cast (comb_pd_cd as oiu_comb_pd_cd preserving type) AS PRACombinedProductCode,
  incl_rpt_fl AS PRAIsIncludedInReport,
  grs_vol AS PRAGrossVolume,
  cast (grs_vol_u as oiu_meas_u preserving type) AS PRAGrossVolumeUnit,
  vol_bal AS PRAVolumeBalanceQuantity,
  grs_val AS PRAGrossValueAmount,
  cast (grs_val_curr as waers preserving type) AS PRAGrossValueCurrency,
  val_bal AS PRABalanceValueAmount,
  oiu_cruser AS CreatedByUser,
  oiu_timestamp AS CreationDateTime
FROM oiuow_pp
LEFT OUTER JOIN I_Currency AS _Currency ON PRAGrossValueCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_SupplierMaster AS _Supplier ON PRAOwner = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PRAMaintCmbndProdCode AS _Product ON PRACombinedProductCode = _Product.PRACombinedProductCode  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _Measure ON PRAGrossVolumeUnit = _Measure.UnitOfMeasure  -- association [0..1]
;