A_CityCodeText

DDL: A_CITYCODETEXT SQL: ACITYCODETEXT Type: view BASIC Package: VDM_MD_BP_BASE

City Code - Text

A_CityCodeText is a Basic CDS View that provides data about "City Code - Text" in SAP S/4HANA. It reads from 1 data source (I_CityCodeText) and exposes 6 fields with key fields Language, Region, Country, CityCode. It has 1 association to related views. It is exposed through 1 OData service (API_CITYCODE). Part of development package VDM_MD_BP_BASE.

Data Sources (1)

SourceAliasJoin Type
I_CityCodeText I_CityCodeText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_CityCode _CityCode $projection.CityCode = _CityCode.CityCode and $projection.Region = _CityCode.Region and $projection.Country = _CityCode.Country

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ACITYCODETEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label City Code - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #BASIC view

OData Services (1)

ServiceBindingVersionContractRelease
API_CITYCODE API_CITYCODE V4 C2 C1

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language Language
KEY Region Region
KEY Country Country
KEY CityCode CityCode
CityCodeName CityCodeName
_CityCode _CityCode
@AbapCatalog.sqlViewName: 'ACITYCODETEXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'City Code - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.sizeCategory: #S
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #BASIC

define view A_CityCodeText as select from I_CityCodeText   
association [1..1] to A_CityCode as _CityCode
on $projection.CityCode = _CityCode.CityCode
and $projection.Region = _CityCode.Region
and $projection.Country = _CityCode.Country
{
      @Semantics.language: true
   key Language,
       @ObjectModel.text.element: ['CityCodeName']
   key Region,
   key Country,    
   key CityCode,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      @Semantics.text: true
       CityCodeName,
        _CityCode
}