I_Country
Country/Region
I_Country is a Basic CDS View (Dimension) that provides data about "Country/Region" in SAP S/4HANA. It reads from 1 data source (t005) and exposes 6 fields with key field Country. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Business Address Service |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view provides access to country-specific financial data. These attributes of the Country business entity include the country, the index-based currency and the hard currency, as well as the ISO codes and the tax calculation procedure. This CDS view provides the prerequisites for answering the following business questions: What are the currencies of the country? What are the ISO codes of the country? Which procedure is used for calculating taxes in the country?
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/Region Key CountryThreeLetterISOCode ISO Country/Region Code 3 Characters CountryThreeDigitISOCode ISO Country/Region Code Numeric 3-Characters CountryISOCode ISO Code of the Country/Region IsEuropeanUnionMember Indicator: European Union Member?
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.
This CDS view provides access to country-specific financial data. These attributes of the Country business entity include the country, the index-based currency and the hard currency, as well as the ISO codes and the tax calculation procedure. This CDS view provides the prerequisites for answering the following business questions: What are the currencies of the country? What are the ISO codes of the country? Which procedure is used for calculating taxes in the country?
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/Region Key CountryThreeLetterISOCode ISO Country/Region Code 3 Characters CountryThreeDigitISOCode ISO Country/Region Code Numeric 3-Characters CountryISOCode ISO Code of the Country/Region IsEuropeanUnionMember Indicator: European Union Member?
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t005 | t005 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CountryText | _Text | $projection.Country = _Text.Country |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Country/Region | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IFICOUNTRY | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.representativeKey | Country | view | |
| ObjectModel.sapObjectNodeType.name | Country | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.compositionRoot | true | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AbapCatalog.buffering.numberOfKeyFields | 1 | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | land1 | Trip Ctry/Reg | |
| CountryThreeLetterISOCode | intca3 | ISO Code 3 Char | ||
| CountryThreeDigitISOCode | intcn3 | ISO Code Num. 3 | ||
| CountryISOCode | intca | ISO Code | ||
| IsEuropeanUnionMember | xegld | EU Country | ||
| _Text | _Text |
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_Country.
-- 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: IFICOUNTRY
CREATE VIEW I_Country AS
SELECT
land1 AS Country,
intca3 AS CountryThreeLetterISOCode,
intcn3 AS CountryThreeDigitISOCode,
intca AS CountryISOCode,
xegld AS IsEuropeanUnionMember
FROM t005
LEFT OUTER JOIN I_CountryText AS _Text ON Country = _Text.Country -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA