I_JournalEntryCategoryText

DDL: I_JOURNALENTRYCATEGORYTEXT Type: view_entity BASIC

Journal Entry Category - Text

I_JournalEntryCategoryText is a Basic CDS View that provides data about "Journal Entry Category - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields JournalEntryCategory, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_JournalEntryCategory _JournalEntryCategory $projection.JournalEntryCategory = _JournalEntryCategory.JournalEntryCategory

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Journal Entry Category - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey JournalEntryCategory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY JournalEntryCategory
KEY Language
JournalEntryCategoryName
DomainValue dd07t domvalue_l
_JournalEntryCategory _JournalEntryCategory
_Language _Language

@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Journal Entry Category - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { dataCategory: #TEXT, 
  modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
  supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY],
  representativeKey: 'JournalEntryCategory',
  usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META} }
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC


define view entity I_JournalEntryCategoryText   as select from dd07t as t
  association [0..1] to I_Language      as _Language      on $projection.Language = _Language.Language
  association [1..1] to I_JournalEntryCategory as _JournalEntryCategory on $projection.JournalEntryCategory = _JournalEntryCategory.JournalEntryCategory

{
      @ObjectModel.foreignKey.association: '_JournalEntryCategory'
      @ObjectModel.text.element: ['JournalEntryCategoryName']
  key cast( domvalue_l as fis_bstat )                                                       as JournalEntryCategory,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(t.ddlanguage as spras preserving type)                                           as Language,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      cast(t.ddtext as ordercategoryname preserving type)                                   as JournalEntryCategoryName,
//      @Analytics.hidden: true

      @Consumption.hidden: true
      t.domvalue_l                                                                          as DomainValue,

      // Associations

      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
      _JournalEntryCategory,
      _Language
}
  where t.domname = 'BSTAT'
    and t.as4local = 'A'
    and t.as4vers  = '0000';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_JOURNALENTRYCATEGORY",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/