I_BusinessObjectEventTask

DDL: I_BUSINESSOBJECTEVENTTASK SQL: IBUSOBJEVTTSK Type: view COMPOSITE

SAP Obj Type and SAP Obj Tsk Type Mappg

I_BusinessObjectEventTask is a Composite CDS View that provides data about "SAP Obj Type and SAP Obj Tsk Type Mappg" in SAP S/4HANA. It reads from 8 data sources and exposes 17 fields with key fields SAPObjectType, SAPObjectTaskCode, SAPObjectRepresentation, SAPObjectTaskType, SAPObjectEventCode. It has 2 associations to related views.

Data Sources (8)

SourceAliasJoin Type
I_BusinessEventBindingHeader I_BusinessEventBindingHeader inner
I_SAPObjectRepresentation I_SAPObjectRepresentation inner
I_SAPObjectRepresentation I_SAPObjectRepresentation inner
I_SAPObjectTaskType I_SAPObjectTaskType inner
I_SAPObjectTaskType I_SAPObjectTaskType inner
I_SAPObjectType I_SAPObjectType from
I_SAPObjectType I_SAPObjectType union
I_SAPObjectTypeEventCode I_SAPObjectTypeEventCode inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SAPObjectTypeEvtCodeTxt _TaskText $projection.SAPObjectType = _TaskText.SAPObjectType and $projection.SAPObjectTaskType = _TaskText.SAPObjectTaskType and _TaskText.Language = $session.system_language
[1..1] I_SAPObjectTypeText _TypeText $projection.SAPObjectType = _TypeText.SAPObjectType and _TypeText.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBUSOBJEVTTSK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label SAP Obj Type and SAP Obj Tsk Type Mappg view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SAPObjectType I_SAPObjectTypeEventCode SAPObjectType
KEY SAPObjectTaskCode I_SAPObjectTaskType SAPObjectTaskCode
KEY SAPObjectRepresentation I_SAPObjectRepresentation SAPObjectRepresentation
KEY SAPObjectTaskType I_SAPObjectTypeEventCode SAPObjectTaskType
KEY SAPObjectEventCode I_SAPObjectTypeEventCode SAPObjectEventCode
KEY SAPObjectRepresentationType I_SAPObjectRepresentation SAPObjectRepresentationType
KEY SAPObjectTypeName
KEY SAPObjectTaskTypeName
SAPObjectType
KEY SAPObjectTaskCode I_SAPObjectTaskType SAPObjectTaskCode
KEY SAPObjectRepresentation I_SAPObjectRepresentation SAPObjectRepresentation
KEY SAPObjectTaskType I_SAPObjectTaskType SAPObjectTaskType
KEY SAPObjectEventCode
KEY SAPObjectRepresentationType I_SAPObjectRepresentation SAPObjectRepresentationType
KEY SAPObjectTypeName
KEY SAPObjectTaskTypeName
_TypeText _TypeText
@AbapCatalog.sqlViewName: 'IBUSOBJEVTTSK'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'SAP Obj Type and SAP Obj Tsk Type Mappg'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #C

define view I_BusinessObjectEventTask
  as select from I_SAPObjectType
    inner join   I_SAPObjectRepresentation on  I_SAPObjectRepresentation.SAPObjectType               = I_SAPObjectType.SAPObjectType
                                           and I_SAPObjectRepresentation.SAPObjectRepresentationType = 'SOA'
    inner join   I_SAPObjectTypeEventCode  on I_SAPObjectTypeEventCode.SAPObjectType = I_SAPObjectType.SAPObjectType
    inner join   I_SAPObjectTaskType       on I_SAPObjectTypeEventCode.SAPObjectTaskType = I_SAPObjectTaskType.SAPObjectTaskType
  association [1..1] to I_SAPObjectTypeEvtCodeTxt as _TaskText on  $projection.SAPObjectType     = _TaskText.SAPObjectType
                                                               and $projection.SAPObjectTaskType = _TaskText.SAPObjectTaskType
                                                               and _TaskText.Language            = $session.system_language
  association [1..1] to I_SAPObjectTypeText       as _TypeText on  $projection.SAPObjectType = _TypeText.SAPObjectType
                                                               and _TypeText.Language        = $session.system_language
{
  key   I_SAPObjectTypeEventCode.SAPObjectType,
  key   I_SAPObjectTaskType.SAPObjectTaskCode,
  key   I_SAPObjectRepresentation.SAPObjectRepresentation,
  key   I_SAPObjectTypeEventCode.SAPObjectTaskType,
  key   I_SAPObjectTypeEventCode.SAPObjectEventCode,
  key   I_SAPObjectRepresentation.SAPObjectRepresentationType,
  key   _TypeText[1:inner].SAPObjectTypeName,
  key   _TaskText[1:inner].SAPObjectTaskTypeName,
        /* Associations */
        _TypeText
        //        _TaskText

}
union select from I_SAPObjectType
  inner join      I_SAPObjectRepresentation    on  I_SAPObjectRepresentation.SAPObjectType               = I_SAPObjectType.SAPObjectType
                                               and I_SAPObjectRepresentation.SAPObjectRepresentationType = 'SOA'
  inner join      I_BusinessEventBindingHeader on I_BusinessEventBindingHeader.SAPObjectType = I_SAPObjectType.SAPObjectType
  inner join      I_SAPObjectTaskType          on I_SAPObjectTaskType.SAPObjectTaskCode = I_BusinessEventBindingHeader.EventOperation

association [1..1] to I_SAPObjectTypeText as _TypeText on  $projection.SAPObjectType = _TypeText.SAPObjectType
                                                       and _TypeText.Language        = $session.system_language
{

  key   I_BusinessEventBindingHeader.SAPObjectType,
  key   I_SAPObjectTaskType.SAPObjectTaskCode,
  key   I_SAPObjectRepresentation.SAPObjectRepresentation,
  key   I_SAPObjectTaskType.SAPObjectTaskType,
  key   cast( upper (I_SAPObjectTaskType.SAPObjectTaskCode) as abap.char( 32 ))                     as SAPObjectEventCode,
  key   I_SAPObjectRepresentation.SAPObjectRepresentationType,
  key   _TypeText[1:inner].SAPObjectTypeName,
  key   concat_with_space( _TypeText[1:inner].SAPObjectTypeName, I_SAPObjectTaskType.EventTypeDescription, 1 ) as SAPObjectTaskTypeName,
        /* Associations */
        _TypeText
        //        _TaskText

}