I_RAPostponedConditionItem
RAR Inbound Postponed Condition Items
I_RAPostponedConditionItem is a Basic CDS View that provides data about "RAR Inbound Postponed Condition Items" in SAP S/4HANA. It reads from 1 data source (farr_d_inb_co) and exposes 27 fields with key fields RAItemType, RevnAcctgSenderComponent, RASndgCompLogicalSystem, RASndgCompDocumentItemType, RASndgCompDocumentItem. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| farr_d_inb_co | farr_d_inb_co | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_RAPostponedMainItem | _PostponedMainItem | $projection.RAItemType = _PostponedMainItem.RAItemType and $projection.RevnAcctgSenderComponent = _PostponedMainItem.RevnAcctgSenderComponent and $projection.RASndgCompLogicalSystem = _PostponedMainItem.RASndgCompLogicalSystem and $projection.RASndgCompDocumentItemType = _PostponedMainItem.RASndgCompDocumentItemType and $projection.RASndgCompDocumentItem = _PostponedMainItem.RASndgCompDocumentItem and $projection.RAItemLastChangeDateTime = _PostponedMainItem.RAItemLastChangeDateTime |
| [0..1] | I_Currency | _Currency | $projection.SalesDocumentCurrency = _Currency.Currency |
| [0..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..1] | I_Currency | _AdditionalCurrency1 | $projection.AdditionalCurrency1 = _AdditionalCurrency1.Currency |
| [0..1] | I_Currency | _AdditionalCurrency2 | $projection.AdditionalCurrency2 = _AdditionalCurrency2.Currency |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | RAR Inbound Postponed Condition Items | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RAItemType | rai_type | Class Type | |
| KEY | RevnAcctgSenderComponent | Source Comp. | ||
| KEY | RASndgCompLogicalSystem | srcdoc_logsys | Source System | |
| KEY | RASndgCompDocumentItemType | SrcItemType | ||
| KEY | RASndgCompDocumentItem | Src. Item ID | ||
| KEY | RAItemLastChangeDateTime | timestamp_utc | Timestamp | |
| KEY | ConditionType | condition_type | RAI Condition Type | |
| RAProfitAndLossAccount | pl_account | P/L Account | ||
| RevnAcctgPostgAmtInSlsDocCrcy | betrw | Reduction Amt | ||
| SalesDocumentCurrency | waers | Transaction Currency | ||
| RevnAcctgPostgAmtInCoCodeCrcy | betrh | Local Crcy Amt | ||
| CompanyCodeCurrency | hwaer | Local Currency | ||
| RevnAcctgPostgAmtInAddlCrcy1 | betr2 | Second Local Crcy | ||
| AdditionalCurrency1 | hwae2 | Local curr. 2 | ||
| RevnAcctgPostgAmtInAddlCrcy2 | betr3 | Third Local Crcy | ||
| AdditionalCurrency2 | hwae3 | Local curr. 3 | ||
| RAConditionItemPercent | Well Contribution Percentage | |||
| RAConditionItemIsStatistical | statistic | Statistical | ||
| RevnAcctgConditionCategory | category | Violation Category | ||
| RAConditionItemIsMainCondition | main_cond_type | Main Cond. Type | ||
| ProfitLostAccountIsDtmndByRA | Det. P&L Acct | |||
| RAItemStatus | ||||
| CompanyCode | _PostponedMainItem | CompanyCode | Receiver Company Code | |
| _Currency | _Currency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _AdditionalCurrency1 | _AdditionalCurrency1 | |||
| _AdditionalCurrency2 | _AdditionalCurrency2 |
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_RAPostponedConditionItem.
-- 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_RAPostponedConditionItem AS
SELECT
rai_type AS RAItemType,
cast(srcdoc_comp as farr_cds_rai_srcdoc_comp preserving type) AS RevnAcctgSenderComponent,
srcdoc_logsys AS RASndgCompLogicalSystem,
cast(srcdoc_type as farr_cds_rai_srcdoc_type preserving type) AS RASndgCompDocumentItemType,
cast(srcdoc_id as farr_cds_rai_srcdoc_id preserving type) AS RASndgCompDocumentItem,
timestamp_utc AS RAItemLastChangeDateTime,
condition_type AS ConditionType,
pl_account AS RAProfitAndLossAccount,
betrw AS RevnAcctgPostgAmtInSlsDocCrcy,
waers AS SalesDocumentCurrency,
betrh AS RevnAcctgPostgAmtInCoCodeCrcy,
hwaer AS CompanyCodeCurrency,
betr2 AS RevnAcctgPostgAmtInAddlCrcy1,
hwae2 AS AdditionalCurrency1,
betr3 AS RevnAcctgPostgAmtInAddlCrcy2,
hwae3 AS AdditionalCurrency2,
cast(percentage as farr_cds_percentage preserving type) AS RAConditionItemPercent,
statistic AS RAConditionItemIsStatistical,
category AS RevnAcctgConditionCategory,
main_cond_type AS RAConditionItemIsMainCondition,
cast(xplacc_det as farr_cds_xplacc_det preserving type) AS ProfitLostAccountIsDtmndByRA,
cast('1' as farr_cds_rai_status) AS RAItemStatus,
_PostponedMainItem.CompanyCode AS CompanyCode
FROM farr_d_inb_co
LEFT OUTER JOIN I_RAPostponedMainItem AS _PostponedMainItem ON RAItemType = _PostponedMainItem.RAItemType AND RevnAcctgSenderComponent = _PostponedMainItem.RevnAcctgSenderComponent AND RASndgCompLogicalSystem = _PostponedMainItem.RASndgCompLogicalSystem AND RASndgCompDocumentItemType = _PostponedMainItem.RASndgCompDocumentItemType AND RASndgCompDocumentItem = _PostponedMainItem.RASndgCompDocumentItem AND RAItemLastChangeDateTime = _PostponedMainItem.RAItemLastChangeDateTime -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON SalesDocumentCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency1 ON AdditionalCurrency1 = _AdditionalCurrency1.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency2 ON AdditionalCurrency2 = _AdditionalCurrency2.Currency -- association [0..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