P_BPUsrEEWASmtpSrchInitial
Business User Workplace Address SmtpSrch Initial
P_BPUsrEEWASmtpSrchInitial is a Basic CDS View that provides data about "Business User Workplace Address SmtpSrch Initial" in SAP S/4HANA. It reads from 3 data sources (adr6, usr21, usr21) and exposes 3 fields with key field UserID.
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PBPUEEWASMTPINI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Business User Workplace Address SmtpSrch Initial | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
@AbapCatalog.sqlViewName: 'PBPUEEWASMTPINI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Business User Workplace Address SmtpSrch Initial'
@ClientHandling.type: #CLIENT_DEPENDENT
@ClientHandling.algorithm : #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #BASIC
define view P_BPUsrEEWASmtpSrchInitial
as select from usr21
left outer join adr6 as _EMail on usr21.addrnumber = _EMail.addrnumber
and usr21.persnumber = _EMail.persnumber
{
key usr21.bname as UserID,
usr21.bpperson as BusinessPartnerUUID
}
where
(
usr21.idadtype = '00'
or usr21.idadtype = '04'
)
and(
_EMail.smtp_addr is initial
or _EMail.smtp_addr is null
)
union all
// per definition a business user with IDADTYPE = '02' does not have a workplace address
// --> so EMail as part of Workplace Address is initial
select from usr21
{
key usr21.bname as UserID,
usr21.bpperson as BusinessPartnerUUID
}
where
usr21.idadtype = '02'
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