I_SchedulingSourceText

DDL: I_SCHEDULINGSOURCETEXT SQL: ISCHEDLSOURCETXT Type: view BASIC

Scheduling Source - Text

I_SchedulingSourceText is a Basic CDS View that provides data about "Scheduling Source - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, SchedulingSource. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t t from

Associations (1)

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

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ISCHEDLSOURCETXT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey SchedulingSource view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Scheduling Source - Text view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY SchedulingSource
DomainValue dd07t domvalue_l
SchedulingSourceName
_SchedulingSource _SchedulingSource
_Language _Language
@AbapCatalog.sqlViewName: 'ISCHEDLSOURCETXT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'SchedulingSource'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Scheduling Source - Text'

/*+[hideWarning] { "IDS" : [ "KEY_CHECK", "CALCULATED_FIELD_CHECK" ]  } */
define view I_SchedulingSourceText
  as select from dd07t as t
  association to parent I_SchedulingSource as _SchedulingSource on $projection.SchedulingSource = _SchedulingSource.SchedulingSource
  association [0..1] to I_Language         as _Language         on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_Language'      
      @Semantics.language: true
  key cast(t.ddlanguage as spras preserving type)                  as Language,
      @ObjectModel.foreignKey.association: '_SchedulingSource'  
      @ObjectModel.text.element: 'SchedulingSourceName'
  key cast(substring(t.domvalue_l, 1, 1) as trmhk preserving type) as SchedulingSource,
      @Analytics.hidden: true
      @Consumption.hidden: true
      t.domvalue_l                                                 as DomainValue,
      @Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
      @Semantics.text: true
      cast(t.ddtext as trmhk_txt preserving type)                  as SchedulingSourceName,
    
      // Associations

     _SchedulingSource,
      _Language
}
  where t.domname = 'TRMHK'
    and t.as4local = 'A'
    and t.as4vers  = '0000';