I_RADeferralItemWithoutInvoice
RA Deferral Item Without Invoice Data
I_RADeferralItemWithoutInvoice is a Basic CDS View that provides data about "RA Deferral Item Without Invoice Data" in SAP S/4HANA. It reads from 1 data source (farr_d_defitem) and exposes 41 fields with key fields RevnAcctgReconciliationKey, PerformanceObligation, ConditionType. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| farr_d_defitem | Defitem | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RAPerfOblgnWithoutAcctAssgmt | _RAPerformanceObligation | $projection.PerformanceObligation = _RAPerformanceObligation.PerformanceObligation |
| [1..1] | I_RevenueAccountingContract | _RevenueAccountingContract | $projection.RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract |
| [1..1] | I_RevenueAccountingContract | _OriglRevnAccountingContract | $projection.OriglRevenueAccountingContract = _OriglRevnAccountingContract.RevenueAccountingContract |
| [1..1] | I_RevnAcctgReconciliationKey | _RevnAcctgReconciliationKey | $projection.OriglRevenueAccountingContract = _RevnAcctgReconciliationKey.RevenueAccountingContract and $projection.RevnAcctgReconciliationKey = _RevnAcctgReconciliationKey.RevnAcctgReconciliationKey and $projection.CompanyCode = _RevnAcctgReconciliationKey.CompanyCode and $projection.AccountingPrinciple = _RevnAcctgReconciliationKey.AccountingPrinciple |
| [1..1] | I_RAConditionCategory | _RAConditionCategory | $projection.RevnAcctgConditionCategory = _RAConditionCategory.RevnAcctgConditionCategory |
| [1..1] | I_RADeferralItemCatPerCndnType | _RADeferralItemCatPerCndnType | $projection.DeferralItemCatPerCndnType = _RADeferralItemCatPerCndnType.DeferralItemCatPerCndnType |
| [1..1] | I_RAPerfObligationEventType | _RAPerfObligationEventType | $projection.PerfOblgnEventType = _RAPerfObligationEventType.PerfOblgnEventType |
| [1..1] | I_RAPerfOblgnFlfmtType | _RAPerfOblgnFlfmtType | $projection.PerfOblgnFulfillmentType = _RAPerfOblgnFlfmtType.PerfOblgnFulfillmentType |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_GLAccount | _GLAccount | $projection.RevnAcctgSourceAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode |
| [1..1] | I_AccountingPrinciple | _AccountingPrinciple | $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple |
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.PerfOblgnEffectiveQuantityUnit = _UnitOfMeasure.UnitOfMeasure |
| [1..1] | I_Currency | _Currency | $projection.SalesDocumentCurrency = _Currency.Currency |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | RA Deferral Item Without Invoice Data | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RevnAcctgReconciliationKey | recon_key | Reconcil. Key | |
| KEY | PerformanceObligation | |||
| KEY | ConditionType | RAI Condition Type | ||
| OriglRevenueAccountingContract | Contract ID | |||
| FiscalYearPeriod | ||||
| CompanyCode | farr_d_defitem | company_code | Company Code | |
| AccountingPrinciple | farr_d_defitem | acct_principle | Accounting Principle | |
| RevnAcctgConditionCategory | category | Violation Category | ||
| PerfOblgnFulfillmentType | farr_d_defitem | fulfill_type | Fulfillment Type | |
| PerfOblgnEventType | farr_d_defitem | event_type | Type of Event | |
| ConditionIsForStatistics | statistic | Statistical | ||
| DeferralItemCatPerCndnType | spec_indicator | Special Indicator | ||
| SalesDocumentCurrency | amount_curk | Currency | ||
| PerfOblgnEffectiveQuantityUnit | farr_d_defitem | quantity_unit | Unit of Measure | |
| CumulativeEffectiveQuantity | Effective Qty. | |||
| DeltaEffectiveQuantity | Delta Qty. | |||
| DeltaEffectiveAmtInSlsDocCrcy | doc_amt_delta | Delta Amount | ||
| CumltvEffectiveAmtInSlsDocCrcy | doc_amt_cumulate | Effective Value | ||
| DeltaRecognizedAmtInSlsDocCrcy | rev_amt_delta | Posting Amount | ||
| PrevRecognizedAmtInSlsDocCrcy | rev_amt_posted | Sum Prev. Def. | ||
| DeltaPerfOblgnFulfilledQty | Qty. for Postg. | |||
| PerfOblgnPreviousFulfilledQty | Sum Qty. Prev. | |||
| RecgdCatchUpAmtInSlsDocCrcy | rev_amt_catchup | Catchup Amount | ||
| RevnAcctgSourceAccount | Source Account | |||
| RevnAcctgTargetAccount | Target Account | |||
| DeferralItemIsLatest | latest_defitem | Latest Entry | ||
| DeferralItemLastChangeDateTime | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| DeferralItemCreationDateTime | farr_d_defitem | created_on | Variant created on | |
| _RAPerformanceObligation | _RAPerformanceObligation | |||
| _RevenueAccountingContract | _RevenueAccountingContract | |||
| _OriglRevnAccountingContract | _OriglRevnAccountingContract | |||
| _RevnAcctgReconciliationKey | _RevnAcctgReconciliationKey | |||
| _RAConditionCategory | _RAConditionCategory | |||
| _RAPerfOblgnFlfmtType | _RAPerfOblgnFlfmtType | |||
| _RAPerfObligationEventType | _RAPerfObligationEventType | |||
| _RADeferralItemCatPerCndnType | _RADeferralItemCatPerCndnType | |||
| _CompanyCode | _CompanyCode | |||
| _AccountingPrinciple | _AccountingPrinciple | |||
| _GLAccount | _GLAccount | |||
| _Currency | _Currency | |||
| _UnitOfMeasure | _UnitOfMeasure |
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_RADeferralItemWithoutInvoice.
-- 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_RADeferralItemWithoutInvoice AS
SELECT
recon_key AS RevnAcctgReconciliationKey,
cast(Defitem.pob_id as farr_cds_pob_id preserving type) AS PerformanceObligation,
cast(condition_type as farr_cond_type preserving type) AS ConditionType,
cast( contract_id as farr_original_contract_id preserving type) AS OriglRevenueAccountingContract,
cast(substring(recon_key,1,7) as fis_jahrper_conv) AS FiscalYearPeriod,
Defitem.company_code AS CompanyCode,
Defitem.acct_principle AS AccountingPrinciple,
category AS RevnAcctgConditionCategory,
Defitem.fulfill_type AS PerfOblgnFulfillmentType,
Defitem.event_type AS PerfOblgnEventType,
statistic AS ConditionIsForStatistics,
spec_indicator AS DeferralItemCatPerCndnType,
amount_curk AS SalesDocumentCurrency,
Defitem.quantity_unit AS PerfOblgnEffectiveQuantityUnit,
cast(doc_qty_cumulate as farr_cds_effective_quantity) AS CumulativeEffectiveQuantity,
cast(doc_qty_delta as farr_cds_effective_quantity) AS DeltaEffectiveQuantity,
doc_amt_delta AS DeltaEffectiveAmtInSlsDocCrcy,
doc_amt_cumulate AS CumltvEffectiveAmtInSlsDocCrcy,
rev_amt_delta AS DeltaRecognizedAmtInSlsDocCrcy,
rev_amt_posted AS PrevRecognizedAmtInSlsDocCrcy,
cast(rev_qty_delta as farr_total_fulfilled_quantity) AS DeltaPerfOblgnFulfilledQty,
cast(rev_qty_posted as farr_fulfilled_qty_to_cur_perd) AS PerfOblgnPreviousFulfilledQty,
rev_amt_catchup AS RecgdCatchUpAmtInSlsDocCrcy,
cast(source_acct as fin_glacct preserving type) AS RevnAcctgSourceAccount,
cast(target_acct as fin_glacct preserving type) AS RevnAcctgTargetAccount,
latest_defitem AS DeferralItemIsLatest,
timestamp AS DeferralItemLastChangeDateTime,
Defitem.created_on AS DeferralItemCreationDateTime
FROM farr_d_defitem AS Defitem
LEFT OUTER JOIN I_RAPerfOblgnWithoutAcctAssgmt AS _RAPerformanceObligation ON PerformanceObligation = _RAPerformanceObligation.PerformanceObligation -- association [1..1]
LEFT OUTER JOIN I_RevenueAccountingContract AS _RevenueAccountingContract ON RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract -- association [1..1]
LEFT OUTER JOIN I_RevenueAccountingContract AS _OriglRevnAccountingContract ON OriglRevenueAccountingContract = _OriglRevnAccountingContract.RevenueAccountingContract -- association [1..1]
LEFT OUTER JOIN I_RevnAcctgReconciliationKey AS _RevnAcctgReconciliationKey ON OriglRevenueAccountingContract = _RevnAcctgReconciliationKey.RevenueAccountingContract AND RevnAcctgReconciliationKey = _RevnAcctgReconciliationKey.RevnAcctgReconciliationKey AND CompanyCode = _RevnAcctgReconciliationKey.CompanyCode AND AccountingPrinciple = _RevnAcctgReconciliationKey.AccountingPrinciple -- association [1..1]
LEFT OUTER JOIN I_RAConditionCategory AS _RAConditionCategory ON RevnAcctgConditionCategory = _RAConditionCategory.RevnAcctgConditionCategory -- association [1..1]
LEFT OUTER JOIN I_RADeferralItemCatPerCndnType AS _RADeferralItemCatPerCndnType ON DeferralItemCatPerCndnType = _RADeferralItemCatPerCndnType.DeferralItemCatPerCndnType -- association [1..1]
LEFT OUTER JOIN I_RAPerfObligationEventType AS _RAPerfObligationEventType ON PerfOblgnEventType = _RAPerfObligationEventType.PerfOblgnEventType -- association [1..1]
LEFT OUTER JOIN I_RAPerfOblgnFlfmtType AS _RAPerfOblgnFlfmtType ON PerfOblgnFulfillmentType = _RAPerfOblgnFlfmtType.PerfOblgnFulfillmentType -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON RevnAcctgSourceAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON PerfOblgnEffectiveQuantityUnit = _UnitOfMeasure.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON SalesDocumentCurrency = _Currency.Currency -- association [1..1]
;
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