P_ReportedFinancialData

DDL: P_REPORTEDFINANCIALDATA SQL: PREPORTEDFINDATA Type: view COMPOSITE

P_ReportedFinancialData is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_CnsldtnGroupJrnlEntryItemHC, P_CnsldtnGroupJrnlEntryItemHC) and exposes 204 fields.

Data Sources (2)

SourceAliasJoin Type
P_CnsldtnGroupJrnlEntryItemHC P_CnsldtnGroupJrnlEntryItemHC from
P_CnsldtnGroupJrnlEntryItemHC P_CnsldtnGroupJrnlEntryItemHC union_all

Annotations (12)

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

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
gl_sirid
rldnr ConsolidationLedger Ledger
rrcty Record Type
rvers ConsolidationVersion Version
ryear FiscalYear G/L Fiscal Year
rtcur TransactionCurrency Transaction Currency
rhcur LocalCurrency Local Currency
rkcur GroupCurrency Ledger curr.
runit BaseUnit Unit of Measure
drcrk
poper FiscalPeriod Tax period
fiscyearper FiscalYearPeriod Period/Year
docct DocumentCategory Document Category
docnr CnsldtnGroupJrnlEntry
docln CnsldtnGroupJrnlEntryItem
rcomp Company Owner
rdimen ConsolidationDimension Dimension
rbunit ConsolidationUnit Consolidation Unit
ritclg ConsolidationChartOfAccounts Cons. COA
ritem FinancialStatementItem FS Item
rbuptr PartnerConsolidationUnit Partner Unit
rcongr ConsolidationGroup Cons. Group
robukrs CompanyCode Receiver Company Code
sityp SubItemCategory Subitem Category
subit SubItem Subitem Number
plevl PostingLevel Posting Level
rpflg ConsolidationApportionment Apportionment
rtflg CurrencyConversionsDiffType CT Indicator
docty ConsolidationDocumentType Document Type
yracq ConsolidationAcquisitionYear Acquis. Year
pracq ConsolidationAcquisitionPeriod Period of Acq.
coicu InvesteeConsolidationUnit Investee Unit
updhp
tsl AmountInTransactionCurrency Pt Crcy Amt
hsl AmountInLocalCurrency Local Crcy Amt
ksl AmountInGroupCurrency Amnt in GrpCrcy
msl CnsldtnQuantityInBaseUnit
sgtxt DocumentItemText Text
autom ConsolidationPostgItemAutoFlag Auto. ID
activ BusinessTransactionType Bus.transaction
bvorg bvorg Intercompany Transac
budat PostingDate Posting Date for GR
wsdat CurrencyTranslationDate Value Date
refdocnr RefConsolidationDocumentNumber Document Number
refryear ReferenceFiscalYear Original FY
refdocln RefConsolidationPostingItem Item
refdocct RefConsolidationDocumentType Document Categ.
refactiv RefBusinessTransactionType Bus.transaction
cpudt CreationDate Time Stamp
cputm CreationTime Time of Change
usnam UserID User Name
rvsdocnr ReverseDocument Reversed With
orndocnr ReversedDocument Reversed doc.
coiac InvestmentActivityType C/I Activity
coinr InvestmentActivity Activity Number
revyear ConsolidationDocReversalYear Year of reversal doc
awtyp ReferenceDocumentType Reference Document Type
aworg ReferenceDocumentContext Reference Document Context
logsys LogicalSystem Logical System
timestamp CreationDateTime Timestamp
racct GLAccount General Ledger
rcntr CostCenter Cost Center
prctr ProfitCenter Profit Center
rfarea FunctionalArea Sendr Fctl Area
rbusa BusinessArea Business Area
kokrs ControllingArea Controlling Area
segment Segment Segment number
scntr PartnerCostCenter Sender Cost Ctr
pprctr PartnerProfitCenter Profit Center
sfarea PartnerFunctionalArea Rec. Fntcl Area
sbusa PartnerBusinessArea Trdg Part.BA
rassc PartnerCompany Trading Partner
psegment PartnerSegment Partner Segment
rmvct FinancialTransactionType Transact. Type
matnr Material Vehicle Model
werks Plant Valuation Area
kunnr Customer Sold-to Party
lifnr Supplier Supplier
ps_posid WBSElementExternalID WBS Element External ID
ps_pspid Project WBS Element
fkart BillingDocumentType Billing Type
vkorg SalesOrganization Sales Organization
vtweg DistributionChannel RefDistCh-Cust/Mat.
spart OrganizationDivision Org. Division
matnr_copa SoldProduct Product Sold
matkl SoldProductGroup Product Sold Group
kdgrp CustomerGroup Customer Group
land1 CustomerSupplierCountry Customer or Supplier Country/Region
brsch CustomerSupplierIndustry Industry
bzirk SalesDistrict Sales District
kunre BillToParty Inv. Recipient
kunwe ShipToParty Ship-To Party (obsolete)
CnsldtnAdhocItem CnsldtnAdhocItem
CnsldtnAdhocSet CnsldtnAdhocSet
CnsldtnAdhocSetItem CnsldtnAdhocSetItem
konzs CustomerSupplierCorporateGroup Group
zuonr AssignmentReference Assignment Reference
aufnr OrderID Order ID
xblnr xblnr Reference
matkl_mm MaterialGroup Product Group
ps_psp_pnr WBSElementInternalID WBS Internal ID
gl_sirid
rldnr ConsolidationLedger Ledger
rrcty GLRecordType Record Type
rvers ConsolidationVersion Version
ryear FiscalYear G/L Fiscal Year
rtcur TransactionCurrency Transaction Currency
rhcur LocalCurrency Local Currency
rkcur GroupCurrency Ledger curr.
runit BaseUnit Unit of Measure
drcrk
poper FiscalPeriod Tax period
fiscyearper FiscalYearPeriod Period/Year
docct DocumentCategory Document Category
docnr CnsldtnGroupJrnlEntry
docln CnsldtnGroupJrnlEntryItem
rcomp Company Owner
rdimen ConsolidationDimension Dimension
rbunit ConsolidationUnit Consolidation Unit
ritclg ConsolidationChartOfAccounts Cons. COA
ritem FinancialStatementItem FS Item
rbuptr PartnerConsolidationUnit Partner Unit
rcongr ConsolidationGroup Cons. Group
robukrs CompanyCode Receiver Company Code
sityp SubItemCategory Subitem Category
subit SubItem Subitem Number
plevl PostingLevel Posting Level
rpflg ConsolidationApportionment Apportionment
rtflg CurrencyConversionsDiffType CT Indicator
docty ConsolidationDocumentType Document Type
yracq ConsolidationAcquisitionYear Acquis. Year
pracq ConsolidationAcquisitionPeriod Period of Acq.
coicu InvesteeConsolidationUnit Investee Unit
updhp
tsl AmountInTransactionCurrency Pt Crcy Amt
hsl AmountInLocalCurrency Local Crcy Amt
ksl AmountInGroupCurrency Amnt in GrpCrcy
msl CnsldtnQuantityInBaseUnit
sgtxt DocumentItemText Text
autom ConsolidationPostgItemAutoFlag Auto. ID
activ BusinessTransactionType Bus.transaction
bvorg bvorg Intercompany Transac
budat PostingDate Posting Date for GR
wsdat CurrencyTranslationDate Value Date
refdocnr RefConsolidationDocumentNumber Document Number
refryear ReferenceFiscalYear Original FY
refdocln RefConsolidationPostingItem Item
refdocct RefConsolidationDocumentType Document Categ.
refactiv RefBusinessTransactionType Bus.transaction
cpudt CreationDate Time Stamp
cputm CreationTime Time of Change
usnam UserID User Name
rvsdocnr ReverseDocument Reversed With
orndocnr ReversedDocument Reversed doc.
coiac InvestmentActivityType C/I Activity
coinr InvestmentActivity Activity Number
revyear ConsolidationDocReversalYear Year of reversal doc
awtyp ReferenceDocumentType Reference Document Type
aworg ReferenceDocumentContext Reference Document Context
logsys LogicalSystem Logical System
timestamp CreationDateTime Timestamp
racct GLAccount General Ledger
rcntr CostCenter Cost Center
prctr ProfitCenter Profit Center
rfarea FunctionalArea Sendr Fctl Area
rbusa BusinessArea Business Area
kokrs ControllingArea Controlling Area
segment Segment Segment number
scntr PartnerCostCenter Sender Cost Ctr
pprctr PartnerProfitCenter Profit Center
sfarea PartnerFunctionalArea Rec. Fntcl Area
sbusa PartnerBusinessArea Trdg Part.BA
rassc PartnerCompany Trading Partner
psegment PartnerSegment Partner Segment
rmvct FinancialTransactionType Transact. Type
matnr Material Vehicle Model
werks Plant Valuation Area
kunnr Customer Sold-to Party
lifnr Supplier Supplier
ps_posid WBSElementExternalID WBS Element External ID
ps_pspid Project WBS Element
fkart BillingDocumentType Billing Type
vkorg SalesOrganization Sales Organization
vtweg DistributionChannel RefDistCh-Cust/Mat.
spart OrganizationDivision Org. Division
matnr_copa SoldProduct Product Sold
matkl SoldProductGroup Product Sold Group
kdgrp CustomerGroup Customer Group
land1 CustomerSupplierCountry Customer or Supplier Country/Region
brsch CustomerSupplierIndustry Industry
bzirk SalesDistrict Sales District
kunre BillToParty Inv. Recipient
kunwe ShipToParty Ship-To Party (obsolete)
CnsldtnAdhocItem CnsldtnAdhocItem
CnsldtnAdhocSet CnsldtnAdhocSet
CnsldtnAdhocSetItem CnsldtnAdhocSetItem
konzs CustomerSupplierCorporateGroup Group
zuonr AssignmentReference Assignment Reference
aufnr OrderID Order ID
xblnr xblnr Reference
matkl_mm MaterialGroup Product Group
ps_psp_pnr WBSElementInternalID WBS Internal ID
ktopl ChartOfAccounts Node Class

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.
-- 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: PREPORTEDFINDATA

CREATE VIEW P_ReportedFinancialData AS
SELECT
  rclnt,
  cast('' as gu_recid) AS gl_sirid,
  ConsolidationLedger AS rldnr,
  cast('0' as rrcty) AS rrcty,
  ConsolidationVersion AS rvers,
  FiscalYear AS ryear,
  TransactionCurrency AS rtcur,
  LocalCurrency AS rhcur,
  GroupCurrency AS rkcur,
  BaseUnit AS runit,
  cast('' as shkzg) AS drcrk,
  FiscalPeriod AS poper,
  FiscalYearPeriod AS fiscyearper,
  DocumentCategory AS docct,
  CnsldtnGroupJrnlEntry AS docnr,
  CnsldtnGroupJrnlEntryItem AS docln,
  Company AS rcomp,
  ConsolidationDimension AS rdimen,
  ConsolidationUnit AS rbunit,
  ConsolidationChartOfAccounts AS ritclg,
  FinancialStatementItem AS ritem,
  PartnerConsolidationUnit AS rbuptr,
  ConsolidationGroup AS rcongr,
  CompanyCode AS robukrs,
  SubItemCategory AS sityp,
  SubItem AS subit,
  PostingLevel AS plevl,
  ConsolidationApportionment AS rpflg,
  CurrencyConversionsDiffType AS rtflg,
  ConsolidationDocumentType AS docty,
  ConsolidationAcquisitionYear AS yracq,
  ConsolidationAcquisitionPeriod AS pracq,
  InvesteeConsolidationUnit AS coicu,
  cast('000' as updhp) AS updhp,
  AmountInTransactionCurrency AS tsl,
  AmountInLocalCurrency AS hsl,
  AmountInGroupCurrency AS ksl,
  CnsldtnQuantityInBaseUnit AS msl,
  DocumentItemText AS sgtxt,
  ConsolidationPostgItemAutoFlag AS autom,
  BusinessTransactionType AS activ,
  bvorg,
  PostingDate AS budat,
  CurrencyTranslationDate AS wsdat,
  RefConsolidationDocumentNumber AS refdocnr,
  ReferenceFiscalYear AS refryear,
  RefConsolidationPostingItem AS refdocln,
  RefConsolidationDocumentType AS refdocct,
  RefBusinessTransactionType AS refactiv,
  CreationDate AS cpudt,
  CreationTime AS cputm,
  UserID AS usnam,
  ReverseDocument AS rvsdocnr,
  ReversedDocument AS orndocnr,
  InvestmentActivityType AS coiac,
  InvestmentActivity AS coinr,
  ConsolidationDocReversalYear AS revyear,
  ReferenceDocumentType AS awtyp,
  ReferenceDocumentContext AS aworg,
  LogicalSystem AS logsys,
  CreationDateTime AS timestamp,
  GLAccount AS racct,
  CostCenter AS rcntr,
  ProfitCenter AS prctr,
  FunctionalArea AS rfarea,
  BusinessArea AS rbusa,
  ControllingArea AS kokrs,
  segment,
  PartnerCostCenter AS scntr,
  PartnerProfitCenter AS pprctr,
  PartnerFunctionalArea AS sfarea,
  PartnerBusinessArea AS sbusa,
  PartnerCompany AS rassc,
  PartnerSegment AS psegment,
  FinancialTransactionType AS rmvct,
  Material AS matnr,
  Plant AS werks,
  Customer AS kunnr,
  Supplier AS lifnr,
  WBSElementExternalID AS ps_posid,
  Project AS ps_pspid,
  BillingDocumentType AS fkart,
  SalesOrganization AS vkorg,
  DistributionChannel AS vtweg,
  OrganizationDivision AS spart,
  SoldProduct AS matnr_copa,
  SoldProductGroup AS matkl,
  CustomerGroup AS kdgrp,
  CustomerSupplierCountry AS land1,
  CustomerSupplierIndustry AS brsch,
  SalesDistrict AS bzirk,
  BillToParty AS kunre,
  ShipToParty AS kunwe,
  CnsldtnAdhocItem,
  CnsldtnAdhocSet,
  CnsldtnAdhocSetItem,
  CustomerSupplierCorporateGroup AS konzs,
  AssignmentReference AS zuonr,
  OrderID AS aufnr,
  xblnr,
  MaterialGroup AS matkl_mm,
  WBSElementInternalID AS ps_psp_pnr,
  ChartOfAccounts AS ktopl
FROM P_CnsldtnGroupJrnlEntryItemHC
-- UNION ALL with additional select branch(es): P_CnsldtnGroupJrnlEntryItemHC
;