P_ReportedFinancialData_RT_07

DDL: P_REPORTEDFINANCIALDATA_RT_07 SQL: PREPFINDRT_07 Type: view COMPOSITE

P_ReportedFinancialData_RT_07 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ReportedFinancialData_RT_06) and exposes 41 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_ReportedFinancialData_RT_06 P_ReportedFinancialData_RT_06 from

Parameters (2)

NameTypeDefault
p_timestamp_from timestamp
p_timestamp_to timestamp

Associations (1)

CardinalityTargetAliasCondition
[1..1] acdoca _acdoca P_ReportedFinancialData_RT_06.rldnr_fin = _acdoca.rldnr and P_ReportedFinancialData_RT_06.robukrs = _acdoca.rbukrs and P_ReportedFinancialData_RT_06.refryear = _acdoca.gjahr and P_ReportedFinancialData_RT_06.belnr = _acdoca.belnr and P_ReportedFinancialData_RT_06.docln_fin = _acdoca.docln

Annotations (12)

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

KeyFieldSource TableSource FieldDescription
rdimen P_ReportedFinancialData_RT_06 rdimen Dimension
rldnr_fin P_ReportedFinancialData_RT_06 rldnr_fin
docln_fin P_ReportedFinancialData_RT_06 docln_fin
ritclg P_ReportedFinancialData_RT_06 ritclg Consolidation COA
robukrs P_ReportedFinancialData_RT_06 robukrs Orig. CC
rbuptr P_ReportedFinancialData_RT_06 rbuptr Partner Unit
rvers P_ReportedFinancialData_RT_06 rvers Version: Tax rt
rbunit P_ReportedFinancialData_RT_06 rbunit Consolidation Unit
budat P_ReportedFinancialData_RT_06 budat Posting Date
belnr P_ReportedFinancialData_RT_06 belnr SD Document
docln P_ReportedFinancialData_RT_06 docln Matching Document Line Item
rldnr P_ReportedFinancialData_RT_06 rldnr Ledger (Compat.)
runit P_ReportedFinancialData_RT_06 runit Unit/Area
poper P_ReportedFinancialData_RT_06 poper Posting periods
ryear P_ReportedFinancialData_RT_06 ryear Ref. Year1
ritem P_ReportedFinancialData_RT_06 ritem Reporting Item
sityp P_ReportedFinancialData_RT_06 sityp Trip Schedule Type
subit P_ReportedFinancialData_RT_06 subit Subitem
rmvct rmvct Transact. Type
rfarea rfarea R FuncArea
rbusa rbusa Business Area
rcntr rcntr Cost Center
racct racct GL Account From
prctr prctr Profit Centers
segment segment Segment number
docty P_ReportedFinancialData_RT_06 docty Document Type
tslendastsl
hsl P_ReportedFinancialData_RT_06 hsl Local Crcy Amt
ksl P_ReportedFinancialData_RT_06 ksl GrpCurr
msl P_ReportedFinancialData_RT_06 msl Stat. KeyFig. Qty
rlcurr P_ReportedFinancialData_RT_06 rlcurr
rgcurr P_ReportedFinancialData_RT_06 rgcurr
activ P_ReportedFinancialData_RT_06 activ Transaction
refdocnr P_ReportedFinancialData_RT_06 refdocnr Reference
refryear P_ReportedFinancialData_RT_06 refryear Reference year
refactiv P_ReportedFinancialData_RT_06 refactiv Ref. Transactn
usnam P_ReportedFinancialData_RT_06 usnam User Name
awtyp P_ReportedFinancialData_RT_06 awtyp Reference Document Type
aworg P_ReportedFinancialData_RT_06 aworg Refer. Org.Unit
logsys P_ReportedFinancialData_RT_06 logsys Source system
_acdoca _acdoca

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_07.
-- 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_07
-- Parameters: p_timestamp_from : timestamp, p_timestamp_to : timestamp

CREATE VIEW P_ReportedFinancialData_RT_07 AS
SELECT
  P_ReportedFinancialData_RT_06.rdimen AS rdimen,
  P_ReportedFinancialData_RT_06.rldnr_fin AS rldnr_fin,
  P_ReportedFinancialData_RT_06.docln_fin AS docln_fin,
  P_ReportedFinancialData_RT_06.ritclg AS ritclg,
  P_ReportedFinancialData_RT_06.robukrs AS robukrs,
  P_ReportedFinancialData_RT_06.rbuptr AS rbuptr,
  P_ReportedFinancialData_RT_06.rvers AS rvers,
  P_ReportedFinancialData_RT_06.rbunit AS rbunit,
  P_ReportedFinancialData_RT_06.budat AS budat,
  P_ReportedFinancialData_RT_06.belnr AS belnr,
  P_ReportedFinancialData_RT_06.docln AS docln,
  P_ReportedFinancialData_RT_06.rldnr AS rldnr,
  P_ReportedFinancialData_RT_06.runit AS runit,
  P_ReportedFinancialData_RT_06.poper AS poper,
  P_ReportedFinancialData_RT_06.ryear AS ryear,
  P_ReportedFinancialData_RT_06.ritem AS ritem,
  P_ReportedFinancialData_RT_06.sityp AS sityp,
  P_ReportedFinancialData_RT_06.subit AS subit,
  rmvct,
  rfarea,
  rbusa,
  rcntr,
  racct,
  prctr,
  segment,
  P_ReportedFinancialData_RT_06.docty AS docty,
  case when tf103a_rtcur.BreakdownType = '' or tf103a_rtcur.BreakdownType is null then case I_CnsldtnUnit.DocumentEntryIsInGroupCurrency when '' then P_ReportedFinancialData_RT_06.hsl when 'X' then P_ReportedFinancialData_RT_06.ksl end when tf103a_rtcur.BreakdownType = '2' then P_ReportedFinancialData_RT_06.tsl end as tsl AS tslendastsl,
  P_ReportedFinancialData_RT_06.hsl AS hsl,
  P_ReportedFinancialData_RT_06.ksl AS ksl,
  P_ReportedFinancialData_RT_06.msl AS msl,
  P_ReportedFinancialData_RT_06.rlcurr AS rlcurr,
  P_ReportedFinancialData_RT_06.rgcurr AS rgcurr,
  P_ReportedFinancialData_RT_06.activ AS activ,
  P_ReportedFinancialData_RT_06.refdocnr AS refdocnr,
  P_ReportedFinancialData_RT_06.refryear AS refryear,
  P_ReportedFinancialData_RT_06.refactiv AS refactiv,
  P_ReportedFinancialData_RT_06.usnam AS usnam,
  P_ReportedFinancialData_RT_06.awtyp AS awtyp,
  P_ReportedFinancialData_RT_06.aworg AS aworg,
  P_ReportedFinancialData_RT_06.logsys AS logsys
FROM P_ReportedFinancialData_RT_06
LEFT OUTER JOIN acdoca AS _acdoca ON P_ReportedFinancialData_RT_06.rldnr_fin = _acdoca.rldnr AND P_ReportedFinancialData_RT_06.robukrs = _acdoca.rbukrs AND P_ReportedFinancialData_RT_06.refryear = _acdoca.gjahr AND P_ReportedFinancialData_RT_06.belnr = _acdoca.belnr AND P_ReportedFinancialData_RT_06.docln_fin = _acdoca.docln  -- association [1..1]
;