P_VECReportedFinancialData

DDL: P_VECREPORTEDFINANCIALDATA SQL: PVECREPFINDATA Type: view COMPOSITE

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

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnGlobalSetting _GlobalSetting inner
P_ReportedFinancialData P_ReportedFinancialData from

Parameters (7)

NameTypeDefault
p_rdimen fc_dimen
p_ritclg fc_itclg
p_rvers fc_rvers
p_rldnr rldnr
p_ryear gjahr
p_pyear gjahr
p_poper poper

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PVECREPFINDATA 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 (80)

KeyFieldSource TableSource FieldDescription
TaskType
CurrencyType
ConsolidationDocumentNumber docnr Well doc.no.
ConsolidationPostingItem docln Matching Document Line Item
Currency rhcur Local Currency
TransactionCurrency rtcur Currency
ConsolidationDimension rdimen Dimension
ConsolidationLedger rldnr Ledger (Compat.)
DocumentCategory docct Document Categ.
Company rcomp Trading Partner
Entity rbunit Consolidation Unit
ConsolidationUnit rbunit Consolidation Unit
ConsolidationChartOfAccounts ritclg Consolidation COA
FinancialStatementItem ritem Reporting Item
PartnerConsolidationUnit rbuptr Partner Unit
SubItemCategory sityp Trip Schedule Type
SubItem subit Subitem
PostingFiscalPeriod poper Posting periods
FiscalYear ryear Ref. Year1
OpeningBalanceAmount
YearToDateAmount
YearToDateAmountInPriorPeriod
YearToDateAmountInPriorYear
CurrentPeriodAmount hsl Local Crcy Amt
PeriodAmountInTransacCrcy tsl Trans. Currency
PeriodAmountInPriorPeriod
PeriodAmountInPriorYear
RecordType rrcty Record Type
PostingLevel plevl Posting Level
ConsolidationDocumentType docty Document Type
ConsolidationAcquisitionYear yracq Year of Acquisition
ConsolidationAcquisitionPeriod pracq Period of Acquisition
InvesteeConsolidationUnit coicu Investee Unit
ConsolidationPostgItemAutoFlag autom Automatic Call
RefConsolidationDocumentType refdocct Ref. Doc. Cat.
InvestmentActivityType coiac Investment Activity
InvestmentActivity coinr Investment Activity Number
ChartOfAccounts ktopl G/L Chart of Accounts
GLAccount racct GL Account From
BaseUnit runit Unit/Area
CurrentPeriodQuantity msl Stat. KeyFig. Qty
CostCenter rcntr Cost Center
ProfitCenter prctr Profit Centers
FunctionalArea rfarea R FuncArea
BusinessArea rbusa Business Area
ControllingArea kokrs Org. Value
Segment segment Segment number
PartnerCostCenter scntr Sender Cost Ctr
PartnerProfitCenter pprctr Partner PC
PartnerFunctionalArea sfarea Sender FnArea
PartnerBusinessArea sbusa Trdg Part.BA
PartnerCompany rassc Trading Partner
PartnerSegment psegment Partner Segment
MaterialGroup matkl_mm Material Group
Plant werks Receiving Plant
FinancialTransactionType rmvct Transact. Type
WBSElementExternalID ps_posid WBS Element
Project ps_pspid Project def.
BillingDocumentType fkart Ship. cost type
SalesOrganization vkorg SD Sales Org.
DistributionChannel vtweg RefDistCh-Cust/Mat.
OrganizationDivision spart Source supplier
SoldProductGroup matkl Product Sold Group
CustomerGroup kdgrp Customer group
CustomerSupplierCountry land1 Trip Ctry/Reg
CustomerSupplierIndustry brsch Industry
SalesDistrict bzirk Sales District
CustomerSupplierCorporateGroup konzs Group
CreationDateTime timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
CompanyCode robukrs Orig. CC
ShipToParty kunwe Ship-to Party
BillToParty kunre Bill-to Party
Material matnr Vehicle Model
SoldProduct matnr_copa Product Sold
CurrencyConversionsDiffType rtflg Currency Translation Indicator
OrderID aufnr SettlementOrder
Customer kunnr Stock customer
Supplier lifnr Vendor no.
CnsldtnAdhocItem CnsldtnAdhocItem
CnsldtnAdhocSet CnsldtnAdhocSet

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_VECReportedFinancialData.
-- 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: PVECREPFINDATA
-- Parameters: p_rdimen : fc_dimen, p_ritclg : fc_itclg, p_rvers : fc_rvers, p_rldnr : rldnr, p_ryear : gjahr, p_pyear : gjahr, p_poper : poper

CREATE VIEW P_VECReportedFinancialData AS
SELECT
  '01' AS TaskType,
  'LC' AS CurrencyType,
  docnr AS ConsolidationDocumentNumber,
  docln AS ConsolidationPostingItem,
  rhcur AS Currency,
  rtcur AS TransactionCurrency,
  rdimen AS ConsolidationDimension,
  rldnr AS ConsolidationLedger,
  docct AS DocumentCategory,
  rcomp AS Company,
  rbunit AS Entity,
  rbunit AS ConsolidationUnit,
  ritclg AS ConsolidationChartOfAccounts,
  ritem AS FinancialStatementItem,
  rbuptr AS PartnerConsolidationUnit,
  sityp AS SubItemCategory,
  subit AS SubItem,
  poper AS PostingFiscalPeriod,
  ryear AS FiscalYear,
  '' AS OpeningBalanceAmount,
  '' AS YearToDateAmount,
  '' AS YearToDateAmountInPriorPeriod,
  '' AS YearToDateAmountInPriorYear,
  hsl AS CurrentPeriodAmount,
  tsl AS PeriodAmountInTransacCrcy,
  '' AS PeriodAmountInPriorPeriod,
  '' AS PeriodAmountInPriorYear,
  rrcty AS RecordType,
  plevl AS PostingLevel,
  docty AS ConsolidationDocumentType,
  yracq AS ConsolidationAcquisitionYear,
  pracq AS ConsolidationAcquisitionPeriod,
  coicu AS InvesteeConsolidationUnit,
  autom AS ConsolidationPostgItemAutoFlag,
  refdocct AS RefConsolidationDocumentType,
  coiac AS InvestmentActivityType,
  coinr AS InvestmentActivity,
  ktopl AS ChartOfAccounts,
  racct AS GLAccount,
  runit AS BaseUnit,
  msl AS CurrentPeriodQuantity,
  rcntr AS CostCenter,
  prctr AS ProfitCenter,
  rfarea AS FunctionalArea,
  rbusa AS BusinessArea,
  kokrs AS ControllingArea,
  Segment,
  scntr AS PartnerCostCenter,
  pprctr AS PartnerProfitCenter,
  sfarea AS PartnerFunctionalArea,
  sbusa AS PartnerBusinessArea,
  rassc AS PartnerCompany,
  psegment AS PartnerSegment,
  matkl_mm AS MaterialGroup,
  werks AS Plant,
  rmvct AS FinancialTransactionType,
  ps_posid AS WBSElementExternalID,
  ps_pspid AS Project,
  fkart AS BillingDocumentType,
  vkorg AS SalesOrganization,
  vtweg AS DistributionChannel,
  spart AS OrganizationDivision,
  matkl AS SoldProductGroup,
  kdgrp AS CustomerGroup,
  land1 AS CustomerSupplierCountry,
  brsch AS CustomerSupplierIndustry,
  bzirk AS SalesDistrict,
  konzs AS CustomerSupplierCorporateGroup,
  timestamp AS CreationDateTime,
  robukrs AS CompanyCode,
  kunwe AS ShipToParty,
  kunre AS BillToParty,
  matnr AS Material,
  matnr_copa AS SoldProduct,
  rtflg AS CurrencyConversionsDiffType,
  aufnr AS OrderID,
  kunnr AS Customer,
  lifnr AS Supplier,
  CnsldtnAdhocItem,
  CnsldtnAdhocSet
FROM P_ReportedFinancialData
INNER JOIN I_CnsldtnGlobalSetting AS _GlobalSetting ON /* join condition not captured in parsed metadata */
;