C_MngJrnlEntrReltdJournalEntry

DDL: C_MNGJRNLENTRRELTDJOURNALENTRY Type: view_entity CONSUMPTION Package: ODATA_MANAGE_JOURNAL_ENTRY_V2

Journal Entry Associated Journal Entry

C_MngJrnlEntrReltdJournalEntry is a Consumption CDS View that provides data about "Journal Entry Associated Journal Entry" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 23 fields with key fields CompanyCode, FiscalYear, AccountingDocument. It has 5 associations to related views. It is exposed through 1 OData service (UI_JOURNALENTRY_MANAGE). It is used in 2 Fiori applications: Manage Journal Entries - New Version, Display Journal Entries. Part of development package ODATA_MANAGE_JOURNAL_ENTRY_V2.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntry _JournalEntry from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_ReferenceDocumentTypeText _ReferenceDocumentTypeText $projection.ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType and _ReferenceDocumentTypeText.Language = $session.system_language
[0..1] I_AccountingDocumentCategoryT _AccountingDocumentCategoryT $projection.AccountingDocumentCategory = _AccountingDocumentCategoryT.AccountingDocumentCategory and _AccountingDocumentCategoryT.Language = $session.system_language
[0..1] I_AccountingDocumentTypeText _AccountingDocumentTypeText $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType and _AccountingDocumentTypeText.Language = $session.system_language
[0..1] I_BusTransactionTypeText _BusinessTransactionTypeText $projection.BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType and _BusinessTransactionTypeText.Language = $session.system_language
[0..1] I_AccountingDocumentType _AccountingDocumentType $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.auditFilter #ENABLED view
EndUserText.label Journal Entry Associated Journal Entry view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.typeName Associated Journal Entry view
UI.headerInfo.typeNamePlural Associated Journal Entries view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_JOURNALENTRY_MANAGE UI_JOURNALENTRY_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
F0717A Manage Journal Entries - New Version Transactional With this app you can analyze journal entries, create reversals or make adjustments.
F7697 Display Journal Entries Transactional With this app you can display and analyze journal entries.

Manage Journal Entries - New Version

Business Role: General Ledger Accountant

With this app, you can manage and analyze journal entries. You can find, filter, sort, and group journal entries according to the requirements of your business. The app is your entry point for many important journal entry management functions, allowing you to create, copy, verify, edit, and reverse entries. Additionally, you can initiate correspondence, analyze change and reversal logs, and display entries in t-account views or document flows. You navigate to the details of individual journal entries to display more information, such as transaction data, line items, associated journal entries, and other related documents.

Display Journal Entries

Business Role: General Ledger Accountant

With this app, you can view and analyze journal entries. You can find, filter, sort, and group journal entries according to the requirements of your business. Additionally, you can analyze change logs and display entries in t-account views or document flows. You navigate to the details of individual journal entries to display more information, such as transaction data, line items, associated journal entries, and other related documents.

Key Features: Display journal entries and their line items Access a detail screen for each journal entry Display parked documents View change logs See related documents, such as purchase orders or incoming invoices Display amounts in different ledgers and currencies Display intercompany journal entries See an overview of the customer and supplier accounting document data View notes and attachments added to journal entries Display predictive journal entries if you use predictive accounting

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
CompanyCodeName
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AccountingDocumentCategoryName
AccountingDocumentHeaderText AccountingDocumentHeaderText Doc.Header Text
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName _AccountingDocumentTypeText AccountingDocumentTypeName
BusinessTransactionType BusinessTransactionType Bus.transaction
BusinessTransactionTypeName _BusinessTransactionTypeText BusinessTransactionTypeName
AccountingDocumentCreationDate AccountingDocumentCreationDate Journal Entry Date
DocumentDate DocumentDate Journal Entry Date
ExchangeRateDate ExchangeRateDate Translatn Date
FiscalPeriod FiscalPeriod Tax period
IntercompanyTransaction IntercompanyTransaction Intercompany Transaction
Ledger Ledger Ledger
LedgerGroup LedgerGroup Ledger Group
OriginalReferenceDocument Reference Key
PostingDate PostingDate Posting Date for GR
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocumentTypeName
_AccountingDocumentType _AccountingDocumentType

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 C_MngJrnlEntrReltdJournalEntry.
-- 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 C_MngJrnlEntrReltdJournalEntry AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  cast(_CompanyCode.CompanyCodeName as fis_butxt preserving type) AS CompanyCodeName,
  AccountingDocumentCategory,
  cast(_AccountingDocumentCategoryT.AccountingDocumentCategoryName as fis_bstat_name preserving type ) AS AccountingDocumentCategoryName,
  AccountingDocumentHeaderText,
  AccountingDocumentType,
  _AccountingDocumentTypeText.AccountingDocumentTypeName AS AccountingDocumentTypeName,
  BusinessTransactionType,
  _BusinessTransactionTypeText.BusinessTransactionTypeName AS BusinessTransactionTypeName,
  AccountingDocumentCreationDate,
  DocumentDate,
  ExchangeRateDate,
  FiscalPeriod,
  IntercompanyTransaction,
  Ledger,
  LedgerGroup,
  cast(OriginalReferenceDocument as fis_awkey) AS OriginalReferenceDocument,
  PostingDate,
  ReferenceDocumentType,
  cast(_ReferenceDocumentTypeText.ReferenceDocumentTypeName as fac_text_typ preserving type) AS ReferenceDocumentTypeName
FROM I_JournalEntry AS _JournalEntry
LEFT OUTER JOIN I_ReferenceDocumentTypeText AS _ReferenceDocumentTypeText ON ReferenceDocumentType = _ReferenceDocumentTypeText.ReferenceDocumentType AND _ReferenceDocumentTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentCategoryT AS _AccountingDocumentCategoryT ON AccountingDocumentCategory = _AccountingDocumentCategoryT.AccountingDocumentCategory AND _AccountingDocumentCategoryT.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType AND _AccountingDocumentTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BusTransactionTypeText AS _BusinessTransactionTypeText ON BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType AND _BusinessTransactionTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType  -- association [0..1]
;