P_PE_JournalEntryFSStructure

DDL: P_PE_JOURNALENTRYFSSTRUCTURE SQL: PPEJRNLEFSS Type: view CONSUMPTION

P_PE_JournalEntryFSStructure is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_FinancialStatementStructure, P_PE_JournalEntryFSStructure2) and exposes 6 fields with key fields CompanyCode, FiscalYear, AccountingDocument, Ledger, FinancialStatementHierarchy.

Data Sources (2)

SourceAliasJoin Type
I_FinancialStatementStructure FinancialStatement inner
P_PE_JournalEntryFSStructure2 P_PE_JournalEntryFSStructure2 from

Parameters (4)

NameTypeDefault
P_CompanyCode fis_bukrs
P_FiscalYear fis_gjahr_no_conv
P_Ledger rldnr
P_FinancialStatementHierarchy hryid

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PPEJRNLEFSS view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode JournalEntry CompanyCode Receiver Company Code
KEY FiscalYear JournalEntry FiscalYear G/L Fiscal Year
KEY AccountingDocument JournalEntry AccountingDocument Journal Entry
KEY Ledger JournalEntry Ledger Ledger
KEY FinancialStatementHierarchy I_FinancialStatementStructure FinancialStatementHierarchy Hierarchy ID
HierarchyParentNodeVal

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_PE_JournalEntryFSStructure.
-- 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: PPEJRNLEFSS
-- Parameters: P_CompanyCode : fis_bukrs, P_FiscalYear : fis_gjahr_no_conv, P_Ledger : rldnr, P_FinancialStatementHierarchy : hryid

CREATE VIEW P_PE_JournalEntryFSStructure AS
SELECT
  JournalEntry.CompanyCode AS CompanyCode,
  JournalEntry.FiscalYear AS FiscalYear,
  JournalEntry.AccountingDocument AS AccountingDocument,
  JournalEntry.Ledger AS Ledger,
  FinancialStatement.FinancialStatementHierarchy AS FinancialStatementHierarchy,
  min( FinancialStatement.HierarchyParentNodeVal ) AS HierarchyParentNodeVal
FROM P_PE_JournalEntryFSStructure2
INNER JOIN I_FinancialStatementStructure AS FinancialStatement ON /* join condition not captured in parsed metadata */
;