I_AddressEmailAddress

DDL: I_ADDRESSEMAILADDRESS SQL: IADDREMAILADDR Type: view BASIC Package: VDM_MD_BP_BASE

Email Address

I_AddressEmailAddress is a Basic CDS View (Dimension) that provides data about "Email Address" in SAP S/4HANA. It reads from 1 data source (adr6) and exposes 11 fields with key fields AddressID, Person, OrdinalNumber. It has 1 association to related views. Part of development package VDM_MD_BP_BASE.

Data Sources (1)

SourceAliasJoin Type
adr6 adr6 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_AddressCommunicationRemark _AddressCommunicationRemark $projection.AddressID = _AddressCommunicationRemark.AddressID and $projection.Person = _AddressCommunicationRemark.Person and $projection.OrdinalNumber = _AddressCommunicationRemark.OrdinalNumber and _AddressCommunicationRemark.CommunicationMediumType = 'INT' and _AddressCommunicationRemark.CorrespondenceLanguage = $session.system_language

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IADDREMAILADDR view
AbapCatalog.preserveKey true view
EndUserText.label Email Address view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.representativeKey AddressID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY AddressID addrnumber
KEY Person persnumber
KEY OrdinalNumber consnumber
IsDefaultEmailAddress flgdefault
EmailAddress smtp_addr
SearchEmailAddress adr6 smtp_srch
IsHomeEmailAddress home_flag
CommNumberIsNotUsed flg_nouse
ValidityStartDateTime valid_from
ValidityEndDateTime valid_to
_AddressCommunicationRemark _AddressCommunicationRemark
@AbapCatalog.sqlViewName: 'IADDREMAILADDR'
@AbapCatalog.preserveKey:true 
@EndUserText.label: 'Email Address'
@Analytics : {dataCategory: #DIMENSION}
@Metadata.allowExtensions:true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ObjectModel.representativeKey: 'AddressID'

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_AddressEmailAddress as select from adr6

  association [0..1] to I_AddressCommunicationRemark as _AddressCommunicationRemark on $projection.AddressID = _AddressCommunicationRemark.AddressID
                                                                                 and $projection.Person = _AddressCommunicationRemark.Person
                                                                                 and $projection.OrdinalNumber = _AddressCommunicationRemark.OrdinalNumber
                                                                                 and _AddressCommunicationRemark.CommunicationMediumType = 'INT'
                                                                                 and _AddressCommunicationRemark.CorrespondenceLanguage = $session.system_language
{
  key addrnumber as AddressID,
  key persnumber as Person,
  key consnumber as OrdinalNumber,
  flgdefault as IsDefaultEmailAddress,
  smtp_addr as EmailAddress, 
  adr6.smtp_srch as SearchEmailAddress,
  home_flag as IsHomeEmailAddress,
  flg_nouse as CommNumberIsNotUsed,
  valid_from as ValidityStartDateTime,
  valid_to as ValidityEndDateTime,
  
  _AddressCommunicationRemark       
} 
where date_from = '00010101'