SEPM_I_GenderCodeText

DDL: SEPM_I_GENDERCODETEXT SQL: SEPM_IGENDERCODT Type: view

EPM Demo: Gender Code Text

SEPM_I_GenderCodeText is a CDS View that provides data about "EPM Demo: Gender Code Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, GenderCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] SEPM_I_GenderCode _GenderCode $projection.GenderCode = _GenderCode.GenderCode
[0..1] SEPM_I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
EndUserText.label EPM Demo: Gender Code Text view
Analytics.dataExtraction.enabled true view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey GenderCode view
AbapCatalog.sqlViewName SEPM_IGENDERCODT view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language ddlanguage Lang.
KEY GenderCode
GenderCodeName ddtext Short text
_GenderCode _GenderCode
_Language _Language

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 SEPM_I_GenderCodeText.
-- 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: SEPM_IGENDERCODT

CREATE VIEW SEPM_I_GenderCodeText AS
SELECT
  ddlanguage AS Language,
  cast ( substring( domvalue_l, 1, 1 ) as snwd_sex preserving type ) AS GenderCode,
  ddtext AS GenderCodeName
FROM dd07t
LEFT OUTER JOIN SEPM_I_GenderCode AS _GenderCode ON GenderCode = _GenderCode.GenderCode  -- association [1..1]
LEFT OUTER JOIN SEPM_I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;