P_ReportedFinancialData_RT_01
P_ReportedFinancialData_RT_01 is a Composite CDS View in SAP S/4HANA. It reads from 5 data sources (I_SAPClient, I_JournalEntryItem, t881, tf165, tf200) and exposes 49 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | _SAPClient | inner |
| I_JournalEntryItem | I_JournalEntryItem | from |
| t881 | t881 | inner |
| tf165 | tf165 | left_outer |
| tf200 | tf200 | left_outer |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| p_timestamp_from | timestamp | |
| p_timestamp_to | timestamp |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PREPFINDRT_01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| rldnr_fin | I_JournalEntryItem | SourceLedger | Source Ledger | |
| docln_fin | I_JournalEntryItem | LedgerGLLineItem | Journal Entry Item | |
| robukrs | I_JournalEntryItem | CompanyCode | Receiver Company Code | |
| rassc | I_JournalEntryItem | PartnerCompany | Trading Partner | |
| budat | I_JournalEntryItem | PostingDate | Posting Date for GR | |
| rtcur | I_JournalEntryItem | BalanceTransactionCurrency | Currency | |
| runit | I_JournalEntryItem | BaseUnit | Unit of Measure | |
| gjahr | I_JournalEntryItem | FiscalYear | G/L Fiscal Year | |
| belnr | I_JournalEntryItem | AccountingDocument | Journal Entry | |
| docln | I_JournalEntryItem | LedgerGLLineItem | Journal Entry Item | |
| sbusa | I_JournalEntryItem | PartnerBusinessArea | Trdg Part.BA | |
| rmvct | I_JournalEntryItem | FinancialTransactionType | Transact. Type | |
| rfarea | I_JournalEntryItem | FunctionalArea | Sendr Fctl Area | |
| rbusa | I_JournalEntryItem | BusinessArea | Business Area | |
| rcntr | I_JournalEntryItem | CostCenter | Cost Center | |
| racct | I_JournalEntryItem | GLAccount | General Ledger | |
| prctr | I_JournalEntryItem | ProfitCenter | Profit Center | |
| blart | I_JournalEntryItem | AccountingDocumentType | Journal Entry Type | |
| tsl | I_JournalEntryItem | AmountInBalanceTransacCrcy | Amount in Balance Transaction Currency | |
| hsl | I_JournalEntryItem | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| ksl | I_JournalEntryItem | AmountInGlobalCurrency | Amount in Global Currency | |
| osl | I_JournalEntryItem | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | |
| vsl | I_JournalEntryItem | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | |
| bsl | I_JournalEntryItem | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | |
| csl | I_JournalEntryItem | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | |
| dsl | I_JournalEntryItem | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | |
| esl | I_JournalEntryItem | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | |
| fsl | I_JournalEntryItem | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | |
| gsl | I_JournalEntryItem | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | |
| msl | I_JournalEntryItem | Quantity | Value | |
| activ | ||||
| refdocnr | I_JournalEntryItem | ReferenceDocument | Reference Document | |
| refryear | I_JournalEntryItem | FiscalYear | G/L Fiscal Year | |
| refactiv | ||||
| usnam | I_JournalEntryItem | AccountingDocCreatedByUser | User which created overhead document | |
| awtyp | I_JournalEntryItem | ReferenceDocumentType | Reference Document Type | |
| aworg | I_JournalEntryItem | ReferenceDocumentContext | Reference Document Context | |
| logsys | I_JournalEntryItem | LogicalSystem | Logical System | |
| timestamp | I_JournalEntryItem | CreationDateTime | Timestamp | |
| Segment | I_JournalEntryItem | Segment | Segment number | |
| rdimen | tfin010 | dimen | Dimension Unit | |
| rbunit | tfin010 | bunit | Consolidation Unit | |
| rvers | tf200 | rvers | Version: Tax rt | |
| impvs | tf200 | impvs | Mapping Version | |
| ktopl | I_CompanyCode | ChartOfAccounts | Node Class | |
| rldnr | t881 | rldnr | Ledger (Compat.) | |
| const_zero | ||||
| poper | I_FiscalCalendarDate | FiscalPeriod | Tax period | |
| ryear | I_FiscalCalendarDate | FiscalYear | G/L Fiscal Year |
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 P_ReportedFinancialData_RT_01.
-- 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.
-- SQL view name: PREPFINDRT_01
-- Parameters: p_timestamp_from : timestamp, p_timestamp_to : timestamp
CREATE VIEW P_ReportedFinancialData_RT_01 AS
SELECT
I_JournalEntryItem.SourceLedger AS rldnr_fin,
I_JournalEntryItem.LedgerGLLineItem AS docln_fin,
I_JournalEntryItem.CompanyCode AS robukrs,
I_JournalEntryItem.PartnerCompany AS rassc,
I_JournalEntryItem.PostingDate AS budat,
I_JournalEntryItem.BalanceTransactionCurrency AS rtcur,
I_JournalEntryItem.BaseUnit AS runit,
I_JournalEntryItem.FiscalYear AS gjahr,
I_JournalEntryItem.AccountingDocument AS belnr,
I_JournalEntryItem.LedgerGLLineItem AS docln,
I_JournalEntryItem.PartnerBusinessArea AS sbusa,
I_JournalEntryItem.FinancialTransactionType AS rmvct,
I_JournalEntryItem.FunctionalArea AS rfarea,
I_JournalEntryItem.BusinessArea AS rbusa,
I_JournalEntryItem.CostCenter AS rcntr,
I_JournalEntryItem.GLAccount AS racct,
I_JournalEntryItem.ProfitCenter AS prctr,
I_JournalEntryItem.AccountingDocumentType AS blart,
I_JournalEntryItem.AmountInBalanceTransacCrcy AS tsl,
I_JournalEntryItem.AmountInCompanyCodeCurrency AS hsl,
I_JournalEntryItem.AmountInGlobalCurrency AS ksl,
I_JournalEntryItem.AmountInFreeDefinedCurrency1 AS osl,
I_JournalEntryItem.AmountInFreeDefinedCurrency2 AS vsl,
I_JournalEntryItem.AmountInFreeDefinedCurrency3 AS bsl,
I_JournalEntryItem.AmountInFreeDefinedCurrency4 AS csl,
I_JournalEntryItem.AmountInFreeDefinedCurrency5 AS dsl,
I_JournalEntryItem.AmountInFreeDefinedCurrency6 AS esl,
I_JournalEntryItem.AmountInFreeDefinedCurrency7 AS fsl,
I_JournalEntryItem.AmountInFreeDefinedCurrency8 AS gsl,
I_JournalEntryItem.Quantity AS msl,
'' AS activ,
I_JournalEntryItem.ReferenceDocument AS refdocnr,
I_JournalEntryItem.FiscalYear AS refryear,
'' AS refactiv,
I_JournalEntryItem.AccountingDocCreatedByUser AS usnam,
I_JournalEntryItem.ReferenceDocumentType AS awtyp,
I_JournalEntryItem.ReferenceDocumentContext AS aworg,
I_JournalEntryItem.LogicalSystem AS logsys,
I_JournalEntryItem.CreationDateTime AS timestamp,
I_JournalEntryItem.Segment AS Segment,
tfin010.dimen AS rdimen,
tfin010.bunit AS rbunit,
tf200.rvers AS rvers,
tf200.impvs AS impvs,
I_CompanyCode.ChartOfAccounts AS ktopl,
t881.rldnr AS rldnr,
cast('000000000000000' as timestamp) AS const_zero,
I_FiscalCalendarDate.FiscalPeriod AS poper,
I_FiscalCalendarDate.FiscalYear AS ryear
FROM I_JournalEntryItem
LEFT OUTER JOIN tf165 ON /* join condition not captured in parsed metadata */
INNER JOIN I_SAPClient AS _SAPClient ON /* join condition not captured in parsed metadata */
INNER JOIN t881 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tf200 ON /* join condition not captured in parsed metadata */
;
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