P_PE_StRpRptdJournalEntry

DDL: P_PE_STRPRPTDJOURNALENTRY Type: view_entity CONSUMPTION

P_PE_StRpRptdJournalEntry is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_StRpJournalEntryHeaderLog, I_StRpRepRun) and exposes 4 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (2)

SourceAliasJoin Type
I_StRpJournalEntryHeaderLog I_StRpJournalEntryHeaderLog from
I_StRpRepRun I_StRpRepRun inner

Parameters (2)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpJournalEntryHeaderLog CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpJournalEntryHeaderLog AccountingDocument Journal Entry
KEY FiscalYear I_StRpJournalEntryHeaderLog FiscalYear G/L Fiscal Year
StatryRptRunStatus I_StRpRepRun StatryRptRunStatus Report Run Status

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_StRpRptdJournalEntry.
-- 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.
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id

CREATE VIEW P_PE_StRpRptdJournalEntry AS
SELECT
  I_StRpJournalEntryHeaderLog.CompanyCode AS CompanyCode,
  I_StRpJournalEntryHeaderLog.AccountingDocument AS AccountingDocument,
  I_StRpJournalEntryHeaderLog.FiscalYear AS FiscalYear,
  I_StRpRepRun.StatryRptRunStatus AS StatryRptRunStatus
FROM I_StRpJournalEntryHeaderLog
INNER JOIN I_StRpRepRun ON /* join condition not captured in parsed metadata */
;