P_CnsldtnFndnWithRptRule

DDL: P_CNSLDTNFNDNWITHRPTRULE SQL: PCCFNDNWITHRPT Type: view COMPOSITE Package: FIN_CS_ANALYTICS_APPLICATION

Data Foundation With Reporting Rule

P_CnsldtnFndnWithRptRule is a Composite CDS View that provides data about "Data Foundation With Reporting Rule" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnFndnCube, I_CnsldtnRptgItemAssgmt) and exposes 110 fields. Part of development package FIN_CS_ANALYTICS_APPLICATION.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnFndnCube cube from
I_CnsldtnRptgItemAssgmt RIASSGMT left_outer

Parameters (1)

NameTypeDefault
P_ConsolidationRptgItemHier fincs_rihry

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCCFNDNWITHRPT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (110)

KeyFieldSource TableSource FieldDescription
ConsolidationLedger ConsolidationLedger Ledger
ConsolidationDimension ConsolidationDimension Dimension
FiscalYear FiscalYear G/L Fiscal Year
ConsolidationDocumentNumber ConsolidationDocumentNumber Document Number
ConsolidationPostingItem ConsolidationPostingItem G/L Line Item
GLRecordType GLRecordType Record Type
ConsolidationVersion ConsolidationVersion Version
TransactionCurrency TransactionCurrency Transaction Currency
LocalCurrency LocalCurrency Local Currency
GroupCurrency GroupCurrency Ledger curr.
BaseUnit BaseUnit Unit of Measure
FiscalPeriod FiscalPeriod Tax period
ConsolidationDocumentType ConsolidationDocumentType Document Type
DebitCreditCode DebitCreditCode Single-Character Flag
Company Company Owner
ConsolidationUnit ConsolidationUnit Consolidation Unit
ConsolidationChartOfAccounts I_CnsldtnFndnCube ConsolidationChartOfAccounts Cons. COA
FinancialStatementItem I_CnsldtnFndnCube FinancialStatementItem FS Item
PartnerConsolidationUnit PartnerConsolidationUnit Partner Unit
ConsolidationGroup ConsolidationGroup Cons. Group
CompanyCode CompanyCode Receiver Company Code
SubItemCategory I_CnsldtnFndnCube SubItemCategory Subitem Category
SubItem I_CnsldtnFndnCube SubItem Subitem Number
PostingLevel PostingLevel Posting Level
ConsolidationApportionment ConsolidationApportionment Apportionment
CurrencyConversionsDiffType CurrencyConversionsDiffType CT Indicator
ConsolidationAcquisitionYear ConsolidationAcquisitionYear Acquis. Year
ConsolidationAcquisitionPeriod ConsolidationAcquisitionPeriod Period of Acq.
InvesteeConsolidationUnit InvesteeConsolidationUnit Investee Unit
QuantityInBaseUnit QuantityInBaseUnit Quantity
DocumentItemText DocumentItemText Text
ConsolidationPostgItemAutoFlag ConsolidationPostgItemAutoFlag Auto. ID
BusinessTransactionType BusinessTransactionType Bus.transaction
PostingDate PostingDate Posting Date for GR
CurrencyTranslationDate CurrencyTranslationDate Value Date
RefConsolidationDocumentNumber RefConsolidationDocumentNumber Document Number
ReferenceFiscalYear ReferenceFiscalYear Original FY
RefConsolidationPostingItem RefConsolidationPostingItem Item
RefConsolidationDocumentType RefConsolidationDocumentType Document Categ.
RefBusinessTransactionType RefBusinessTransactionType Bus.transaction
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
UserID UserID User Name
ReverseDocument ReverseDocument Reversed With
ReversedDocument ReversedDocument Reversed doc.
InvestmentActivityType InvestmentActivityType C/I Activity
InvestmentActivity InvestmentActivity Activity Number
ConsolidationDocReversalYear ConsolidationDocReversalYear Year of reversal doc
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocumentContext ReferenceDocumentContext Reference Document Context
LogicalSystem LogicalSystem Logical System
ChartOfAccounts ChartOfAccounts Node Class
GLAccount GLAccount General Ledger
AssignmentReference AssignmentReference Assignment Reference
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
Segment Segment Segment number
PartnerCostCenter PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter PartnerProfitCenter Profit Center
PartnerFunctionalArea PartnerFunctionalArea Rec. Fntcl Area
PartnerBusinessArea PartnerBusinessArea Trdg Part.BA
PartnerCompany PartnerCompany Trading Partner
PartnerSegment PartnerSegment Partner Segment
OrderID OrderID Order ID
Customer Customer Sold-to Party
Supplier Supplier Supplier
Material Material Vehicle Model
Plant Plant Valuation Area
FinancialTransactionType FinancialTransactionType Transact. Type
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElement WBSElement WBS Internal ID
Project Project WBS Element
ConsolidationRecordNumber ConsolidationRecordNumber
ConsolidationReportingItem I_CnsldtnRptgItemAssgmt ConsolidationReportingItem Reporting Item
_Ledger _Ledger
_Dimension _Dimension
_Version _Version
_Company _Company
_CnsldtnUnit _CnsldtnUnit
_CnsldtnGroup _CnsldtnGroup
_ChartOfAccounts _ChartOfAccounts
_FinStmntItm _FinStmntItm
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLChartOfAccounts _GLChartOfAccounts
_PartnerUnit _PartnerUnit
_CompanyCode _CompanyCode
_SubItemCategory _SubItemCategory
_SubItem _SubItem
_DebitCreditCode _DebitCreditCode
_DocumentType _DocumentType
_PostingLevel _PostingLevel
_InvesteeUnit _InvesteeUnit
_Apportionment _Apportionment
_CrcyCnvrsnDiffType _CrcyCnvrsnDiffType
_TransactionCurrency _TransactionCurrency
_LocalCurrency _LocalCurrency
_GroupCurrency _GroupCurrency
_BaseUnit _BaseUnit
_InternalOrder _InternalOrder
_Customer _Customer
_Supplier _Supplier
_Material _Material
_Plant _Plant
_FinancialTransactionType _FinancialTransactionType
_WBSElement _WBSElement
_WBSElementInternalID _WBSElementInternalID
_Project _Project

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_CnsldtnFndnWithRptRule.
-- 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: PCCFNDNWITHRPT
-- Parameters: P_ConsolidationRptgItemHier : fincs_rihry

CREATE VIEW P_CnsldtnFndnWithRptRule AS
SELECT
  ConsolidationLedger,
  ConsolidationDimension,
  FiscalYear,
  ConsolidationDocumentNumber,
  ConsolidationPostingItem,
  GLRecordType,
  ConsolidationVersion,
  TransactionCurrency,
  LocalCurrency,
  GroupCurrency,
  BaseUnit,
  FiscalPeriod,
  ConsolidationDocumentType,
  DebitCreditCode,
  Company,
  ConsolidationUnit,
  cube.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
  cube.FinancialStatementItem AS FinancialStatementItem,
  PartnerConsolidationUnit,
  ConsolidationGroup,
  CompanyCode,
  cube.SubItemCategory AS SubItemCategory,
  cube.SubItem AS SubItem,
  PostingLevel,
  ConsolidationApportionment,
  CurrencyConversionsDiffType,
  ConsolidationAcquisitionYear,
  ConsolidationAcquisitionPeriod,
  InvesteeConsolidationUnit,
  QuantityInBaseUnit,
  DocumentItemText,
  ConsolidationPostgItemAutoFlag,
  BusinessTransactionType,
  PostingDate,
  CurrencyTranslationDate,
  RefConsolidationDocumentNumber,
  ReferenceFiscalYear,
  RefConsolidationPostingItem,
  RefConsolidationDocumentType,
  RefBusinessTransactionType,
  CreationDate,
  CreationTime,
  UserID,
  ReverseDocument,
  ReversedDocument,
  InvestmentActivityType,
  InvestmentActivity,
  ConsolidationDocReversalYear,
  ReferenceDocumentType,
  ReferenceDocumentContext,
  LogicalSystem,
  ChartOfAccounts,
  GLAccount,
  AssignmentReference,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  ControllingArea,
  Segment,
  PartnerCostCenter,
  PartnerProfitCenter,
  PartnerFunctionalArea,
  PartnerBusinessArea,
  PartnerCompany,
  PartnerSegment,
  OrderID,
  Customer,
  Supplier,
  Material,
  Plant,
  FinancialTransactionType,
  WBSElementInternalID,
  WBSElement,
  Project,
  ConsolidationRecordNumber,
  RIASSGMT.ConsolidationReportingItem AS ConsolidationReportingItem
FROM I_CnsldtnFndnCube AS cube
LEFT OUTER JOIN I_CnsldtnRptgItemAssgmt AS RIASSGMT ON /* join condition not captured in parsed metadata */
;