I_RAPostingWithoutAcctAssgmt
Posting Without Acct Assgmt
I_RAPostingWithoutAcctAssgmt is a Basic CDS View that provides data about "Posting Without Acct Assgmt" in SAP S/4HANA. It reads from 1 data source (farr_d_posting) and exposes 41 fields with key fields CompanyCode, AccountingPrinciple, RevnAcctgReconciliationKey, PerformanceObligation, ConditionType. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| farr_d_posting | post | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_AccountingPrinciple | _AccountingPrinciple | $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple |
| [1..1] | I_RevnAcctgReconciliationKey | _RevnAcctgReconciliationKey | $projection.CompanyCode = _RevnAcctgReconciliationKey.CompanyCode and $projection.AccountingPrinciple = _RevnAcctgReconciliationKey.AccountingPrinciple and $projection.RevenueAccountingContract = _RevnAcctgReconciliationKey.RevenueAccountingContract and $projection.RevnAcctgReconciliationKey = _RevnAcctgReconciliationKey.RevnAcctgReconciliationKey |
| [1..1] | I_RAPerformanceObligation | _RAPerformanceObligation | $projection.PerformanceObligation = _RAPerformanceObligation.PerformanceObligation |
| [1..1] | I_RAPostingCategory | _RAPostingCategory | $projection.RevnAcctgPostingCategory = _RAPostingCategory.RevnAcctgPostingCategory |
| [1..1] | I_DebitCreditCode | _DebitCreditCode | $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode |
| [1..1] | I_RevenueAccountingContract | _RevenueAccountingContract | $projection.RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract |
| [1..1] | I_Currency | _Currency | $projection.SalesDocumentCurrency = _Currency.Currency |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [1..1] | I_Currency | _AdditionalCurrency1 | $projection.AdditionalCurrency1 = _AdditionalCurrency1.Currency |
| [1..1] | I_Currency | _AdditionalCurrency2 | $projection.AdditionalCurrency2 = _AdditionalCurrency2.Currency |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
| [0..1] | I_RevenueAccountingInvoice | _Invoice | $projection.RevnAcctgInvoiceUUID = _Invoice.RevnAcctgInvoiceUUID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Posting Without Acct Assgmt | 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 | CompanyCode | company_code | Company Code | |
| KEY | AccountingPrinciple | acct_principle | Accounting Principle | |
| KEY | RevnAcctgReconciliationKey | recon_key | Reconcil. Key | |
| KEY | PerformanceObligation | POB | ||
| KEY | ConditionType | condition_type | RAI Condition Type | |
| KEY | RevnAcctgPostingCategory | post_cat | Update to FI | |
| KEY | DebitCreditCode | shkzg | Returns | |
| KEY | RevnAcctgPostingItemUUID | guid | UUID 22 char. | |
| RevenueAccountingContract | Contract ID | |||
| RevnAcctgPostgAmtInSlsDocCrcy | betrw | Reduction Amt | ||
| SalesDocumentCurrency | waers | Transaction Currency | ||
| RevnAcctgPostgAmtInCoCodeCrcy | 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 | ||
| RAPostingItemLastChgDateTime | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| ConditionIsForStatistics | statistic | Statistical | ||
| FiscalYear | Settlement Year | |||
| FiscalYearPeriod | ||||
| RevnAcctgInvoiceUUID | invoice_guid | Invoice GUID | ||
| RevnAcctgSenderComponent | srcdoc_comp | Source Comp. | ||
| RASndgCompLogicalSystem | srcdoc_logsys | Source System | ||
| RASndgCompDocumentItemType | srcdoc_type | SrcItemType | ||
| RASndgCompDocumentItem | srcdoc_id | Src. Item ID | ||
| FiscalPeriod | poper | Posting periods | ||
| RAContrLiabilityAssetIsCalcd | _RevnAcctgReconciliationKey | RAContrLiabilityAssetIsCalcd | ||
| _CompanyCode | _CompanyCode | |||
| _AccountingPrinciple | _AccountingPrinciple | |||
| _RevnAcctgReconciliationKey | _RevnAcctgReconciliationKey | |||
| _RAPerformanceObligation | _RAPerformanceObligation | |||
| _RAPostingCategory | _RAPostingCategory | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _RevenueAccountingContract | _RevenueAccountingContract | |||
| _Currency | _Currency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _AdditionalCurrency1 | _AdditionalCurrency1 | |||
| _AdditionalCurrency2 | _AdditionalCurrency2 | |||
| _FiscalYear | _FiscalYear | |||
| _Invoice | _Invoice |
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_RAPostingWithoutAcctAssgmt.
-- 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_RAPostingWithoutAcctAssgmt AS
SELECT
company_code AS CompanyCode,
acct_principle AS AccountingPrinciple,
recon_key AS RevnAcctgReconciliationKey,
cast(pob_id as farr_cds_pob_id preserving type) AS PerformanceObligation,
condition_type AS ConditionType,
post_cat AS RevnAcctgPostingCategory,
shkzg AS DebitCreditCode,
guid AS RevnAcctgPostingItemUUID,
cast(contract_id as farr_cds_contract_id preserving type) AS RevenueAccountingContract,
betrw AS RevnAcctgPostgAmtInSlsDocCrcy,
waers AS SalesDocumentCurrency,
cast(betrh as farr_cds_postg_revn_company preserving type) AS RevnAcctgPostgAmtInCoCodeCrcy,
hwaer AS CompanyCodeCurrency,
betr2 AS RevnAcctgPostgAmtInAddlCrcy1,
hwae2 AS AdditionalCurrency1,
betr3 AS RevnAcctgPostgAmtInAddlCrcy2,
hwae3 AS AdditionalCurrency2,
timestamp AS RAPostingItemLastChgDateTime,
statistic AS ConditionIsForStatistics,
cast(gjahr as fis_gjahr preserving type) AS FiscalYear,
cast(substring(recon_key, 1, 7) as fis_jahrper_conv) AS FiscalYearPeriod,
invoice_guid AS RevnAcctgInvoiceUUID,
srcdoc_comp AS RevnAcctgSenderComponent,
srcdoc_logsys AS RASndgCompLogicalSystem,
srcdoc_type AS RASndgCompDocumentItemType,
srcdoc_id AS RASndgCompDocumentItem,
poper AS FiscalPeriod,
_RevnAcctgReconciliationKey.RAContrLiabilityAssetIsCalcd AS RAContrLiabilityAssetIsCalcd
FROM farr_d_posting AS post
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple -- association [1..1]
LEFT OUTER JOIN I_RevnAcctgReconciliationKey AS _RevnAcctgReconciliationKey ON CompanyCode = _RevnAcctgReconciliationKey.CompanyCode AND AccountingPrinciple = _RevnAcctgReconciliationKey.AccountingPrinciple AND RevenueAccountingContract = _RevnAcctgReconciliationKey.RevenueAccountingContract AND RevnAcctgReconciliationKey = _RevnAcctgReconciliationKey.RevnAcctgReconciliationKey -- association [1..1]
LEFT OUTER JOIN I_RAPerformanceObligation AS _RAPerformanceObligation ON PerformanceObligation = _RAPerformanceObligation.PerformanceObligation -- association [1..1]
LEFT OUTER JOIN I_RAPostingCategory AS _RAPostingCategory ON RevnAcctgPostingCategory = _RAPostingCategory.RevnAcctgPostingCategory -- association [1..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode -- association [1..1]
LEFT OUTER JOIN I_RevenueAccountingContract AS _RevenueAccountingContract ON RevenueAccountingContract = _RevenueAccountingContract.RevenueAccountingContract -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON SalesDocumentCurrency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency1 ON AdditionalCurrency1 = _AdditionalCurrency1.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency2 ON AdditionalCurrency2 = _AdditionalCurrency2.Currency -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_RevenueAccountingInvoice AS _Invoice ON RevnAcctgInvoiceUUID = _Invoice.RevnAcctgInvoiceUUID -- 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