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 Lang.
PnLEventGroupName Short text
_PnLEventGroup _PnLEventGroup
_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 I_PnLEventGroupText.
-- 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: ITPLEVTGRPT

CREATE VIEW I_PnLEventGroupText AS
SELECT
  cast (cast ( substring( domvalue_l, 1, 2 ) as abap.numc (2) ) as cmm_event_group ) AS PnLEventGroup,
  ddlanguage AS Language,
  cast( ddtext as cmm_event_group_txt4cds ) AS PnLEventGroupName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_PnLEventGroup AS _PnLEventGroup ON PnLEventGroup = _PnLEventGroup.PnLEventGroup  -- association [1..1]
;