I_RARevnExplanationItem
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)
| Source | Alias | Join Type |
|---|---|---|
| P_RARevnExplItemWithRevnQty | RevnExplItemWithRevnQty | from |
| P_RARevnExplMigrationItem | RevnExplMigrationItem | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_RARevenueAdjustReasonText | RevnAdjustReasonText | $projection.RARevenueAdjustReason = RevnAdjustReasonText.RARevenueAdjustReason |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA