I_CnsldtnJrnlEntryTP
Journal Entry Management
I_CnsldtnJrnlEntryTP is a Transactional CDS View that provides data about "Journal Entry Management" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnGlobalParameter, I_CnsldtnJrnlEntryHeader) and exposes 55 fields with key fields FiscalYear, ConsolidationDocumentNumber, ConsolidationLedger. It has 8 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnGlobalParameter | _GlobalParameter | inner |
| I_CnsldtnJrnlEntryHeader | acdocu | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CnsldtnJrnlEntryItemTP | _Item | _Item.FiscalYear = $projection.FiscalYear and _Item.ConsolidationDocumentNumber = $projection.ConsolidationDocumentNumber and _Item.ConsolidationLedger = $projection.ConsolidationLedger |
| [1..1] | I_CnsldtnLedger | _Ledger | $projection.ConsolidationLedgerForEdit = _Ledger.ConsolidationLedger |
| [1..1] | I_CnsldtnVersion | _Version | $projection.ConsolidationVersion = _Version.ConsolidationVersion |
| [1..1] | I_CnsldtnGroup | _CnsldtnGroup | $projection.ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup and _CnsldtnGroup.ConsolidationDimension = $projection.ConsolidationDimension |
| [1..1] | I_CnsldtnChartOfAccounts | _ChartOfAccounts | $projection.ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts |
| [1..1] | I_CnsldtnDocumentType_2 | _DocumentType | $projection.ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType |
| [0..1] | I_CnsldtnJrnlEntrSource | _JrnlEntrSource | $projection.ConsolidationJrnlEntrSource = _JrnlEntrSource.ConsolidationJrnlEntrSource |
| [0..*] | I_CnsldtnDocumentTypeField | _DocTypeFields | _DocTypeFields.ConsolidationDocumentType = $projection.ConsolidationDocumentType and _DocTypeFields.ConsolidationDimension = $projection.ConsolidationDimension |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICSJRNLENTRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Journal Entry Management | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeDraftPersistence | FINCSJRNLENTRH_D | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.representativeKey | ConsolidationDocumentNumber | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Consumption.semanticObject | ConsolidationJournalEntry | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | I_CnsldtnJrnlEntryHeader | FiscalYear | G/L Fiscal Year |
| KEY | ConsolidationDocumentNumber | I_CnsldtnJrnlEntryHeader | ConsolidationDocumentNumber | Document Number |
| KEY | ConsolidationLedger | I_CnsldtnJrnlEntryHeader | ConsolidationLedger | Ledger |
| ConsolidationDimension | I_CnsldtnJrnlEntryHeader | ConsolidationDimension | Dimension | |
| ConsolidationLedgerForEdit | I_CnsldtnJrnlEntryHeader | ConsolidationLedger | Ledger | |
| FiscalYearForEdit | I_CnsldtnJrnlEntryHeader | FiscalYear | G/L Fiscal Year | |
| ConsolidationVersion | I_CnsldtnJrnlEntryHeader | ConsolidationVersion | Version | |
| ConsolidationUnit | I_CnsldtnJrnlEntryHeader | ConsolidationUnit | Consolidation Unit | |
| FiscalPeriod | I_CnsldtnJrnlEntryHeader | FiscalPeriod | Tax period | |
| ConsolidationChartOfAccounts | I_CnsldtnJrnlEntryHeader | ConsolidationChartOfAccounts | Cons. COA | |
| PostingLevel | I_CnsldtnJrnlEntryHeader | PostingLevel | Posting Level | |
| ConsolidationGroup | I_CnsldtnJrnlEntryHeader | ConsolidationGroup | Cons. Group | |
| ConsolidationDocumentType | I_CnsldtnJrnlEntryHeader | ConsolidationDocumentType | Document Type | |
| DocumentItemText | I_CnsldtnJrnlEntryHeader | DocumentItemText | Text | |
| PostingDate | I_CnsldtnJrnlEntryHeader | PostingDate | Posting Date for GR | |
| CreationDate | I_CnsldtnJrnlEntryHeader | CreationDate | Time Stamp | |
| CreationTime | I_CnsldtnJrnlEntryHeader | CreationTime | Time of Change | |
| UserID | I_CnsldtnJrnlEntryHeader | UserID | User Name | |
| ConsolidationUnit1 | I_CnsldtnJrnlEntryHeader | ConsolidationUnit1 | Cons Unit 1 | |
| ConsolidationUnit2 | I_CnsldtnJrnlEntryHeader | ConsolidationUnit2 | Cons Unit 2 | |
| InvesteeConsolidationUnit | I_CnsldtnJrnlEntryHeader | InvesteeConsolidationUnit | Investee Unit | |
| InvestmentActivityType | I_CnsldtnJrnlEntryHeader | InvestmentActivityType | C/I Activity | |
| InvestmentActivity | I_CnsldtnJrnlEntryHeader | InvestmentActivity | Activity Number | |
| RefConsolidationDocumentNumber | I_CnsldtnJrnlEntryHeader | RefConsolidationDocumentNumber | Document Number | |
| ReversedDocument | I_CnsldtnJrnlEntryHeader | ReversedDocument | Reversed doc. | |
| ReverseDocument | I_CnsldtnJrnlEntryHeader | ReverseDocument | Reversed With | |
| ConsolidationDocReversalYear | I_CnsldtnJrnlEntryHeader | ConsolidationDocReversalYear | Year of reversal doc | |
| IsReversalDocument | I_CnsldtnJrnlEntryHeader | IsReversalDocument | Reverse | |
| IsConsolidationTaskTestRun | ||||
| IsInWorkFlow | ||||
| ConsolidationTaskCategory | ||||
| ConsolidationTask | ||||
| ConsolidationJrnlEntrSource | ||||
| ConsolidationJrnlEntrDraftUUID | ||||
| CnsldtnDocumentNumberForEdit | I_CnsldtnJrnlEntryHeader | CnsldtnDocumentNumberForEdit | Document Number | |
| AmountInTransCurrencyIsHidden | ||||
| AmountInLocalCurrencyIsHidden | ||||
| AmountInGroupCurrencyIsHidden | ||||
| QuantityInBaseUnitIsHidden | ||||
| CnsldtnUnit1IsUsedIsHidden | ||||
| PartnerCnsldtnUnitIsHidden | ||||
| ConsolidationUnitIsHidden | ||||
| ConsolidationUnit3IsHidden | ||||
| PartnerCnsldtnUnit3IsHidden | ||||
| SubItemIsHidden | ||||
| SubItemCategoryIsHidden | ||||
| CnsldtnGroupJrnlEntryBundle | I_CnsldtnJrnlEntryHeader | CnsldtnGroupJrnlEntryBundle | Document Bundle No. | |
| _Ledger | _Ledger | |||
| _Version | _Version | |||
| _CnsldtnGroup | _CnsldtnGroup | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _DocumentType | _DocumentType | |||
| _JrnlEntrSource | _JrnlEntrSource | |||
| _DocTypeFields | _DocTypeFields | |||
| _Item | _Item |
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 I_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.
CREATE VIEW I_CnsldtnJrnlEntryTP AS
SELECT
acdocu.FiscalYear AS FiscalYear,
acdocu.ConsolidationDocumentNumber AS ConsolidationDocumentNumber,
acdocu.ConsolidationLedger AS ConsolidationLedger,
acdocu.ConsolidationDimension AS ConsolidationDimension,
acdocu.ConsolidationLedger AS ConsolidationLedgerForEdit,
acdocu.FiscalYear AS FiscalYearForEdit,
acdocu.ConsolidationVersion AS ConsolidationVersion,
acdocu.ConsolidationUnit AS ConsolidationUnit,
acdocu.FiscalPeriod AS FiscalPeriod,
acdocu.ConsolidationChartOfAccounts AS ConsolidationChartOfAccounts,
acdocu.PostingLevel AS PostingLevel,
acdocu.ConsolidationGroup AS ConsolidationGroup,
acdocu.ConsolidationDocumentType AS ConsolidationDocumentType,
acdocu.DocumentItemText AS DocumentItemText,
acdocu.PostingDate AS PostingDate,
acdocu.CreationDate AS CreationDate,
acdocu.CreationTime AS CreationTime,
acdocu.UserID AS UserID,
acdocu.ConsolidationUnit1 AS ConsolidationUnit1,
acdocu.ConsolidationUnit2 AS ConsolidationUnit2,
acdocu.InvesteeConsolidationUnit AS InvesteeConsolidationUnit,
acdocu.InvestmentActivityType AS InvestmentActivityType,
acdocu.InvestmentActivity AS InvestmentActivity,
acdocu.RefConsolidationDocumentNumber AS RefConsolidationDocumentNumber,
acdocu.ReversedDocument AS ReversedDocument,
acdocu.ReverseDocument AS ReverseDocument,
acdocu.ConsolidationDocReversalYear AS ConsolidationDocReversalYear,
acdocu.IsReversalDocument AS IsReversalDocument,
cast('' as fc_testrun ) AS IsConsolidationTaskTestRun,
cast('' as fincs_isworkflow ) AS IsInWorkFlow,
cast('' as fc_cactt ) AS ConsolidationTaskCategory,
cast('' as fc_cacti ) AS ConsolidationTask,
cast('' as fincs_journalentry_source ) AS ConsolidationJrnlEntrSource,
cast('00000000000000000000000000000000' as fincs_uuid ) AS ConsolidationJrnlEntrDraftUUID,
acdocu.CnsldtnDocumentNumberForEdit AS CnsldtnDocumentNumberForEdit,
cast ( _DocTypeFields[1: KeyFieldName1='RTCUR'].StatusIsHidden as fincs_ishidden ) AS AmountInTransCurrencyIsHidden,
cast ( '' as fincs_ishidden ) AS AmountInLocalCurrencyIsHidden,
cast ( '' as fincs_ishidden ) AS AmountInGroupCurrencyIsHidden,
cast ( _DocTypeFields[1: KeyFieldName1='RUNIT'].StatusIsHidden as fincs_ishidden ) AS QuantityInBaseUnitIsHidden,
cast ( 'X' as fincs_ishidden ) AS CnsldtnUnit1IsUsedIsHidden,
cast ( _DocTypeFields[1: KeyFieldName1='RBUPTR'].StatusIsHidden as fincs_ishidden ) AS PartnerCnsldtnUnitIsHidden,
cast ( '' as fincs_ishidden ) AS ConsolidationUnitIsHidden,
cast ( 'X' as fincs_ishidden ) AS ConsolidationUnit3IsHidden,
cast ( 'X' as fincs_ishidden ) AS PartnerCnsldtnUnit3IsHidden,
cast ( _DocTypeFields[1: KeyFieldName1='SUBIT'].StatusIsHidden as fincs_ishidden ) AS SubItemIsHidden,
cast ( _DocTypeFields[1: KeyFieldName1='SITYP'].StatusIsHidden as fincs_ishidden ) AS SubItemCategoryIsHidden,
acdocu.CnsldtnGroupJrnlEntryBundle AS CnsldtnGroupJrnlEntryBundle
FROM I_CnsldtnJrnlEntryHeader AS acdocu
INNER JOIN I_CnsldtnGlobalParameter AS _GlobalParameter ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CnsldtnJrnlEntryItemTP AS _Item ON _Item.FiscalYear = FiscalYear AND _Item.ConsolidationDocumentNumber = ConsolidationDocumentNumber AND _Item.ConsolidationLedger = ConsolidationLedger -- association [0..*]
LEFT OUTER JOIN I_CnsldtnLedger AS _Ledger ON ConsolidationLedgerForEdit = _Ledger.ConsolidationLedger -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _Version ON ConsolidationVersion = _Version.ConsolidationVersion -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGroup AS _CnsldtnGroup ON ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup AND _CnsldtnGroup.ConsolidationDimension = ConsolidationDimension -- association [1..1]
LEFT OUTER JOIN I_CnsldtnChartOfAccounts AS _ChartOfAccounts ON ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts -- association [1..1]
LEFT OUTER JOIN I_CnsldtnDocumentType_2 AS _DocumentType ON ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType -- association [1..1]
LEFT OUTER JOIN I_CnsldtnJrnlEntrSource AS _JrnlEntrSource ON ConsolidationJrnlEntrSource = _JrnlEntrSource.ConsolidationJrnlEntrSource -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocumentTypeField AS _DocTypeFields ON _DocTypeFields.ConsolidationDocumentType = ConsolidationDocumentType AND _DocTypeFields.ConsolidationDimension = ConsolidationDimension -- association [0..*]
;
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