I_CITYCODETEXT

CDS View

City Code Text

I_CITYCODETEXT is a CDS View in S/4HANA. City Code Text. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
A_CityCodeText view from BASIC City Code - Text
@ClientHandling.algorithm: #SESSION_VARIABLE //Inserted by VDM CDS Suite Plugin

@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'CityCode'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@AbapCatalog.sqlViewName: 'ICITYCODETEXT'
@EndUserText.label: 'City Code Text'
@Analytics.dataExtraction.enabled: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations:true

define view I_CityCodeText
  as select from t005h
  association [0..1] to I_CityCode as _CityCode on  $projection.Country  = _CityCode.Country
                                                and $projection.Region   = _CityCode.Region
                                                and $projection.CityCode = _CityCode.CityCode
  association [0..1] to I_Language as _Language on  $projection.Language = _Language.Language
  association [1..1] to I_Region   as _Region   on  $projection.Region  = _Region.Region
                                                and $projection.Country = _Region.Country
  association [1..1] to I_Country  as _Country  on  $projection.Country = _Country.Country
{
      @ObjectModel.foreignKey.association: '_Region'
  key regio as Region,
      @ObjectModel.foreignKey.association: '_Country'
  key land1 as Country,
      @ObjectModel.foreignKey.association: '_CityCode'
  key cityc as CityCode,
       @Semantics.language
      @ObjectModel.foreignKey.association: '_Language'
  key spras as Language,
      @EndUserText.label: 'City Code Name'
      @Semantics.text
      bezei as CityCodeName,
      _CityCode,
      _Language,
      _Region,
      _Country
}