R_TrdgDocGenericCategoryText

DDL: R_TRDGDOCGENERICCATEGORYTEXT Type: view_entity BASIC

Trading Document Generic Category - Txt

R_TrdgDocGenericCategoryText is a Basic CDS View that provides data about "Trading Document Generic Category - Txt" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, TrdgDocGenericCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

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

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Trading Document Generic Category - Txt view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey TrdgDocGenericCategory view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY TrdgDocGenericCategory
DomainValue dd07t domvalue_l
TrdgDocGenericCategoryName dd07t ddtext
_TrdgDocGenericCategory _TrdgDocGenericCategory
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@EndUserText.label: 'Trading Document Generic Category - Txt'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.representativeKey: 'TrdgDocGenericCategory'
@ObjectModel.supportedCapabilities: 
[ #CDS_MODELING_ASSOCIATION_TARGET,
  #CDS_MODELING_DATA_SOURCE,
  #LANGUAGE_DEPENDENT_TEXT,
  #SEARCHABLE_ENTITY,
  #SQL_DATA_SOURCE]
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #S
@Search.searchable: true
define view entity R_TrdgDocGenericCategoryText
  as select from dd07t
  association        to parent R_TrdgDocGenericCategory as _TrdgDocGenericCategory on $projection.TrdgDocGenericCategory = _TrdgDocGenericCategory.TrdgDocGenericCategory
  association [0..1] to I_Language               as _Language        on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast( dd07t.ddlanguage as spras preserving type ) as Language,
      
      @ObjectModel.text.element: ['TrdgDocGenericCategoryName']
  key cast( dd07t.domvalue_l as wb2_doc_type )                 as TrdgDocGenericCategory,
      @Consumption.hidden: true
      dd07t.domvalue_l                                  as DomainValue,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #LOW
      @Semantics.text: true
      @Consumption.filter.hidden: true
      @UI.textArrangement: #TEXT_ONLY
      dd07t.ddtext                                      as TrdgDocGenericCategoryName,

      //Associations

      _TrdgDocGenericCategory,
      _Language
}
where
      domname       = 'WB2_DOC_TYPE'
  and as4local      = 'A'
  and dd07t.as4vers = '0000';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"R_TRDGDOCGENERICCATEGORY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/