SEPM_I_PartyRoleText

DDL: SEPM_I_PARTYROLETEXT SQL: SEPM_IPARTYROLET Type: view

EPM Demo: Party Role Text

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

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] SEPM_I_PartyRole _PartyRole $projection.PartyRole = _PartyRole.PartyRole
[0..1] SEPM_I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
EndUserText.label EPM Demo: Party Role Text view
ObjectModel.dataCategory #TEXT view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey PartyRole view
AbapCatalog.sqlViewName SEPM_IPARTYROLET view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PartyRole
KEY Language ddlanguage Lang.
PartyRoleName ddtext Short text
_PartyRole _PartyRole
_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_PartyRoleText.
-- 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_IPARTYROLET

CREATE VIEW SEPM_I_PartyRoleText AS
SELECT
  cast ( substring( domvalue_l, 1, 3 ) as sepm_party_role preserving type ) AS PartyRole,
  ddlanguage AS Language,
  ddtext AS PartyRoleName
FROM dd07t
LEFT OUTER JOIN SEPM_I_PartyRole AS _PartyRole ON PartyRole = _PartyRole.PartyRole  -- association [1..1]
LEFT OUTER JOIN SEPM_I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;