A_CityCodeText
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CityCodeText | I_CityCodeText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_CityCode | _CityCode | $projection.CityCode = _CityCode.CityCode and $projection.Region = _CityCode.Region and $projection.Country = _CityCode.Country |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CITYCODETEXT"
],
"ASSOCIATED":
[
"A_CITYCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA