P_TW_ChangesInEquityFact

DDL: P_TW_CHANGESINEQUITYFACT SQL: PTWCIEFACT Type: view COMPOSITE

P_TW_ChangesInEquityFact is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_FinancialStatementAccountBal) and exposes 54 fields with key fields FinancialStatementHierarchy, HierarchyVersion, HierarchyNode, ParentNode, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
I_FinancialStatementAccountBal I_FinancialStatementAccountBal from

Parameters (9)

NameTypeDefault
P_FinancialStatementHierarchy hryid
P_Ledger fis_rldnr
P_FromPostingDate fis_budat
P_ToPostingDate fis_budat
P_ComprnFromPostingDate fis_budat
P_ComprnToPostingDate fis_budat
P_CurrencyRole fis_curtp
P_CompanyCode bukrs
P_KeyDate fis_budat

Annotations (7)

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

Fields (54)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementHierarchy FinancialStatementHierarchy Hierarchy ID
KEY HierarchyVersion HierarchyVersion Version
KEY HierarchyNode HierarchyNode Node
KEY ParentNode ParentNode Parent Node
KEY ValidityEndDate ValidityEndDate ValidTo
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
SequenceNumber SequenceNumber Sort sequence
HierarchyLevel HierarchyLevel Hierarchy Level
SignIsInverted SignIsInverted
HierarchyNodeText HierarchyNodeText
FinancialStatementLeafItem FinancialStatementLeafItem Node
FinancialStatementLeafItemName FinancialStatementLeafItemName
NodeType NodeType Object Type
FinStatementHierarchyNodeValue FinStatementHierarchyNodeValue Value
FunctionalAreaIsUsed FunctionalAreaIsUsed
DebitCreditCode DebitCreditCode Single-Character Flag
ChartOfAccounts ChartOfAccounts Node Class
FinancialStatementItem FinancialStatementItem FS Item
GLAccount GLAccount General Ledger
AlternativeGLAccount AlternativeGLAccount Group Account
GLAccountExternal GLAccountExternal G/L Acct External ID
AccountingDocumentType AccountingDocumentType Journal Entry Type
GLAccountType GLAccountType G/L Account Type
LedgerFiscalYear LedgerFiscalYear
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
Segment Segment Segment number
ReportingPeriod ReportingPeriod Single-Character Flag
Currency Currency Valuation Crcy
_Hierarchy _Hierarchy
_FinStmntHierNode _FinStmntHierNode
_FinStmntHierParentNode _FinStmntHierParentNode
_FinancialStatementLeafItem _FinancialStatementLeafItem
_JournalEntry _JournalEntry
_Ledger _Ledger
_CompanyCode _CompanyCode
_FiscalYear _FiscalYear
_LedgerFiscalYear _LedgerFiscalYear
_ChartOfAccounts _ChartOfAccounts
_AccountingDocumentType _AccountingDocumentType
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLAccountInCompanyCode _GLAccountInCompanyCode
_GLAccountExternal _GLAccountExternal
_ControllingArea _ControllingArea
_Segment _Segment
_ProfitCenter _ProfitCenter
_CostCenter _CostCenter
_FunctionalArea _FunctionalArea

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_TW_ChangesInEquityFact.
-- 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: PTWCIEFACT
-- Parameters: P_FinancialStatementHierarchy : hryid, P_Ledger : fis_rldnr, P_FromPostingDate : fis_budat, P_ToPostingDate : fis_budat, P_ComprnFromPostingDate : fis_budat, P_ComprnToPostingDate : fis_budat, P_CurrencyRole : fis_curtp, P_CompanyCode : bukrs, P_KeyDate : fis_budat

CREATE VIEW P_TW_ChangesInEquityFact AS
SELECT
  FinancialStatementHierarchy,
  HierarchyVersion,
  HierarchyNode,
  ParentNode,
  ValidityEndDate,
  Ledger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  SequenceNumber,
  HierarchyLevel,
  SignIsInverted,
  HierarchyNodeText,
  FinancialStatementLeafItem,
  FinancialStatementLeafItemName,
  NodeType,
  FinStatementHierarchyNodeValue,
  FunctionalAreaIsUsed,
  DebitCreditCode,
  ChartOfAccounts,
  FinancialStatementItem,
  GLAccount,
  AlternativeGLAccount,
  GLAccountExternal,
  AccountingDocumentType,
  GLAccountType,
  LedgerFiscalYear,
  ControllingArea,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  Segment,
  ReportingPeriod,
  Currency
FROM I_FinancialStatementAccountBal
;