I_BPAddressIndependentEmail
Root View for Address Independent Email for BP app
I_BPAddressIndependentEmail (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Database & Data Management
I_BPAddressIndependentEmail is a Basic CDS View that provides data about "Root View for Address Independent Email for BP app" in SAP S/4HANA. It reads from 1 data source (I_AddressEmailAddress_2) and exposes 18 fields with key fields BusinessPartner, AddressID, Person, OrdinalNumber. It has 1 association to related views. Part of development package VDM_MD_BP_BASE.
SAP Help Documentation
| Category | CDS Views for Business Partner |
|---|
This CDS view provides access to email address information for business partners that is independent of the main address structure. It contains email addresses associated with business partners and persons, including validity periods, default indicators, and usage flags. The view enables retrieval of both current and historical email address data with time-dependent validity information. This CDS view provides the data to answer the following business questions: What are all the email addresses maintained for address-independent communication? Which address-independent email address is currently set as the default for a business partner? What is the validity period for each address-independent email address assigned to a business partner? What address-independent email addresses were valid for a business partner during a specific time period? Which persons are associated with specific address-independent email addresses in the system? What notes or remarks have been recorded for specific address-independent email addresses? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: RESTRICTION_TYPE_ID RESTRICTION_TYPE B_BUP_DCPD Business Partner Processing BEGRU_BUPA_GRP Authorization Group for Business Partners
Structure
Important Fields Important fields in this view include the following: Field Name Description BUSINESSPARTNER Business Partner ADDRESSID Internal key for identifying an address in Business Address Services. ORDINALNUMBER The number which identifies a specific email address data, if there are more than one email addresses. ISDEFAULTEMAILADDRESS Identifies the default email address VALIDITYENDDATETIME Time on a specific date until when the email address is valid in the system. VALIDITYSTARTDATE Date from when the email address is valid in the system. VALIDITYENDDATE Date until when the email address is valid in the system. ADDRESSCOMMUNICATIONREMARKTEXT Additional information about the email address
Data Extraction
Data Extraction Type This CDS view is not enabled for data extraction.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Database & Data Management |
| Application Component | AP-MD-BP |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Database and Data Management for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AddressEmailAddress_2 | I_AddressEmailAddress_2 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.AddressID = _BusinessPartner.IndependentAddressID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBPADDRINDEMAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Root View for Address Independent Email for BP app | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | _BusinessPartner | BusinessPartner | Business Partner Number |
| KEY | AddressID | I_AddressEmailAddress_2 | AddressID | Ship-to address |
| KEY | Person | I_AddressEmailAddress_2 | AddressPersonID | Person Number |
| KEY | OrdinalNumber | I_AddressEmailAddress_2 | CommMediumSequenceNumber | Sequence Number |
| AddressIDForEdit | I_AddressEmailAddress_2 | AddressID | Ship-to address | |
| OrdinalNumberForEdit | I_AddressEmailAddress_2 | CommMediumSequenceNumber | Sequence Number | |
| IsDefaultEmailAddress | I_AddressEmailAddress_2 | EmailAddressIsCurrentDefault | Indicator : Current Default Email Address | |
| EmailAddress | I_AddressEmailAddress_2 | EmailAddress | E-Mail Address | |
| SearchEmailAddress | E-Mail Address Search Field | |||
| IsHomeEmailAddress | Recipient address in this communication type (mail sys.grp) | |||
| CommNumberIsNotUsed | Flag: This Communication Number is Not Used | |||
| ValidityStartDateTime | Communication Data: Valid From (YYYYMMDDHHMMSS) | |||
| ValidityEndDateTime | Communication Data: Valid To (YYYYMMDDHHMMSS) | |||
| ValidityStartDate | I_AddressEmailAddress_2 | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_AddressEmailAddress_2 | ValidityEndDate | ValidTo | |
| _BusinessPartner | _BusinessPartner | |||
| AuthorizationGroup | _BusinessPartner | AuthorizationGroup | Authorization Group | |
| AddressCommunicationRemarkText | _AddressCommunicationRemark | CommunicationRemarkText | Communication link notes |
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_BPAddressIndependentEmail.
-- 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: IBPADDRINDEMAIL
CREATE VIEW I_BPAddressIndependentEmail AS
SELECT
_BusinessPartner.BusinessPartner AS BusinessPartner,
I_AddressEmailAddress_2.AddressID AS AddressID,
I_AddressEmailAddress_2.AddressPersonID AS Person,
I_AddressEmailAddress_2.CommMediumSequenceNumber AS OrdinalNumber,
I_AddressEmailAddress_2.AddressID AS AddressIDForEdit,
I_AddressEmailAddress_2.CommMediumSequenceNumber AS OrdinalNumberForEdit,
I_AddressEmailAddress_2.EmailAddressIsCurrentDefault AS IsDefaultEmailAddress,
I_AddressEmailAddress_2.EmailAddress AS EmailAddress,
cast('' as ad_smtpad2) AS SearchEmailAddress,
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.ValidityStartDate AS ValidityStartDate,
I_AddressEmailAddress_2.ValidityEndDate AS ValidityEndDate,
_BusinessPartner.AuthorizationGroup AS AuthorizationGroup,
_AddressCommunicationRemark.CommunicationRemarkText AS AddressCommunicationRemarkText
FROM I_AddressEmailAddress_2
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON AddressID = _BusinessPartner.IndependentAddressID -- association [1..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