FAC_CDS_UH_REGION

DDL: FAC_CDS_UH_REGION SQL: FACV_UH_REGN Type: view

Region Master Data

FAC_CDS_UH_REGION is a CDS View that provides data about "Region Master Data" in SAP S/4HANA. It reads from 1 data source (I_Region) and exposes 5 fields with key fields Country, Region. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Region I_Region from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_RegionText _RegionText $projection.Region = _RegionText.Region and $projection.Country = _RegionText.Country
[1..1] I_Country _Country $projection.Country = _Country.Country

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName FACV_UH_REGN view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Region Master Data view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (5)

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

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 FAC_CDS_UH_REGION.
-- 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: FACV_UH_REGN

CREATE VIEW FAC_CDS_UH_REGION AS
SELECT
  Country,
  Region,
  _RegionText[1:Language = $session.system_language].RegionName AS RegionName
FROM I_Region
LEFT OUTER JOIN I_RegionText AS _RegionText ON Region = _RegionText.Region AND Country = _RegionText.Country  -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
;