I_JobText

DDL: I_JOBTEXT SQL: IJOBTEXT Type: view BASIC Package: VDM_SHCM_EMPLOYEE

Job text

I_JobText is a Basic CDS View that provides data about "Job text" in SAP S/4HANA. It reads from 1 data source (wfd_d_jobcodet) and exposes 6 fields with key fields Job, StartDate, EndDate, Language. It has 1 association to related views. Part of development package VDM_SHCM_EMPLOYEE.

Data Sources (1)

SourceAliasJoin Type
wfd_d_jobcodet new from

Associations (1)

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

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IJOBTEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Job text view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey Job view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Job job_code
KEY StartDate start_date
KEY EndDate end_date
KEY Language
JobName job_title
_Language _Language
@AbapCatalog.sqlViewName: 'IJOBTEXT'
@VDM.viewType:  #BASIC
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Job text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'Job'

define view I_JobText
  //  as select distinct from t513s          as old

  //    left outer join       wfd_d_new_pers as switch on old.mandt = switch.mandt

  //  association [0..1] to I_Language as _Language on old.sprsl = _Language.Language

  //{

  //  key stell as Job,

  //  key begda as StartDate,

  //  key endda as EndDate,

  //      @Semantics.language

  //  key sprsl as Language,

  //      @Semantics.text: true

  //      stltx as JobName,

  //      _Language

  //}

  //where

  //     switch.switch is null

  //  or switch.switch <> 'NEW'

  //

  //union all


  as select from wfd_d_jobcodet as new
  //  inner join          wfd_d_new_pers as switch on new.client = switch.mandt

  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language

{
  key  job_code                                                         as Job,
  key  start_date                                                       as StartDate,
  key  end_date                                                         as EndDate,
       @Semantics.language
  key  coalesce(  cast ($session.system_language as langu ), language ) as Language,
       @Semantics.text: true
       job_title                                                        as JobName,
       _Language
}
//where

//  switch.switch = 'NEW'