I_HCMNationality

DDL: I_HCMNATIONALITY Type: view_entity BASIC

Nationality

I_HCMNationality is a Basic CDS View that provides data about "Nationality" 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.

Data Sources (1)

SourceAliasJoin Type
t005 t005 from

Associations (1)

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

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Nationality view
ObjectModel.representativeKey Country view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Country Trip Ctry/Reg
CountryThreeLetterISOCode intca3 ISO Code 3 Char
CountryThreeDigitISOCode intcn3 ISO Code Num. 3
CountryTwoLetterISOCode 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_HCMNationality.
-- 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.

CREATE VIEW I_HCMNationality AS
SELECT
  cast(land1 as BT_HCMNationalityCode preserving type ) AS Country,
  intca3 AS CountryThreeLetterISOCode,
  intcn3 AS CountryThreeDigitISOCode,
  intca AS CountryTwoLetterISOCode,
  xegld AS IsEuropeanUnionMember
FROM t005
LEFT OUTER JOIN I_HCMNationalityText AS _Text ON Country = _Text.Country  -- association [0..*]
;