P_RealTimeRptdFinData_04

DDL: P_REALTIMERPTDFINDATA_04 SQL: PREALTIMERFD_04 Type: view COMPOSITE

P_RealTimeRptdFinData_04 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_RealTimeRptdFinData_03) and exposes 51 fields.

Data Sources (1)

SourceAliasJoin Type
P_RealTimeRptdFinData_03 P_RealTimeRptdFinData_03 from

Parameters (2)

NameTypeDefault
P_CreationDateTimeRgFr timestamp
P_CreationDateTimeRgTo timestamp

Annotations (12)

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

KeyFieldSource TableSource FieldDescription
SubItemendendasSubItem
BaseUnitendendasBaseUnit
SubItemCategory Source SubItemCategory Subitem Category
CnsldtnSubitemSource Source CnsldtnSubitemSource Sender Field Subitem
BreakdownCategory Source BreakdownCategory
FinancialStatementItem Source FinancialStatementItem FS Item
ConsolidationChartOfAccounts Source ConsolidationChartOfAccounts Cons. COA
ConsolidationUnitLocalCurrency Source ConsolidationUnitLocalCurrency
CnsldtnUnitLocalCrcySource Source CnsldtnUnitLocalCrcySource
ConsolidationDimension Source ConsolidationDimension Dimension
ConsolidationUnit Source ConsolidationUnit Consolidation Unit
ConsolidationVersion Source ConsolidationVersion Version
ConsolidationLedger Source ConsolidationLedger Ledger
GroupCurrency Source GroupCurrency Ledger curr.
CnsldtnUnitGroupCrcySource Source CnsldtnUnitGroupCrcySource
FiscalPeriod Source FiscalPeriod Tax period
FiscalYear Source FiscalYear G/L Fiscal Year
BalanceTransactionCurrency Source BalanceTransactionCurrency Currency
FinancialTransactionType Source FinancialTransactionType Transact. Type
FunctionalArea Source FunctionalArea Sendr Fctl Area
BusinessArea Source BusinessArea Business Area
CostCenter Source CostCenter Cost Center
GLAccount Source GLAccount General Ledger
ProfitCenter Source ProfitCenter Profit Center
AmountInTransactionCurrency Source AmountInTransactionCurrency Pt Crcy Amt
AmountInLocalCurrency Source AmountInLocalCurrency Local Crcy Amt
AmountInGroupCurrency Source AmountInGroupCurrency Amnt in GrpCrcy
osl Source osl Other Crcy Amnt
vsl Source vsl Amount in Currency 2
bsl Source bsl Exchange Key
csl Source csl Amount in Currency 4
dsl Source dsl Amount in Currency 5
esl Source esl Amount in Currency 6
fsl Source fsl Amount in Currency 7
gsl Source gsl Amount in Currency 8
Segment Source Segment Segment number
FinancialServicesProductGroup Source FinancialServicesProductGroup Product Group (FS)
FinancialServicesBranch Source FinancialServicesBranch Branch (FS)
FinancialDataSource Source FinancialDataSource Data Source
FinancialManagementArea Source FinancialManagementArea FM Area
GrantID Source GrantID Sender Grant
Fund Source Fund Sender Fund
PartnerFund Source PartnerFund Receiver Fund
CashLedgerAccount Source CashLedgerAccount Cash Origin Account
CnsldtnCashLedgerChartOfAccts Source CnsldtnCashLedgerChartOfAccts
CompanyCode Source CompanyCode Receiver Company Code
SourceLedger Source SourceLedger Source Ledger
Ledger Source Ledger Ledger
LedgerGLLineItem Source LedgerGLLineItem Journal Entry Item
AccountingDocument Source AccountingDocument Journal Entry
ReferenceFiscalYear Source ReferenceFiscalYear Original FY

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_04.
-- 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_04
-- Parameters: P_CreationDateTimeRgFr : timestamp, P_CreationDateTimeRgTo : timestamp

CREATE VIEW P_RealTimeRptdFinData_04 AS
SELECT
  case when tf103a_subit.BreakdownType = '0' or tf103a_subit.BreakdownType is null then '' when tf103a_subit.BreakdownType = '1' or tf103a_subit.BreakdownType = '4' then Source.SubItem when tf103a_subit.BreakdownType = '2' or tf103a_subit.BreakdownType = '3' then case Source.SubItem when '' then coalesce(tf040_subit.CnsldtnSubassignmentValue,'') else Source.SubItem end end as SubItem AS SubItemendendasSubItem,
  case when tf103a_runit.BreakdownType = '0' or tf103a_runit.BreakdownType is null then '' when tf103a_runit.BreakdownType = '3' then case Source.BaseUnit when '' then coalesce(tf103a_runit.BreakdownCategoryFixedValue, '') else Source.BaseUnit end end as BaseUnit AS BaseUnitendendasBaseUnit,
  Source.SubItemCategory AS SubItemCategory,
  Source.CnsldtnSubitemSource AS CnsldtnSubitemSource,
  Source.BreakdownCategory AS BreakdownCategory,
  Source.FinancialStatementItem AS FinancialStatementItem,
  Source.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
  Source.ConsolidationUnitLocalCurrency AS ConsolidationUnitLocalCurrency,
  Source.CnsldtnUnitLocalCrcySource AS CnsldtnUnitLocalCrcySource,
  Source.ConsolidationDimension AS ConsolidationDimension,
  Source.ConsolidationUnit AS ConsolidationUnit,
  Source.ConsolidationVersion AS ConsolidationVersion,
  Source.ConsolidationLedger AS ConsolidationLedger,
  Source.GroupCurrency AS GroupCurrency,
  Source.CnsldtnUnitGroupCrcySource AS CnsldtnUnitGroupCrcySource,
  Source.FiscalPeriod AS FiscalPeriod,
  Source.FiscalYear AS FiscalYear,
  Source.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  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.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  Source.AmountInLocalCurrency AS AmountInLocalCurrency,
  Source.AmountInGroupCurrency AS AmountInGroupCurrency,
  Source.osl AS osl,
  Source.vsl AS vsl,
  Source.bsl AS bsl,
  Source.csl AS csl,
  Source.dsl AS dsl,
  Source.esl AS esl,
  Source.fsl AS fsl,
  Source.gsl AS gsl,
  Source.Segment AS Segment,
  Source.FinancialServicesProductGroup AS FinancialServicesProductGroup,
  Source.FinancialServicesBranch AS FinancialServicesBranch,
  Source.FinancialDataSource AS FinancialDataSource,
  Source.FinancialManagementArea AS FinancialManagementArea,
  Source.GrantID AS GrantID,
  Source.Fund AS Fund,
  Source.PartnerFund AS PartnerFund,
  Source.CashLedgerAccount AS CashLedgerAccount,
  Source.CnsldtnCashLedgerChartOfAccts AS CnsldtnCashLedgerChartOfAccts,
  Source.CompanyCode AS CompanyCode,
  Source.SourceLedger AS SourceLedger,
  Source.Ledger AS Ledger,
  Source.LedgerGLLineItem AS LedgerGLLineItem,
  Source.AccountingDocument AS AccountingDocument,
  Source.ReferenceFiscalYear AS ReferenceFiscalYear
FROM P_RealTimeRptdFinData_03
;