I_BPEmailAddress
Business Partner Email Core View
I_BPEmailAddress is a Basic CDS View that provides data about "Business Partner Email Core View" in SAP S/4HANA. It reads from 2 data sources (but020, I_AddressEmailAddress_2) and exposes 13 fields with key fields BusinessPartner, AddressID, OrdinalNumber, Person. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| but020 | but020 | inner |
| I_AddressEmailAddress_2 | I_AddressEmailAddress_2 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BPProtectedAddress | _BPProtectedAddress | $projection.BusinessPartner = _BPProtectedAddress.BusinessPartner and $projection.AddressID = _BPProtectedAddress.AddressID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBPEMAILADDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Business Partner Email Core View | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | but020 | partner | With Partner |
| KEY | AddressID | I_AddressEmailAddress_2 | AddressID | Ship-to address |
| KEY | OrdinalNumber | I_AddressEmailAddress_2 | CommMediumSequenceNumber | Sequence Number |
| KEY | Person | I_AddressEmailAddress_2 | AddressPersonID | Person Number |
| IsDefaultEmailAddress | I_AddressEmailAddress_2 | EmailAddressIsCurrentDefault | ||
| EmailAddress | I_AddressEmailAddress_2 | EmailAddress | E-Mail Address | |
| IsHomeEmailAddress | ||||
| CommNumberIsNotUsed | ||||
| ValidityStartDateTime | ||||
| ValidityEndDateTime | ||||
| _BusinessPartner | _BusinessPartner | |||
| _BPProtectedAddress | _BPProtectedAddress | |||
| _AddressCommunicationRemark | I_AddressEmailAddress_2 | _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_BPEmailAddress.
-- 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: IBPEMAILADDR
CREATE VIEW I_BPEmailAddress AS
SELECT
but020.partner AS BusinessPartner,
I_AddressEmailAddress_2.AddressID AS AddressID,
I_AddressEmailAddress_2.CommMediumSequenceNumber AS OrdinalNumber,
I_AddressEmailAddress_2.AddressPersonID AS Person,
I_AddressEmailAddress_2.EmailAddressIsCurrentDefault AS IsDefaultEmailAddress,
I_AddressEmailAddress_2.EmailAddress AS EmailAddress,
cast('' as ad_flghome) AS IsHomeEmailAddress,
cast ( '' as ad_flnouse ) AS CommNumberIsNotUsed,
cast ( I_AddressEmailAddress_2.ValidityStartDate as ad_valfrom ) AS ValidityStartDateTime,
cast ( I_AddressEmailAddress_2.ValidityEndDate as ad_valto ) AS ValidityEndDateTime,
I_AddressEmailAddress_2._AddressCommunicationRemark AS _AddressCommunicationRemark
FROM I_AddressEmailAddress_2
INNER JOIN but020 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BPProtectedAddress AS _BPProtectedAddress ON BusinessPartner = _BPProtectedAddress.BusinessPartner AND AddressID = _BPProtectedAddress.AddressID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA