C_GHOCountryVH

DDL: C_GHOCOUNTRYVH SQL: CGHOCOUNTRYVH Type: view CONSUMPTION

Country/Region

C_GHOCountryVH is a Consumption CDS View that provides data about "Country/Region" in SAP S/4HANA. It reads from 1 data source (I_Country) and exposes 2 fields with key field Country. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_Country I_Country from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_GHORegionVH _GHORegionVH $projection.Country = _GHORegionVH.Country

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CGHOCOUNTRYVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Country/Region view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Country Country Venue: Ctry/Reg
CountryName

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 C_GHOCountryVH.
-- 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: CGHOCOUNTRYVH

CREATE VIEW C_GHOCountryVH AS
SELECT
  Country,
  _Text[1:Language = $session.system_language].CountryName AS CountryName
FROM I_Country
LEFT OUTER JOIN C_GHORegionVH AS _GHORegionVH ON Country = _GHORegionVH.Country  -- association [0..*]
;