I_RARevnExplanationItem

DDL: I_RAREVNEXPLANATIONITEM Type: view_entity COMPOSITE Package: ODATA_FARR_REV_EXPLANATION

RA Revenue Explanation Item

I_RARevnExplanationItem is a Composite CDS View that provides data about "RA Revenue Explanation Item" in SAP S/4HANA. It reads from 2 data sources (P_RARevnExplItemWithRevnQty, P_RARevnExplMigrationItem) and exposes 66 fields with key fields RAHigherLevelPerfOblgn, RevnAcctgReconciliationKey, RARevenueAdjustReason, RevenueAccountingContract, RevnAcctgReconciliationKey. It has 1 association to related views. Part of development package ODATA_FARR_REV_EXPLANATION.

Data Sources (2)

SourceAliasJoin Type
P_RARevnExplItemWithRevnQty RevnExplItemWithRevnQty from
P_RARevnExplMigrationItem RevnExplMigrationItem union_all

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_RARevenueAdjustReasonText RevnAdjustReasonText $projection.RARevenueAdjustReason = RevnAdjustReasonText.RARevenueAdjustReason

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label RA Revenue Explanation Item view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (66)

KeyFieldSource TableSource FieldDescription
KEY RAHigherLevelPerfOblgn P_RARevnExplItemWithRevnQty RAHigherLevelPerfOblgn Higher-Level POB
KEY RevnAcctgReconciliationKey P_RARevnExplItemWithRevnQty RecnclnKeyGroupId
KEY RARevenueAdjustReason P_RARevnExplItemWithRevnQty RARevenueAdjustReason
KEY RevenueAccountingContract P_RARevnExplItemWithRevnQty RevenueAccountingContract Revenue Contract
FiscalYearPeriod P_RARevnExplItemWithRevnQty FiscalYearPeriod Period/Year
CompanyCode PerfOblgn CompanyCode Receiver Company Code
PerformanceObligation P_RARevnExplItemWithRevnQty RAHigherLevelPerfOblgn Performance Obligation
RAPerfOblgnDistinctType PerfOblgn RAPerfOblgnDistinctType Composition
PerfOblgnFulfillmentType PerfOblgn PerfOblgnFulfillmentType Fulfillment Type
PerfOblgnEventType PerfOblgn PerfOblgnEventType Event Type
RAFulfillmentIsValueBased PerfOblgn RAFulfillmentIsValueBased Fulfillments Based on Values
PerfOblgnStartDateType PerfOblgn PerfOblgnStartDateType Start Date Type
SalesDocumentCurrency RevnExplItemCumltvValue SalesDocumentCurrency Currency
CumltvEffectiveAmtInSlsDocCrcy
PerfOblgnFaceAmtInSlsDocCrcy ChgTypeItemKeyGroup PerfOblgnFaceAmtInSlsDocCrcy Contractual Price
ContractualPrcInSlsDocCrcy ChgTypeItemKeyGroup ContractualPrcInSlsDocCrcy Contractual Price
DeltaRecognizedAmtInSlsDocCrcy
RecgdCatchUpAmtInSlsDocCrcy
PerfOblgnEffectiveQuantityUnit PerfOblgn PerfOblgnEffectiveQuantityUnit Unit of Measure
PerfOblgnEffectiveQuantity ChgTypeItemKeyGroup PerfOblgnEffectiveQuantity
DeltaPerfOblgnFulfilledQty
FulfilledAmountInSlsDocCrcy
RatioUnit
PerformanceObligationClass ChgTypeItemKeyGroup PerformanceObligationClass Performance Obligation Name
RABusinessChangeReason ChgTypeItemKeyGroup RABusinessChangeReason
RAPerfOblgnChangeType ChgTypeItemKeyGroup RAPerfOblgnChangeType
PerformanceObligationStartDate ChgTypeItemKeyGroup PerformanceObligationStartDate Start Date
PerformanceObligationEndDate ChgTypeItemKeyGroup PerformanceObligationEndDate End Date
PerfObligationDeferralMethod ChgTypeItemKeyGroup PerfObligationDeferralMethod Deferral Method
PerfOblgnIsFinallyInvoiced ChgTypeItemKeyGroup PerfOblgnIsFinallyInvoiced Final Invoice
KEY RevnAcctgReconciliationKey
KEY RARevenueAdjustReason
KEY RevenueAccountingContract P_RARevnExplMigrationItem RevenueAccountingContract Revenue Contract
FiscalYearPeriod Period/Year
CompanyCode PerfOblgn CompanyCode Receiver Company Code
PerformanceObligation P_RARevnExplMigrationItem PerformanceObligation Performance Obligation
RAPerfOblgnDistinctType PerfOblgn RAPerfOblgnDistinctType Composition
PerfOblgnFulfillmentType PerfOblgn PerfOblgnFulfillmentType Fulfillment Type
PerfOblgnEventType PerfOblgn PerfOblgnEventType Event Type
RAFulfillmentIsValueBased PerfOblgn RAFulfillmentIsValueBased Fulfillments Based on Values
PerfOblgnStartDateType PerfOblgn PerfOblgnStartDateType Start Date Type
SalesDocumentCurrency P_RARevnExplMigrationItem SalesDocumentCurrency Currency
CumltvEffectiveAmtInSlsDocCrcy
PerfOblgnFaceAmtInSlsDocCrcy P_RARevnExplMigrationItem ContractualPrcInSlsDocCrcy Contractual Price
ContractualPrcInSlsDocCrcy P_RARevnExplMigrationItem ContractualPrcInSlsDocCrcy Contractual Price
DeltaRecognizedAmtInSlsDocCrcy
RecgdCatchUpAmtInSlsDocCrcy
PerfOblgnEffectiveQuantityUnit PerfOblgn PerfOblgnEffectiveQuantityUnit Unit of Measure
PerfOblgnEffectiveQuantity P_RARevnExplMigrationItem PerfOblgnCumltvEffectiveQty
DeltaPerfOblgnFulfilledQty
FulfilledAmountInSlsDocCrcy
RatioUnit
PerformanceObligationClass PerfOblgn PerformanceObligationClass Performance Obligation Name
RABusinessChangeReason
RAPerfOblgnChangeType
PerformanceObligationStartDate PerfOblgn PerformanceObligationStartDate Start Date
PerformanceObligationEndDate PerfOblgn PerformanceObligationEndDate End Date
PerfObligationDeferralMethod PerfOblgn PerfObligationDeferralMethod Deferral Method
PerfOblgnIsFinallyInvoiced PerfOblgn PerfOblgnIsFinallyInvoiced Final Invoice
RARevenueCatchUpIsHidden
RAChangedFieldIsHidden
RAFulfillmentDetailIsHidden
RevnAcctgContrChangeEffctvDate
RAPrevContrChangeEffctvDate
RAContractIsSoftDeleted
RARevenueAdjustReasonName

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_RARevnExplanationItem.
-- 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_RARevnExplanationItem AS
SELECT
  RevnExplItemWithRevnQty.RAHigherLevelPerfOblgn AS RAHigherLevelPerfOblgn,
  RevnExplItemWithRevnQty.RecnclnKeyGroupId AS RevnAcctgReconciliationKey,
  RevnExplItemWithRevnQty.RARevenueAdjustReason AS RARevenueAdjustReason,
  RevnExplItemWithRevnQty.RevenueAccountingContract AS RevenueAccountingContract,
  RevnExplItemWithRevnQty.FiscalYearPeriod AS FiscalYearPeriod,
  PerfOblgn.CompanyCode AS CompanyCode,
  RevnExplItemWithRevnQty.RAHigherLevelPerfOblgn AS PerformanceObligation,
  PerfOblgn.RAPerfOblgnDistinctType AS RAPerfOblgnDistinctType,
  PerfOblgn.PerfOblgnFulfillmentType AS PerfOblgnFulfillmentType,
  PerfOblgn.PerfOblgnEventType AS PerfOblgnEventType,
  PerfOblgn.RAFulfillmentIsValueBased AS RAFulfillmentIsValueBased,
  PerfOblgn.PerfOblgnStartDateType AS PerfOblgnStartDateType,
  RevnExplItemCumltvValue.SalesDocumentCurrency AS SalesDocumentCurrency,
  cast(ChgTypeItemKeyGroup.AllocatedPriceInSalesDocCrcy as farr_allocated_amt preserving type) AS CumltvEffectiveAmtInSlsDocCrcy,
  ChgTypeItemKeyGroup.PerfOblgnFaceAmtInSlsDocCrcy AS PerfOblgnFaceAmtInSlsDocCrcy,
  ChgTypeItemKeyGroup.ContractualPrcInSlsDocCrcy AS ContractualPrcInSlsDocCrcy,
  cast(RevnExplItemWithRevnQty.DeltaRecognizedAmtInSlsDocCrcy as farr_cds_recog_amt preserving type) AS DeltaRecognizedAmtInSlsDocCrcy,
  cast(RevnExplItemWithRevnQty.DeltaRecognizedAmtInSlsDocCrcy as farr_cds_rev_catchup_amt preserving type) AS RecgdCatchUpAmtInSlsDocCrcy,
  PerfOblgn.PerfOblgnEffectiveQuantityUnit AS PerfOblgnEffectiveQuantityUnit,
  ChgTypeItemKeyGroup.PerfOblgnEffectiveQuantity AS PerfOblgnEffectiveQuantity,
  cast(RevnExplItemWithRevnQty.DeltaPerfOblgnFulfilledQty as farr_cds_delta_fulfilled_qty) AS DeltaPerfOblgnFulfilledQty,
  cast(RevnExplItemWithRevnQty.DeltaPerfOblgnFulfilledAmount as farr_cds_fulfilled_value preserving type) AS FulfilledAmountInSlsDocCrcy,
  cast('%' as farr_quantity_unit) AS RatioUnit,
  ChgTypeItemKeyGroup.PerformanceObligationClass AS PerformanceObligationClass,
  ChgTypeItemKeyGroup.RABusinessChangeReason AS RABusinessChangeReason,
  ChgTypeItemKeyGroup.RAPerfOblgnChangeType AS RAPerfOblgnChangeType,
  ChgTypeItemKeyGroup.PerformanceObligationStartDate AS PerformanceObligationStartDate,
  ChgTypeItemKeyGroup.PerformanceObligationEndDate AS PerformanceObligationEndDate,
  ChgTypeItemKeyGroup.PerfObligationDeferralMethod AS PerfObligationDeferralMethod,
  ChgTypeItemKeyGroup.PerfOblgnIsFinallyInvoiced AS PerfOblgnIsFinallyInvoiced,
  'X' AS RARevenueCatchUpIsHidden,
  'X' AS RAChangedFieldIsHidden,
  'X' AS RAFulfillmentDetailIsHidden,
  cast('00000000' as farr_effective_date) AS RevnAcctgContrChangeEffctvDate,
  cast('00000000' as farr_cds_prior_effective_date) AS RAPrevContrChangeEffctvDate,
  '' AS RAContractIsSoftDeleted,
  cast(RevnAdjustReasonText.RARevenueAdjustReasonName as farr_cds_rev_adj_reason_text) AS RARevenueAdjustReasonName
FROM P_RARevnExplItemWithRevnQty AS RevnExplItemWithRevnQty
LEFT OUTER JOIN I_RARevenueAdjustReasonText AS RevnAdjustReasonText ON RARevenueAdjustReason = RevnAdjustReasonText.RARevenueAdjustReason  -- association [1..*]
-- UNION ALL with additional select branch(es): P_RARevnExplMigrationItem
;