I_TertiaryRegionText

DDL: I_TERTIARYREGIONTEXT SQL: ITERTIARYRGNTXT Type: view BASIC

Description of Tertiary Region

I_TertiaryRegionText (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cross Applications

I_TertiaryRegionText is a Basic CDS View that provides data about "Description of Tertiary Region" in SAP S/4HANA. It reads from 1 data source (adrtownshipt) and exposes 10 fields with key fields Language, Country, Region, SecondaryRegion, TertiaryRegion. It has 4 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentBC-SRV-ADR
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities, Language-Dependent Text
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
adrtownshipt adrtownshipt from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Country _Country $projection.Country = _Country.Country
[1..1] I_Region _Region $projection.Region = _Region.Region and $projection.Country = _Region.Country
[1..1] I_SecondaryRegion _SecondaryRegion $projection.Country = _SecondaryRegion.Country and $projection.Region = _SecondaryRegion.Region and $projection.SecondaryRegion = _SecondaryRegion.SecondaryRegion
[1..1] I_TertiaryRegion _TertiaryRegion $projection.Country = _TertiaryRegion.Country and $projection.Region = _TertiaryRegion.Region and $projection.SecondaryRegion = _TertiaryRegion.SecondaryRegion and $projection.TertiaryRegion = _TertiaryRegion.TertiaryRegion

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ITERTIARYRGNTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Description of Tertiary Region view
ObjectModel.representativeKey TertiaryRegion view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
VDM.viewType #BASIC view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Language langu Primary lang.
KEY Country country Country/Region Key
KEY Region region Region (State, Province, County)
KEY SecondaryRegion county_code County code for county
KEY TertiaryRegion township_code Township code for Township
TertiaryRegionName township Township
_Country _Country
_Region _Region
_SecondaryRegion _SecondaryRegion
_TertiaryRegion _TertiaryRegion

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_TertiaryRegionText.
-- 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: ITERTIARYRGNTXT

CREATE VIEW I_TertiaryRegionText AS
SELECT
  langu AS Language,
  Country,
  Region,
  county_code AS SecondaryRegion,
  township_code AS TertiaryRegion,
  township AS TertiaryRegionName
FROM adrtownshipt
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country  -- association [1..1]
LEFT OUTER JOIN I_SecondaryRegion AS _SecondaryRegion ON Country = _SecondaryRegion.Country AND Region = _SecondaryRegion.Region AND SecondaryRegion = _SecondaryRegion.SecondaryRegion  -- association [1..1]
LEFT OUTER JOIN I_TertiaryRegion AS _TertiaryRegion ON Country = _TertiaryRegion.Country AND Region = _TertiaryRegion.Region AND SecondaryRegion = _TertiaryRegion.SecondaryRegion AND TertiaryRegion = _TertiaryRegion.TertiaryRegion  -- association [1..1]
;