I_BPCityTextTmp

DDL: I_BPCITYTEXTTMP SQL: IBPCITYTEXT Type: view BASIC

City Code txt

I_BPCityTextTmp is a Basic CDS View that provides data about "City Code txt" in SAP S/4HANA. It reads from 1 data source (adrcityt) and exposes 8 fields with key fields Country, BusinessPartnerCityCode, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
adrcityt adrcityt from

Associations (2)

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

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IBPCITYTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label City Code txt view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey BusinessPartnerCityCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #TEXT view
Search.searchable true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Country country Venue: Ctry/Reg
KEY BusinessPartnerCityCode city_code Description
KEY Language langu Primary lang.
CityName city_name City
BPCityUpperCase mc_city City
BPCityNameExtension city_ext City Extension
_Language _Language
_Country _Country

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_BPCityTextTmp.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IBPCITYTEXT

CREATE VIEW I_BPCityTextTmp AS
SELECT
  Country,
  city_code AS BusinessPartnerCityCode,
  langu AS Language,
  city_name AS CityName,
  mc_city AS BPCityUpperCase,
  city_ext AS BPCityNameExtension
FROM adrcityt
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
;