Deprecated
This CDS view is deprecated in S/4HANA. Use P_CO_DIANFrmt1001WhldgTaxItem instead. View all deprecated CDS views →

P_CO_DIANStRpJrnlEntriesWthPO

DDL: P_CO_DIANSTRPJRNLENTRIESWTHPO SQL: PSRCOJRNLPO Type: view CONSUMPTION

P_CO_DIANStRpJrnlEntriesWthPO is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_CO_DIANStRpJournalEntryItemC) and exposes 6 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, CO_DIANReportFormat.

Data Sources (1)

SourceAliasJoin Type
P_CO_DIANStRpJournalEntryItemC P_CO_DIANStRpJournalEntryItemC inner

Parameters (3)

NameTypeDefault
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to
P_Ledger fins_ledger

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PSRCOJRNLPO view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor P_CO_DIANFrmt1001WhldgTaxItem view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Ledger I_JournalEntryItem Ledger Ledger
KEY CompanyCode I_JournalEntryItem CompanyCode Receiver Company Code
KEY FiscalYear I_JournalEntryItem FiscalYear G/L Fiscal Year
KEY AccountingDocument I_JournalEntryItem AccountingDocument Journal Entry
KEY CO_DIANReportFormat _JournalEntriesCfgDIAN CO_DIANReportFormat Report Format
KEY CO_DIANReportItemType _JournalEntriesCfgDIAN CO_DIANReportItemType Item Type

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_CO_DIANStRpJrnlEntriesWthPO.
-- 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: PSRCOJRNLPO
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_Ledger : fins_ledger

CREATE VIEW P_CO_DIANStRpJrnlEntriesWthPO AS
SELECT
  I_JournalEntryItem.Ledger AS Ledger,
  I_JournalEntryItem.CompanyCode AS CompanyCode,
  I_JournalEntryItem.FiscalYear AS FiscalYear,
  I_JournalEntryItem.AccountingDocument AS AccountingDocument,
  _JournalEntriesCfgDIAN.CO_DIANReportFormat AS CO_DIANReportFormat,
  _JournalEntriesCfgDIAN.CO_DIANReportItemType AS CO_DIANReportItemType
INNER JOIN P_CO_DIANStRpJournalEntryItemC ON /* join condition not captured in parsed metadata */
;