P_CnsldtnJrnlEntryTP
P_CnsldtnJrnlEntryTP is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_CnsldtnJrnlEntryMaxItem, acdocu) and exposes 24 fields with key fields ConsolidationLedger, ConsolidationDimension, FiscalYear, ConsolidationDocumentNumber.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_CnsldtnJrnlEntryMaxItem | _MaxItem | inner |
| acdocu | a | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | PJRNLENTRTP | 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 (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationLedger | rldnr | Ledger (Compat.) | |
| KEY | ConsolidationDimension | rdimen | Dimension | |
| KEY | FiscalYear | ryear | Ref. Year1 | |
| KEY | ConsolidationDocumentNumber | docnr | Well doc.no. | |
| ConsolidationVersion | acdocu | rvers | Version: Tax rt | |
| FiscalPeriod | acdocu | poper | Posting periods | |
| ConsolidationChartOfAccounts | acdocu | ritclg | Consolidation COA | |
| PostingLevel | acdocu | plevl | Posting Level | |
| ConsolidationDocumentType | acdocu | docty | Document Type | |
| DocumentItemText | acdocu | sgtxt | Text | |
| PostingDate | acdocu | budat | Posting Date | |
| CreationDate | acdocu | cpudt | Imported On | |
| CreationTime | acdocu | cputm | Time | |
| UserID | acdocu | usnam | User Name | |
| InvesteeConsolidationUnit | ||||
| InvestorConsolidationUnit | ||||
| InvestmentActivityType | acdocu | coiac | Investment Activity | |
| InvestmentActivity | acdocu | coinr | Investment Activity Number | |
| RefConsolidationDocumentNumber | acdocu | refdocnr | Reference | |
| ReversedDocument | acdocu | orndocnr | Reversed doc. | |
| ReverseDocument | acdocu | rvsdocnr | Reversed With | |
| ConsolidationDocReversalYear | acdocu | revyear | Year of reversal doc | |
| CnsldtnDocumentNumberForEdit | acdocu | docnr | Well doc.no. | |
| CnsldtnGroupJrnlEntryBundle | acdocu | bunnr | Document Bundle No. |
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_CnsldtnJrnlEntryTP.
-- 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: PJRNLENTRTP
CREATE VIEW P_CnsldtnJrnlEntryTP AS
SELECT
rldnr AS ConsolidationLedger,
rdimen AS ConsolidationDimension,
ryear AS FiscalYear,
docnr AS ConsolidationDocumentNumber,
a.rvers AS ConsolidationVersion,
a.poper AS FiscalPeriod,
a.ritclg AS ConsolidationChartOfAccounts,
a.plevl AS PostingLevel,
a.docty AS ConsolidationDocumentType,
a.sgtxt AS DocumentItemText,
a.budat AS PostingDate,
a.cpudt AS CreationDate,
a.cputm AS CreationTime,
a.usnam AS UserID,
cast ( a.coicu as fincs_investeeconsunit preserving type ) AS InvesteeConsolidationUnit,
cast ( a.uppcu as fincs_investorconsunit preserving type ) AS InvestorConsolidationUnit,
a.coiac AS InvestmentActivityType,
a.coinr AS InvestmentActivity,
a.refdocnr AS RefConsolidationDocumentNumber,
a.orndocnr AS ReversedDocument,
a.rvsdocnr AS ReverseDocument,
a.revyear AS ConsolidationDocReversalYear,
a.docnr AS CnsldtnDocumentNumberForEdit,
a.bunnr AS CnsldtnGroupJrnlEntryBundle
FROM acdocu AS a
INNER JOIN P_CnsldtnJrnlEntryMaxItem AS _MaxItem ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA