R_MngJrnlEntryEntryViewAmount

DDL: R_MNGJRNLENTRYENTRYVIEWAMOUNT Type: view_entity COMPOSITE Package: ODATA_MANAGE_JOURNAL_ENTRY_V2

Journal Entry

R_MngJrnlEntryEntryViewAmount is a Composite CDS View that provides data about "Journal Entry" in SAP S/4HANA. It reads from 1 data source (P_MngJrnlEntryEntryViewAmount) and exposes 8 fields with key fields CompanyCode, FiscalYear, AccountingDocument. Part of development package ODATA_MANAGE_JOURNAL_ENTRY_V2.

Data Sources (1)

SourceAliasJoin Type
P_MngJrnlEntryEntryViewAmount P_MngJrnlEntryEntryViewAmount from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Journal Entry view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY FiscalYear FiscalYear
KEY AccountingDocument AccountingDocument
AccountingDocumentCategory AccountingDocumentCategory
AccountingDocumentType AccountingDocumentType
CompanyCodeCurrency CompanyCodeCurrency
TransactionCurrency TransactionCurrency
FunctionalCurrency FunctionalCurrency
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Journal Entry'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #XXL,
  dataClass: #MIXED
}

@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type:#SAP_INTERNAL_API
}

define view entity R_MngJrnlEntryEntryViewAmount
  as select from P_MngJrnlEntryEntryViewAmount
  
{
  key CompanyCode,
  key FiscalYear,
  key AccountingDocument,
  
  AccountingDocumentCategory,
  AccountingDocumentType,
  
  CompanyCodeCurrency,
  @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
  cast (
  case DebitAmountInCoCodeCrcy
    when 0.00 then CreditAmountInCoCodeCrcy
    else DebitAmountInCoCodeCrcy
  end as fis_hsl) as AmountInCompanyCodeCurrency,
  
  TransactionCurrency,
  @Semantics.amount.currencyCode: 'TransactionCurrency'
  cast (
  case DebitAmountInTransCrcy
    when 0.00 then CreditAmountInTransCrcy
    else DebitAmountInTransCrcy
  end as fis_hsl) as AmountInTransactionCurrency,
  
  FunctionalCurrency,
  @Semantics.amount.currencyCode: 'FunctionalCurrency'
  cast (
  case DebitAmountInFunctionalCrcy
    when 0.00 then CreditAmountInFunctionalCrcy
    else DebitAmountInFunctionalCrcy
  end as fis_hsl) as AmountInFunctionalCurrency

}