I_Country

DDL: I_COUNTRY SQL: IFICOUNTRY Type: view BASIC

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

CategoryCDS Views for Business Address Service
Data CategoryDimension
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.

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
t005 t005 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CountryText _Text $projection.Country = _Text.Country

Annotations (21)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;