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
PartyRoleName ddtext
_PartyRole _PartyRole
_Language _Language
@EndUserText.label: 'EPM Demo: Party Role Text'
@ObjectModel.dataCategory: #TEXT
@Analytics.dataExtraction.enabled: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'PartyRole'
@AbapCatalog.sqlViewName: 'SEPM_IPARTYROLET'

@ObjectModel.usageType.serviceQuality:#C
@ObjectModel.usageType.sizeCategory:#S
@ObjectModel.usageType.dataClass: #MASTER

define view SEPM_I_PartyRoleText 
  as select from dd07t
  association [1..1] to SEPM_I_PartyRole as _PartyRole 
    on $projection.PartyRole = _PartyRole.PartyRole
  association [0..1] to SEPM_I_Language as _Language 
    on $projection.Language = _Language.Language
    
{
  @ObjectModel.foreignKey.association: '_PartyRole'
  key cast ( substring( domvalue_l, 1, 3 ) as sepm_party_role preserving type ) as PartyRole, 
  @Semantics.language: true
  @ObjectModel.foreignKey.association: '_Language'
  key ddlanguage as Language,
  @Semantics.text: true
  ddtext as PartyRoleName, 
  _PartyRole,
  _Language
}
where domname  = 'D_PARTY_ROLE' 
  and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"SEPM_I_LANGUAGE",
"SEPM_I_PARTYROLE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/