SEPM_I_PartyRole

DDL: SEPM_I_PARTYROLE SQL: SEPM_IPARTYROLE Type: view

EPM Demo: Party Role

SEPM_I_PartyRole is a CDS View of category Dimension that provides data about "EPM Demo: Party Role" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field PartyRole. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] SEPM_I_PartyRoleText _Text $projection.PartyRole = _Text.PartyRole

Annotations (9)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PartyRole
_Text _Text

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_PartyRole.
-- 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_IPARTYROLE

CREATE VIEW SEPM_I_PartyRole AS
SELECT
  cast ( substring( domvalue_l, 1, 3 ) as sepm_party_role preserving type ) AS PartyRole
FROM dd07l
LEFT OUTER JOIN SEPM_I_PartyRoleText AS _Text ON PartyRole = _Text.PartyRole  -- association [0..*]
;