P_ReportedFinancialData_RT_01

DDL: P_REPORTEDFINANCIALDATA_RT_01 SQL: PREPFINDRT_01 Type: view COMPOSITE

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)

SourceAliasJoin Type
I_SAPClient _SAPClient inner
I_JournalEntryItem I_JournalEntryItem from
t881 t881 inner
tf165 tf165 left_outer
tf200 tf200 left_outer

Parameters (2)

NameTypeDefault
p_timestamp_from timestamp
p_timestamp_to timestamp

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;