I_AddressEmailAddress
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)
| Source | Alias | Join Type |
|---|---|---|
| adr6 | adr6 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ADR6"
],
"ASSOCIATED":
[
"I_ADDRESSCOMMUNICATIONREMARK"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA