I_HCMGender

DDL: I_HCMGENDER Type: view_entity BASIC

HCM Gender

I_HCMGender is a Basic CDS View that provides data about "HCM Gender" in SAP S/4HANA. It reads from 2 data sources (I_HCMCountryRegionGrouping, I_HCMCountryRegionGrouping) and exposes 9 fields with key fields HCMCountryRegionGrouping, HCMGenderCode, HCMGenderCode. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_HCMCountryRegionGrouping _Molga from
I_HCMCountryRegionGrouping _Molga union_all

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_HCMGenderDiverseText _Text $projection.HCMGenderCode = _Text.HCMGenderCode and $projection.HCMActualCountryRegionGrouping = _Text.HCMCountryRegionGrouping
[0..1] I_HCMCountryRegionGrouping _CountryRegionGrouping $projection.HCMCountryRegionGrouping = _CountryRegionGrouping.HCMCountryRegionGrouping

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label HCM Gender view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey HCMGenderCode view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY HCMCountryRegionGrouping I_HCMCountryRegionGrouping HCMCountryRegionGrouping HCM Local.
KEY HCMGenderCode _CountrySpecific HCMGenderCode
HCMActualCountryRegionGrouping _CountrySpecific HCMCountryRegionGrouping HCM Local.
_Text _Text
HCMCountryRegionGrouping HCM Local.
KEY HCMGenderCode _Fallback HCMGenderCode
HCMActualCountryRegionGrouping _Fallback HCMCountryRegionGrouping HCM Local.
_Text _Text
_CountryRegionGrouping _CountryRegionGrouping

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_HCMGender.
-- 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_HCMGender AS
SELECT
  _Molga.HCMCountryRegionGrouping AS HCMCountryRegionGrouping,
  _CountrySpecific.HCMGenderCode AS HCMGenderCode,
  _CountrySpecific.HCMCountryRegionGrouping AS HCMActualCountryRegionGrouping
FROM I_HCMCountryRegionGrouping AS _Molga
LEFT OUTER JOIN I_HCMGenderDiverseText AS _Text ON HCMGenderCode = _Text.HCMGenderCode AND HCMActualCountryRegionGrouping = _Text.HCMCountryRegionGrouping  -- association [0..*]
LEFT OUTER JOIN I_HCMCountryRegionGrouping AS _CountryRegionGrouping ON HCMCountryRegionGrouping = _CountryRegionGrouping.HCMCountryRegionGrouping  -- association [0..1]
-- UNION ALL with additional select branch(es): I_HCMCountryRegionGrouping
;