I_AddressEmailAddress

DDL: I_ADDRESSEMAILADDRESS SQL: IADDREMAILADDR Type: view BASIC

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.

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 Address Number
KEY Person persnumber Person Number
KEY OrdinalNumber consnumber Sequence Number
IsDefaultEmailAddress flgdefault Standard No.
EmailAddress smtp_addr E-Mail Address
SearchEmailAddress adr6 smtp_srch E-Mail Address
IsHomeEmailAddress home_flag Home Address
CommNumberIsNotUsed flg_nouse Do not use
ValidityStartDateTime valid_from Validity Start Time
ValidityEndDateTime valid_to Validity End Time
_AddressCommunicationRemark _AddressCommunicationRemark

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_AddressEmailAddress.
-- 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: IADDREMAILADDR

CREATE VIEW I_AddressEmailAddress AS
SELECT
  addrnumber AS AddressID,
  persnumber AS Person,
  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
FROM adr6
LEFT OUTER JOIN I_AddressCommunicationRemark AS _AddressCommunicationRemark ON AddressID = _AddressCommunicationRemark.AddressID AND Person = _AddressCommunicationRemark.Person AND OrdinalNumber = _AddressCommunicationRemark.OrdinalNumber AND _AddressCommunicationRemark.CommunicationMediumType = 'INT' AND _AddressCommunicationRemark.CorrespondenceLanguage = $session.system_language  -- association [0..1]
;