A_PhoneCallActivityText

DDL: A_PHONECALLACTIVITYTEXT Type: view COMPOSITE

Phone Call Activity Text

A_PhoneCallActivityText is a Composite CDS View that provides data about "Phone Call Activity Text" in SAP S/4HANA. It reads from 1 data source (P_CustMgmtActivityText) and exposes 5 fields with key fields PhoneCallActivity, TextObjectType, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_CustMgmtActivityText P_CustMgmtActivityText from

Associations (1)

CardinalityTargetAliasCondition
[1] A_PhoneCallActivity _PhoneCallActivity $projection.PhoneCallActivity = _PhoneCallActivity.PhoneCallActivity

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Phone Call Activity Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName APHCLACTTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PhoneCallActivity CustMgmtActivity
KEY TextObjectType _Text TextObjectType
KEY Language _Text Language
PlainLongText _Text PlainLongText
_PhoneCallActivity _PhoneCallActivity
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Phone Call Activity Text'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
  sqlViewName: 'APHCLACTTEXT',
  compiler.compareFilter: true,
  preserveKey: true
}

@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view A_PhoneCallActivityText 
  as select from P_CustMgmtActivityText

  association [1] to A_PhoneCallActivity as _PhoneCallActivity on $projection.PhoneCallActivity = _PhoneCallActivity.PhoneCallActivity
{

  key CustMgmtActivity as PhoneCallActivity,
  key _Text.TextObjectType,
  key _Text.Language,
      _Text.PlainLongText,

      //Associations

      _PhoneCallActivity

}

/*
define view A_PhoneCallActivityText
  as select from I_CustMgmtActivityEnhcd

  association [0..*] to I_TextObjectPlainLongText as _Text on _Text.TextObjectKey <= $projection.TextObjectKey1
                                                          and _Text.TextObjectKey >= I_CustMgmtActivityEnhcd.TextObjectKey
                                                        and _Text.TextObjectCategory = 'CRM_ORDERH'
                                                        and ( _Text.TextObjectType     = 'A002' or _Text.TextObjectType = 'A003' )
                                                        and _Text.Language           = $session.system_language

{

  CustMgmtActivity as PhoneCallActivity,
  TextObjectKey,
  concat(TextObjectKey,'                     ZZZZZZZZZZZZZZZZZ') as  TextObjectKey1,
  _Text



}
*/

//textuuid,

//key partner

// CustMgmtActivityUUID,

//  _Text.PlainLongText


/* key TextObjectType,
key TextObjectKey,
key Language,
hextobin(TextObjectKeyUUID) as TextObjectKeyUUID,
PlainLongText */
/*where TextObjectCategory = 'CRM_ORDERH'
  and ( TextObjectType = 'A002' or TextObjectType = 'A003' or TextObjectType = 'A004' or TextObjectType = 'A005' )
*/
/*  as select from P_CustMgmtText
{

  key TextObjectType,
  key TextObjectKey,
  key Language,
      hextobin( TextObjectKeyUUID ) as PhoneCallActivityUUID,
      PlainLongText

      //Associations

      //_CustMgmtActivity

      //_PhoneCallActivity


}

where TextObjectCategory = 'CRM_ORDERH'
*/