I_PnLEventGroupText

DDL: I_PNLEVENTGROUPTEXT SQL: ITPLEVTGRPT Type: view BASIC

Profit and Loss Event Group Text

I_PnLEventGroupText is a Basic CDS View that provides data about "Profit and Loss Event Group Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields PnLEventGroup, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_PnLEventGroup _PnLEventGroup $projection.PnLEventGroup = _PnLEventGroup.PnLEventGroup

Annotations (10)

NameValueLevelField
EndUserText.label Profit and Loss Event Group Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ITPLEVTGRPT view
ObjectModel.representativeKey PnLEventGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PnLEventGroup
KEY Language ddlanguage
PnLEventGroupName
_PnLEventGroup _PnLEventGroup
_Language _Language
@EndUserText.label: 'Profit and Loss Event Group Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'ITPLEVTGRPT'
@ObjectModel.representativeKey: 'PnLEventGroup'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_PnLEventGroupText  
  as select from dd07t

    association [0..1] to I_Language as _Language
       on $projection.Language = _Language.Language

    association [1..1] to I_PnLEventGroup as _PnLEventGroup
       on $projection.PnLEventGroup = _PnLEventGroup.PnLEventGroup
{
    key cast (cast ( substring( domvalue_l, 1, 2 ) as abap.numc (2) )  as cmm_event_group ) as PnLEventGroup,
    @Semantics.language
    key ddlanguage as Language,
    @Semantics.text
    cast( ddtext as cmm_event_group_txt4cds ) as PnLEventGroupName,
    _PnLEventGroup,
    _Language
}
where domname = 'CMM_EVENT_GROUP'
  and as4local = 'A'
    
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PNLEVENTGROUP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/