P_ConsolidatedData

DDL: P_CONSOLIDATEDDATA SQL: PCONSOLIDTEDDATA Type: view COMPOSITE Package: FCIN_UC

Consolidated Data

P_ConsolidatedData is a Composite CDS View that provides data about "Consolidated Data" in SAP S/4HANA. It reads from 2 data sources (P_CnsldtnGroupJrnlEntryItemHC, P_CnsldtnGroupJrnlEntryItemHC) and exposes 123 fields. Part of development package FCIN_UC.

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 PCONSOLIDTEDDATA 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 (123)

KeyFieldSource TableSource FieldDescription
rclnt rclnt Client
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
uppcu InvestorConsolidationUnit
updhp
tsl AmountInTransactionCurrency Pt Crcy Amt
hsl AmountInLocalCurrency Local Crcy Amt
ksl AmountInGroupCurrency Amnt in GrpCrcy
msl CnsldtnQuantityInBaseUnit
tsl_csign CnsldtnCstmSignAmtInTransCrcy
hsl_csign CnsldtnCstmSignAmtInLoclCrcy
ksl_csign CnsldtnCstmSignAmtInGrpCrcy
msl_csign CnsldtnCstmSignLongQtyInBsUnit
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)
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
adhocitem CnsldtnAdhocItem
adhocset CnsldtnAdhocSet
adhocsetitem CnsldtnAdhocSetItem
rcode MatchingReasonCode
orig_type OriginType
orig_ref OriginReference
bunnr CnsldtnGroupJrnlEntryBundle Document Bundle No.
branch_id FinancialServicesBranch Branch (FS)
ghgscope GHGScope
ghgcategory GHGCategory
ghgenergymix GHGEnergyMix
fikrs FinancialManagementArea FM Area
rfund Fund Sender Fund
sfund PartnerFund Receiver Fund
rgrant_nbr GrantID Sender Grant
re_ktopl CnsldtnCashLedgerChartOfAccts
re_account CashLedgerAccount Cash Origin Account
bp_p_geber PartnerFund Receiver Fund

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_ConsolidatedData.
-- 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: PCONSOLIDTEDDATA

CREATE VIEW P_ConsolidatedData AS
SELECT
  rclnt,
  cast('' as gu_recid) AS gl_sirid,
  ConsolidationLedger AS rldnr,
  GLRecordType 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,
  InvestorConsolidationUnit AS uppcu,
  cast('000' as updhp) AS updhp,
  AmountInTransactionCurrency AS tsl,
  AmountInLocalCurrency AS hsl,
  AmountInGroupCurrency AS ksl,
  CnsldtnQuantityInBaseUnit AS msl,
  CnsldtnCstmSignAmtInTransCrcy AS tsl_csign,
  CnsldtnCstmSignAmtInLoclCrcy AS hsl_csign,
  CnsldtnCstmSignAmtInGrpCrcy AS ksl_csign,
  CnsldtnCstmSignLongQtyInBsUnit AS msl_csign,
  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,
  CustomerSupplierCorporateGroup AS konzs,
  AssignmentReference AS zuonr,
  OrderID AS aufnr,
  xblnr,
  MaterialGroup AS matkl_mm,
  WBSElementInternalID AS ps_psp_pnr,
  ChartOfAccounts AS ktopl,
  CnsldtnAdhocItem AS adhocitem,
  CnsldtnAdhocSet AS adhocset,
  CnsldtnAdhocSetItem AS adhocsetitem,
  MatchingReasonCode AS rcode,
  OriginType AS orig_type,
  OriginReference AS orig_ref,
  CnsldtnGroupJrnlEntryBundle AS bunnr,
  FinancialServicesBranch AS branch_id,
  ghgscope,
  ghgcategory,
  ghgenergymix,
  FinancialManagementArea AS fikrs,
  Fund AS rfund,
  PartnerFund AS sfund,
  GrantID AS rgrant_nbr,
  CnsldtnCashLedgerChartOfAccts AS re_ktopl,
  CashLedgerAccount AS re_account,
  PartnerFund AS bp_p_geber
FROM P_CnsldtnGroupJrnlEntryItemHC
-- UNION ALL with additional select branch(es): P_CnsldtnGroupJrnlEntryItemHC
;