I_Region

DDL: I_REGION SQL: IREGION Type: view BASIC

Region

I_Region (Basic)

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

Region · Cross Applications

I_Region is a Basic CDS View (Dimension) that provides data about "Region" in SAP S/4HANA. It reads from 1 data source (t005s) and exposes 4 fields with key fields Country, Region. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Data CategoryDimension
Purpose
This CDS view returns information about the region of a postal address. The regional information varies with countries. For example, in Australia or Canada, region would refer to a province; in Brazil or Germany, it would refer to a state; in Great Britain, to a county, in Switzerland, to a canton, and so on. This CDS view provides the data to answer the following business questions: What is the region where the address is located? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description Country Country or Region Key Region Region (State, Province, County)

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

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

Documentation

Data Sources (1)

SourceAliasJoin Type
t005s t005s from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_RegionText _RegionText $projection.Region = _RegionText.Region and $projection.Country = _RegionText.Country
[1..1] I_Country _Country $projection.Country = _Country.Country

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey Region view
ObjectModel.sapObjectNodeType.name Region view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName IREGION view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Region view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Country t005s land1 Country/Region Key
KEY Region t005s bland Region (State, Province, County)
_RegionText _RegionText
_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_Region.
-- 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: IREGION

CREATE VIEW I_Region AS
SELECT
  t005s.land1 AS Country,
  t005s.bland AS Region
FROM t005s
LEFT OUTER JOIN I_RegionText AS _RegionText ON Region = _RegionText.Region AND Country = _RegionText.Country  -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
;