C_MX_JrnlEntrWithRelatedDocsLg

DDL: C_MX_JRNLENTRWITHRELATEDDOCSLG SQL: CMXJEDETAILSRDLG Type: view CONSUMPTION

Audit Trail in Journal Entries Report

C_MX_JrnlEntrWithRelatedDocsLg is a Consumption CDS View that provides data about "Audit Trail in Journal Entries Report" in SAP S/4HANA. It reads from 1 data source (I_ClrgInfoRelationForAcctgDoc) and exposes 7 fields with key fields Ledger, CompanyCode, AccountingDocument, Ledger, CompanyCode.

Data Sources (1)

SourceAliasJoin Type
I_ClrgInfoRelationForAcctgDoc RelatedDocuments inner

Parameters (2)

NameTypeDefault
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CMXJEDETAILSRDLG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Audit Trail in Journal Entries Report view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger G/L Fiscal Year
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY Ledger G/L Fiscal Year
KEY CompanyCode I_ClrgInfoRelationForAcctgDoc CompanyCode Receiver Company Code
KEY AccountingDocument I_ClrgInfoRelationForAcctgDoc AccountingDocument Journal Entry
KEY FiscalYear

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_MX_JrnlEntrWithRelatedDocsLg.
-- 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: CMXJEDETAILSRDLG
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to

CREATE VIEW C_MX_JrnlEntrWithRelatedDocsLg AS
SELECT
  Ledger,
  CompanyCode,
  AccountingDocument,
  cast( RelatedDocuments.FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear
INNER JOIN I_ClrgInfoRelationForAcctgDoc AS RelatedDocuments ON /* join condition not captured in parsed metadata */
;