C_DspDocFlwJournalEntryVH

DDL: C_DSPDOCFLWJOURNALENTRYVH SQL: CDDFJRNLENTRVH Type: view CONSUMPTION

Journal Entry

C_DspDocFlwJournalEntryVH is a Consumption CDS View that provides data about "Journal Entry" in SAP S/4HANA. It reads from 1 data source (I_JournalEntrySemanticKeyVH) and exposes 12 fields with key fields SourceLedger, AccountingDocument, CompanyCode, Ledger, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_JournalEntrySemanticKeyVH I_JournalEntrySemanticKeyVH from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CDDFJRNLENTRVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Journal Entry view
Search.searchable true view
Consumption.ranked true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger
KEY AccountingDocument AccountingDocument
KEY CompanyCode CompanyCode
KEY Ledger Ledger
KEY FiscalYear FiscalYear
AnchorDocument
AccountingDocumentType AccountingDocumentType
AccountingDocumentTypeName AccountingDocumentTypeName
DocumentIsArchived
IsCommitment IsCommitment
JournalEntryIsInSourceLedger JournalEntryIsInSourceLedger
ReferenceDocumentType
@AbapCatalog.sqlViewName: 'CDDFJRNLENTRVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@ClientHandling.algorithm: #SESSION_VARIABLE

@AccessControl.authorizationCheck: #CHECK

@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass:  #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.dataCategory: #VALUE_HELP

@VDM.viewType: #CONSUMPTION

@Metadata.ignorePropagatedAnnotations: true

@EndUserText.label: 'Journal Entry'
@Search.searchable: true
@Consumption.ranked: true
define view C_DspDocFlwJournalEntryVH
  as select from I_JournalEntrySemanticKeyVH
{
      @Consumption.filter.hidden: true
      @UI.hidden: true
  key SourceLedger,

      @UI.selectionField.position: 10
      @UI.lineItem.position: 10
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
      @Search.fuzzinessThreshold: 0.9               
  key AccountingDocument,

      @UI.selectionField.position: 20
      @UI.lineItem.position: 20
      @Consumption.valueHelpDefinition: [{ entity: { name : 'I_CompanyCodeStdVH', element : 'CompanyCode' } }]
      @Consumption.filter.mandatory: true
  key CompanyCode,

      @UI.selectionField.position: 50
      @UI.lineItem.position: 50
      @Consumption.valueHelpDefinition: [{ entity: { name : 'I_LedgerStdVH', element : 'Ledger' } }]
  key Ledger,

      @UI.selectionField.position: 60
      @UI.lineItem.position: 60
      @Consumption.filter.mandatory: true
  key FiscalYear,

      @Consumption.filter.hidden: true
      @UI.hidden: true
      cast( JournalEntrySemanticKey as fac_ddf_anchor_document )  as  AnchorDocument,

      @UI.selectionField.position: 70
      @UI.hidden: true
      @ObjectModel.text.element: ['AccountingDocumentTypeName']
      @Consumption.valueHelpDefinition: [{ entity: { name : 'I_AccountingDocumentTypeStdVH', element : 'AccountingDocumentType' } }]
      AccountingDocumentType,

      @UI.lineItem.position: 70
      @Consumption.filter.hidden: true
      @Search.defaultSearchElement: true
      @Search.ranking: #LOW
      @Search.fuzzinessThreshold: 0.8
      AccountingDocumentTypeName,
      
      @Consumption.filter.selectionType: #SINGLE
      @Consumption.filter.defaultValue: '' 
      cast('' as xarch)                                           as  DocumentIsArchived,
            
      @Consumption.filter.hidden: true
      @UI.hidden: true
      @Consumption.filter.selectionType: #SINGLE
      IsCommitment,

      @Consumption.filter.hidden: true
      @UI.hidden: true
      @UI.selectionField.position: 60
      @Consumption.filter.selectionType: #SINGLE
      JournalEntryIsInSourceLedger,     

      @Consumption.filter.hidden: true
      @UI.hidden: true
      cast( 'BKPF' as swo_objtyp)                                 as  ReferenceDocumentType
}
where AccountingDocumentCategory <> 'C'  

// documents with AccountingDocumentCategory = C (compressed) are documents that have been archived

// they are no longer in BKPF (I_JournalEntry)

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRYSEMANTICKEYVH"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/