P_CnsldtnJrnlEntryMaxItem

DDL: P_CNSLDTNJRNLENTRYMAXITEM SQL: PJRNLENTRMI Type: view BASIC

P_CnsldtnJrnlEntryMaxItem is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (acdocu) and exposes 5 fields with key fields ConsolidationLedger, ConsolidationDimension, FiscalYear, ConsolidationDocumentNumber.

Data Sources (1)

SourceAliasJoin Type
acdocu acdocu from

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PJRNLENTRMI view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationLedger rldnr Ledger (Compat.)
KEY ConsolidationDimension rdimen Dimension
KEY FiscalYear ryear Ref. Year1
KEY ConsolidationDocumentNumber docnr Well doc.no.
ConsolidationPostingItem

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_CnsldtnJrnlEntryMaxItem.
-- 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: PJRNLENTRMI

CREATE VIEW P_CnsldtnJrnlEntryMaxItem AS
SELECT
  rldnr AS ConsolidationLedger,
  rdimen AS ConsolidationDimension,
  ryear AS FiscalYear,
  docnr AS ConsolidationDocumentNumber,
  max( docln ) AS ConsolidationPostingItem
FROM acdocu
;