C_JrnlEntrLdgrCoCodeCrcyRole

DDL: C_JRNLENTRLDGRCOCODECRCYROLE Type: view_entity CONSUMPTION Package: ODATA_MANAGE_JOURNAL_ENTRY_V2

Ledger Company Code Currency Role

C_JrnlEntrLdgrCoCodeCrcyRole is a Consumption CDS View that provides data about "Ledger Company Code Currency Role" in SAP S/4HANA. It reads from 1 data source (R_JrnlEntrLdgrCoCodeCrcyRole) and exposes 16 fields with key fields Ledger, CompanyCode, CurrencyRole, CurrencyField. It has 2 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
R_JrnlEntrLdgrCoCodeCrcyRole R_JrnlEntrLdgrCoCodeCrcyRole from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Companycodecurrencyrole _CurrencyRole $projection.CurrencyRole = _CurrencyRole.CurrencyRole and $projection.CompanyCode = _CurrencyRole.CompanyCode
[0..*] I_CurrencyRoleText _Text $projection.CurrencyRole = _Text.CurrencyRole

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Ledger Company Code Currency Role view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
ObjectModel.query.implementedBy ABAP:CL_MJE_LDGRCOCODECURRENCYROLE 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 (16)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger
KEY CompanyCode CompanyCode
KEY CurrencyRole
KEY CurrencyField CurrencyField
CurrencyFieldName CurrencyFieldName
AmountFieldName AmountFieldName
TaxBaseAmountFieldName TaxBaseAmountFieldName
TaxAmountFieldName TaxAmountFieldName
TaxCurrencyFieldName TaxCurrencyFieldName
CurrencyRoleName
Currency _CurrencyRole Currency
Decimals
FiscalYear
AccountingDocument
CurrencyWithCurrencyRoleText
CurrencyIsRelevant
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Ledger Company Code Currency Role'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #L,
  dataClass: #MIXED
}
@VDM.viewType: #CONSUMPTION

@ObjectModel.query.implementedBy: 'ABAP:CL_MJE_LDGRCOCODECURRENCYROLE'

define view entity C_JrnlEntrLdgrCoCodeCrcyRole
  as select from R_JrnlEntrLdgrCoCodeCrcyRole  
  association [0..1] to I_Companycodecurrencyrole as _CurrencyRole on  $projection.CurrencyRole = _CurrencyRole.CurrencyRole
                                                                   and $projection.CompanyCode  = _CurrencyRole.CompanyCode
  association [0..*] to I_CurrencyRoleText        as _Text         on  $projection.CurrencyRole = _Text.CurrencyRole

{

  key Ledger,      
  key CompanyCode,
      @ObjectModel.text.element: ['CurrencyRoleName']
  key cast(CurrencyRole as fins_curtp preserving type ) as CurrencyRole,
      
  key CurrencyField,
      CurrencyFieldName,
      AmountFieldName,
      TaxBaseAmountFieldName,
      TaxAmountFieldName,
      TaxCurrencyFieldName,
      
      @Semantics.text: true
      cast( _Text[1: Language = $session.system_language].CurrencyRoleName as fac_crcyrole_txt ) as CurrencyRoleName,

      _CurrencyRole.Currency,
      _CurrencyRole._Currency.Decimals,
      // To get Trans. Currency we need following fields (see impl. class)

      cast( '0000' as gjahr) as FiscalYear,
      cast( '' as belnr_d) as  AccountingDocument,
      // Text shown on FE

      cast( '' as abap.char( 255 )) as CurrencyWithCurrencyRoleText,
      @Semantics.booleanIndicator
      cast( '' as abap.char( 1 )) as CurrencyIsRelevant
}