C_MngJournalEntryTotalAmount

DDL: C_MNGJOURNALENTRYTOTALAMOUNT Type: view_entity CONSUMPTION

Journal Entry Total Amount

C_MngJournalEntryTotalAmount is a Consumption CDS View that provides data about "Journal Entry Total Amount" in SAP S/4HANA. It reads from 4 data sources (R_ManageJournalEntryLedgerView, R_ManageJournalEntryItem, R_MngJrnlEntrTechLedgerView, R_MngJrnlEntrPrkdDocumentItem) and exposes 182 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, TransactionCurrency. It is exposed through 1 OData service (UI_JOURNALENTRY_MANAGE). It is used in 1 Fiori application: Manage Journal Entries - New Version.

Data Sources (4)

SourceAliasJoin Type
R_ManageJournalEntryLedgerView _Item from
R_ManageJournalEntryItem _Item union_all
R_MngJrnlEntrTechLedgerView _Item union_all
R_MngJrnlEntrPrkdDocumentItem _Item union_all

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Journal Entry Total Amount view
ObjectModel.query.implementedBy ABAP:CL_MJE_TOTAL_AMOUNT view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_JOURNALENTRY_MANAGE UI_JOURNALENTRY_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (1)

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

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.

Fields (182)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
KEY TransactionCurrency TransactionCurrency Transaction Currency
KEY CompanyCodeCurrency CompanyCodeCurrency Local Currency
KEY GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
KEY FunctionalCurrency FunctionalCurrency Functional Currency
KEY FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
KEY FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
KEY FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
KEY FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
KEY FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
KEY FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
KEY FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
KEY FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
KEY AdditionalCurrency1 Local curr. 2
KEY AdditionalCurrency2 Local curr. 3
CreditAmountInTransCrcy
CreditAmountInCoCodeCrcy
CreditAmountInGlobalCrcy
CreditAmountInFunctionalCrcy
CreditAmountInFreeDfndCrcy1
CreditAmountInFreeDfndCrcy2
CreditAmountInFreeDfndCrcy3
CreditAmountInFreeDfndCrcy4
CreditAmountInFreeDfndCrcy5
CreditAmountInFreeDfndCrcy6
CreditAmountInFreeDfndCrcy7
CreditAmountInFreeDfndCrcy8
CreditAmountInAddlCrcy1
CreditAmountInAddlCrcy2
DebitAmountInTransCrcy
DebitAmountInCoCodeCrcy
DebitAmountInGlobalCrcy
DebitAmountInFunctionalCrcy
DebitAmountInFreeDfndCrcy1
DebitAmountInFreeDfndCrcy2
DebitAmountInFreeDfndCrcy3
DebitAmountInFreeDfndCrcy4
DebitAmountInFreeDfndCrcy5
DebitAmountInFreeDfndCrcy6
DebitAmountInFreeDfndCrcy7
DebitAmountInFreeDfndCrcy8
DebitAmountInAddlCrcy1
DebitAmountInAddlCrcy2
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
KEY TransactionCurrency TransactionCurrency Transaction Currency
KEY CompanyCodeCurrency CompanyCodeCurrency Local Currency
KEY GlobalCurrency GM Billing Element: Global Currency
KEY FunctionalCurrency FunctionalCurrency Functional Currency
KEY FreeDefinedCurrency1 Freely Defined Currency 1
KEY FreeDefinedCurrency2 Freely Defined Currency 2
KEY FreeDefinedCurrency3 Freely Defined Currency 3
KEY FreeDefinedCurrency4 Freely Defined Currency 4
KEY FreeDefinedCurrency5 Freely Defined Currency 5
KEY FreeDefinedCurrency6 Freely Defined Currency 6
KEY FreeDefinedCurrency7 Freely Defined Currency 7
KEY FreeDefinedCurrency8 Freely Defined Currency 8
KEY AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
KEY AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
CreditAmountInTransCrcy
CreditAmountInCoCodeCrcy
CreditAmountInGlobalCrcy
CreditAmountInFunctionalCrcy
CreditAmountInFreeDfndCrcy1
CreditAmountInFreeDfndCrcy2
CreditAmountInFreeDfndCrcy3
CreditAmountInFreeDfndCrcy4
CreditAmountInFreeDfndCrcy5
CreditAmountInFreeDfndCrcy6
CreditAmountInFreeDfndCrcy7
CreditAmountInFreeDfndCrcy8
CreditAmountInAddlCrcy1
CreditAmountInAddlCrcy2
DebitAmountInTransCrcy
DebitAmountInCoCodeCrcy
DebitAmountInGlobalCrcy
DebitAmountInFunctionalCrcy
DebitAmountInFreeDfndCrcy1
DebitAmountInFreeDfndCrcy2
DebitAmountInFreeDfndCrcy3
DebitAmountInFreeDfndCrcy4
DebitAmountInFreeDfndCrcy5
DebitAmountInFreeDfndCrcy6
DebitAmountInFreeDfndCrcy7
DebitAmountInFreeDfndCrcy8
DebitAmountInAddlCrcy1
DebitAmountInAddlCrcy2
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
KEY TransactionCurrency TransactionCurrency Transaction Currency
KEY CompanyCodeCurrency CompanyCodeCurrency Local Currency
KEY GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
KEY FunctionalCurrency FunctionalCurrency Functional Currency
KEY FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
KEY FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
KEY FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
KEY FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
KEY FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
KEY FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
KEY FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
KEY FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
KEY AdditionalCurrency1 Local curr. 2
KEY AdditionalCurrency2 Local curr. 3
CreditAmountInTransCrcy
CreditAmountInCoCodeCrcy
CreditAmountInGlobalCrcy
CreditAmountInFunctionalCrcy
CreditAmountInFreeDfndCrcy1
CreditAmountInFreeDfndCrcy2
CreditAmountInFreeDfndCrcy3
CreditAmountInFreeDfndCrcy4
CreditAmountInFreeDfndCrcy5
CreditAmountInFreeDfndCrcy6
CreditAmountInFreeDfndCrcy7
CreditAmountInFreeDfndCrcy8
CreditAmountInAddlCrcy1
CreditAmountInAddlCrcy2
DebitAmountInTransCrcy
DebitAmountInCoCodeCrcy
DebitAmountInGlobalCrcy
DebitAmountInFunctionalCrcy
DebitAmountInFreeDfndCrcy1
DebitAmountInFreeDfndCrcy2
DebitAmountInFreeDfndCrcy3
DebitAmountInFreeDfndCrcy4
DebitAmountInFreeDfndCrcy5
DebitAmountInFreeDfndCrcy6
DebitAmountInFreeDfndCrcy7
DebitAmountInFreeDfndCrcy8
DebitAmountInAddlCrcy1
DebitAmountInAddlCrcy2
KEY CompanyCode SourceCompanyCode
KEY FiscalYear SourceFiscalYear
KEY AccountingDocument SourceAccountingDocument
KEY TransactionCurrency TransactionCurrency Transaction Currency
KEY CompanyCodeCurrency CompanyCodeCurrency Local Currency
KEY GlobalCurrency GM Billing Element: Global Currency
KEY FunctionalCurrency Functional Currency
KEY FreeDefinedCurrency1 Freely Defined Currency 1
KEY FreeDefinedCurrency2 Freely Defined Currency 2
KEY FreeDefinedCurrency3 Freely Defined Currency 3
KEY FreeDefinedCurrency4 Freely Defined Currency 4
KEY FreeDefinedCurrency5 Freely Defined Currency 5
KEY FreeDefinedCurrency6 Freely Defined Currency 6
KEY FreeDefinedCurrency7 Freely Defined Currency 7
KEY FreeDefinedCurrency8 Freely Defined Currency 8
KEY AdditionalCurrency1 AdditionalCurrency1 Local curr. 2
KEY AdditionalCurrency2 AdditionalCurrency2 Local curr. 3
CreditAmountInTransCrcy
CreditAmountInCoCodeCrcy
CreditAmountInGlobalCrcy
CreditAmountInFunctionalCrcy
CreditAmountInFreeDfndCrcy1
CreditAmountInFreeDfndCrcy2
CreditAmountInFreeDfndCrcy3
CreditAmountInFreeDfndCrcy4
CreditAmountInFreeDfndCrcy5
CreditAmountInFreeDfndCrcy6
CreditAmountInFreeDfndCrcy7
CreditAmountInFreeDfndCrcy8
CreditAmountInAddlCrcy1
CreditAmountInAddlCrcy2
DebitAmountInTransCrcy
DebitAmountInCoCodeCrcy
DebitAmountInGlobalCrcy
DebitAmountInFunctionalCrcy
DebitAmountInFreeDfndCrcy1
DebitAmountInFreeDfndCrcy2
DebitAmountInFreeDfndCrcy3
DebitAmountInFreeDfndCrcy4
DebitAmountInFreeDfndCrcy5
DebitAmountInFreeDfndCrcy6
DebitAmountInFreeDfndCrcy7
DebitAmountInFreeDfndCrcy8
DebitAmountInAddlCrcy1
DebitAmountInAddlCrcy2
DatabaseTable

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_MngJournalEntryTotalAmount.
-- 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_MngJournalEntryTotalAmount AS
SELECT
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  TransactionCurrency,
  CompanyCodeCurrency,
  GlobalCurrency,
  FunctionalCurrency,
  FreeDefinedCurrency1,
  FreeDefinedCurrency2,
  FreeDefinedCurrency3,
  FreeDefinedCurrency4,
  FreeDefinedCurrency5,
  FreeDefinedCurrency6,
  FreeDefinedCurrency7,
  FreeDefinedCurrency8,
  cast('' as fis_hwae2) AS AdditionalCurrency1,
  cast('' as fis_hwae3) AS AdditionalCurrency2,
  sum(CreditAmountInTransCrcy) AS CreditAmountInTransCrcy,
  sum(CreditAmountInCoCodeCrcy) AS CreditAmountInCoCodeCrcy,
  sum(CreditAmountInGlobalCrcy) AS CreditAmountInGlobalCrcy,
  sum(CreditAmountInFunctionalCrcy) AS CreditAmountInFunctionalCrcy,
  sum(CreditAmountInFreeDfndCrcy1) AS CreditAmountInFreeDfndCrcy1,
  sum(CreditAmountInFreeDfndCrcy2) AS CreditAmountInFreeDfndCrcy2,
  sum(CreditAmountInFreeDfndCrcy3) AS CreditAmountInFreeDfndCrcy3,
  sum(CreditAmountInFreeDfndCrcy4) AS CreditAmountInFreeDfndCrcy4,
  sum(CreditAmountInFreeDfndCrcy5) AS CreditAmountInFreeDfndCrcy5,
  sum(CreditAmountInFreeDfndCrcy6) AS CreditAmountInFreeDfndCrcy6,
  sum(CreditAmountInFreeDfndCrcy7) AS CreditAmountInFreeDfndCrcy7,
  sum(CreditAmountInFreeDfndCrcy8) AS CreditAmountInFreeDfndCrcy8,
  cast(abap.curr'0.00' as fis_dmbe2) AS CreditAmountInAddlCrcy1,
  cast(abap.curr'0.00' as fis_dmbe3) AS CreditAmountInAddlCrcy2,
  sum(DebitAmountInTransCrcy) AS DebitAmountInTransCrcy,
  sum(DebitAmountInCoCodeCrcy) AS DebitAmountInCoCodeCrcy,
  sum(DebitAmountInGlobalCrcy) AS DebitAmountInGlobalCrcy,
  sum(DebitAmountInFunctionalCrcy) AS DebitAmountInFunctionalCrcy,
  sum(DebitAmountInFreeDfndCrcy1) AS DebitAmountInFreeDfndCrcy1,
  sum(DebitAmountInFreeDfndCrcy2) AS DebitAmountInFreeDfndCrcy2,
  sum(DebitAmountInFreeDfndCrcy3) AS DebitAmountInFreeDfndCrcy3,
  sum(DebitAmountInFreeDfndCrcy4) AS DebitAmountInFreeDfndCrcy4,
  sum(DebitAmountInFreeDfndCrcy5) AS DebitAmountInFreeDfndCrcy5,
  sum(DebitAmountInFreeDfndCrcy6) AS DebitAmountInFreeDfndCrcy6,
  sum(DebitAmountInFreeDfndCrcy7) AS DebitAmountInFreeDfndCrcy7,
  sum(DebitAmountInFreeDfndCrcy8) AS DebitAmountInFreeDfndCrcy8,
  cast(abap.curr'0.00' as fis_dmbe2) AS DebitAmountInAddlCrcy1,
  cast(abap.curr'0.00' as fis_dmbe3) AS DebitAmountInAddlCrcy2,
  cast('BSEG' as tabname) AS DatabaseTable
FROM R_ManageJournalEntryLedgerView AS _Item
-- UNION ALL with additional select branch(es): R_ManageJournalEntryItem, R_MngJrnlEntrTechLedgerView, R_MngJrnlEntrPrkdDocumentItem
;