P_RealTimeRptdFinData_01

DDL: P_REALTIMERPTDFINDATA_01 SQL: PREALTIMERFD_01 Type: view COMPOSITE

P_RealTimeRptdFinData_01 is a Composite CDS View in SAP S/4HANA. It reads from 8 data sources and exposes 39 fields.

Data Sources (8)

SourceAliasJoin Type
I_SAPClient _SAPClient inner
I_CnsldtnVersion I_CnsldtnVersion inner
I_CompanyCode I_CompanyCode inner
I_FiscalCalendarDate I_FiscalCalendarDate inner
I_JournalEntryItem Source from
t881 t881 inner
tf165 tf165 inner
tfin010 tfin010 inner

Parameters (2)

NameTypeDefault
P_CreationDateTimeRgFr timestamp
P_CreationDateTimeRgTo timestamp

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PREALTIMERFD_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 (39)

KeyFieldSource TableSource FieldDescription
gcurrendasGroupCurrency
ConsolidationDimension tfin010 dimen Dimension Unit
ConsolidationUnit tfin010 bunit Consolidation Unit
ReferenceChartOfAccounts I_CompanyCode ChartOfAccounts Node Class
ConsolidationVersion I_CnsldtnVersion ConsolidationVersion Version
FSItemMappingVersion I_CnsldtnVersion FSItemMappingVersion
CnsldtnUnitGroupCrcySource tf168 curr_group_send GroupCrcySource
ConsolidationLedger t881 rldnr Ledger (Compat.)
FiscalPeriod I_FiscalCalendarDate FiscalPeriod Tax period
FiscalYear I_FiscalCalendarDate FiscalYear G/L Fiscal Year
FiscalYearPeriod I_FiscalCalendarDate FiscalYearPeriod Period/Year
PartnerCompany I_JournalEntryItem PartnerCompany Trading Partner
BalanceTransactionCurrency I_JournalEntryItem BalanceTransactionCurrency Currency
BaseUnit I_JournalEntryItem BaseUnit Unit of Measure
FinancialTransactionType I_JournalEntryItem FinancialTransactionType Transact. Type
FunctionalArea I_JournalEntryItem FunctionalArea Sendr Fctl Area
BusinessArea I_JournalEntryItem BusinessArea Business Area
CostCenter I_JournalEntryItem CostCenter Cost Center
GLAccount I_JournalEntryItem GLAccount General Ledger
ProfitCenter I_JournalEntryItem ProfitCenter Profit Center
AmountInTransactionCurrency I_JournalEntryItem AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
AmountInLocalCurrency I_JournalEntryItem AmountInCompanyCodeCurrency Local Crcy Amt
AmountInGroupCurrency I_JournalEntryItem AmountInGlobalCurrency Amount in Global Currency
QuantityInBaseUnit I_JournalEntryItem Quantity Value
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
Segment I_JournalEntryItem Segment Segment number
CompanyCode I_JournalEntryItem CompanyCode Receiver Company Code
SourceLedger I_JournalEntryItem SourceLedger Source Ledger
Ledger I_JournalEntryItem Ledger Ledger
LedgerGLLineItem I_JournalEntryItem LedgerGLLineItem Journal Entry Item
AccountingDocument I_JournalEntryItem AccountingDocument Journal Entry
ReferenceFiscalYear I_JournalEntryItem 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_RealTimeRptdFinData_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: PREALTIMERFD_01
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp

CREATE VIEW P_RealTimeRptdFinData_01 AS
SELECT
  case when t881.curt2 = '30' then _SAPClient.GroupCurrency else t881.gcurr end as GroupCurrency AS gcurrendasGroupCurrency,
  tfin010.dimen AS ConsolidationDimension,
  tfin010.bunit AS ConsolidationUnit,
  I_CompanyCode.ChartOfAccounts AS ReferenceChartOfAccounts,
  I_CnsldtnVersion.ConsolidationVersion AS ConsolidationVersion,
  I_CnsldtnVersion.FSItemMappingVersion AS FSItemMappingVersion,
  tf168.curr_group_send AS CnsldtnUnitGroupCrcySource,
  t881.rldnr AS ConsolidationLedger,
  I_FiscalCalendarDate.FiscalPeriod AS FiscalPeriod,
  I_FiscalCalendarDate.FiscalYear AS FiscalYear,
  I_FiscalCalendarDate.FiscalYearPeriod AS FiscalYearPeriod,
  Source.PartnerCompany AS PartnerCompany,
  Source.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  Source.BaseUnit AS BaseUnit,
  Source.FinancialTransactionType AS FinancialTransactionType,
  Source.FunctionalArea AS FunctionalArea,
  Source.BusinessArea AS BusinessArea,
  Source.CostCenter AS CostCenter,
  Source.GLAccount AS GLAccount,
  Source.ProfitCenter AS ProfitCenter,
  Source.AmountInBalanceTransacCrcy AS AmountInTransactionCurrency,
  Source.AmountInCompanyCodeCurrency AS AmountInLocalCurrency,
  Source.AmountInGlobalCurrency AS AmountInGroupCurrency,
  Source.Quantity AS QuantityInBaseUnit,
  Source.AmountInFreeDefinedCurrency1 AS osl,
  Source.AmountInFreeDefinedCurrency2 AS vsl,
  Source.AmountInFreeDefinedCurrency3 AS bsl,
  Source.AmountInFreeDefinedCurrency4 AS csl,
  Source.AmountInFreeDefinedCurrency5 AS dsl,
  Source.AmountInFreeDefinedCurrency6 AS esl,
  Source.AmountInFreeDefinedCurrency7 AS fsl,
  Source.AmountInFreeDefinedCurrency8 AS gsl,
  Source.Segment AS Segment,
  Source.CompanyCode AS CompanyCode,
  Source.SourceLedger AS SourceLedger,
  Source.Ledger AS Ledger,
  Source.LedgerGLLineItem AS LedgerGLLineItem,
  Source.AccountingDocument AS AccountingDocument,
  Source.FiscalYear AS ReferenceFiscalYear
FROM I_JournalEntryItem AS Source
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
INNER JOIN tfin010 ON /* join condition not captured in parsed metadata */
INNER 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 */
INNER JOIN I_CnsldtnVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_FiscalCalendarDate ON /* join condition not captured in parsed metadata */
;