C_JrnlEntrLdgrCoCodeCrcyRole
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 14 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 1 Fiori application: Manage Journal Entries - New Version.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_JrnlEntrLdgrCoCodeCrcyRole | R_JrnlEntrLdgrCoCodeCrcyRole | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Companycodecurrencyrole | _CurrencyRole | $projection.CurrencyRole = _CurrencyRole.CurrencyRole and $projection.CompanyCode = _CurrencyRole.CompanyCode |
| [0..*] | I_CurrencyRoleText | _Text | $projection.CurrencyRole = _Text.CurrencyRole |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_JOURNALENTRY_MANAGE | UI_JOURNALENTRY_MANAGE | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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 (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | ||
| KEY | CompanyCode | CompanyCode | ||
| KEY | CurrencyRole | |||
| KEY | CurrencyField | CurrencyField | ||
| CurrencyFieldName | CurrencyFieldName | |||
| AmountFieldName | AmountFieldName | |||
| TaxBaseAmountFieldName | TaxBaseAmountFieldName | |||
| 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,
@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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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