I_CITYCODE
City Code
I_CITYCODE is a CDS View in S/4HANA. City Code. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_CityCode | view | from | BASIC | City Code |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'CityCode'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@AbapCatalog.sqlViewName: 'ICITYCODE'
@EndUserText.label: 'City Code'
@Analytics : {dataCategory: #DIMENSION, dataExtraction.enabled : true}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations:true
@Search.searchable: true
define view I_CityCode
as select from t005g
association [0..*] to I_CityCodeText as _Text on $projection.Country = _Text.Country
and $projection.Region = _Text.Region
and $projection.CityCode = _Text.CityCode
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
{
@Search.defaultSearchElement: true
@ObjectModel.foreignKey.association: '_Country'
key land1 as Country,
@Search.defaultSearchElement: true
@ObjectModel.foreignKey.association: '_Region'
key regio as Region,
@Search.defaultSearchElement: true
@ObjectModel.text.association: '_Text'
key cityc as CityCode,
_Text,
_Region,
_Country
}