C_GHORegionVH

DDL: C_GHOREGIONVH SQL: CGHOREGIONVH Type: view CONSUMPTION

Region

C_GHORegionVH is a Consumption CDS View that provides data about "Region" in SAP S/4HANA. It reads from 1 data source (I_Region) and exposes 4 fields with key fields Country, Region. It has 2 associations to related views. It is exposed through 2 OData services (UI_GHO_PRODNALLOCATIONRUNLIST, UI_GHOPRIORPERIODNOTIFICATION).

Data Sources (1)

SourceAliasJoin Type
I_Region Region from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CountryText _CountryText $projection.Country = _CountryText.Country
[1..1] C_GHOCountryVH _GHOCountryVH $projection.Country = _GHOCountryVH.Country

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CGHOREGIONVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Region view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

OData Services (2)

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED
UI_GHOPRIORPERIODNOTIFICATION UI_GHOPRIORPERIODNOTIF_O2 V2 C1 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Country Country Venue: Ctry/Reg
KEY Region Region Venue Region
RegionName
_CountryText _CountryText

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_GHORegionVH.
-- 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: CGHOREGIONVH

CREATE VIEW C_GHORegionVH AS
SELECT
  Country,
  Region,
  cast(_RegionText[1: Language = $session.system_language].RegionName as gho_nm_region preserving type ) AS RegionName
FROM I_Region AS Region
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country  -- association [0..*]
LEFT OUTER JOIN C_GHOCountryVH AS _GHOCountryVH ON Country = _GHOCountryVH.Country  -- association [1..1]
;