P_EmplPrivCommData
P_EmplPrivCommData is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (adcp) and exposes 8 fields with key fields AddressID, Person.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| adcp | root | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PEMPLPRVCOMMDATA | view | |
| VDM.viewType | #BASIC | view |
@VDM.private: true
@AbapCatalog.sqlViewName: 'PEMPLPRVCOMMDATA'
@VDM.viewType: #BASIC
define view P_EmplPrivCommData
as select from adcp as root
association[0..1] to adr6 as _mail
on root.addrnumber = _mail.addrnumber and
root.persnumber = _mail.persnumber
association[0..1] to adr2 as _phone
on root.addrnumber = _phone.addrnumber and
root.persnumber = _phone.persnumber
{
key root.addrnumber as AddressID,
key root.persnumber as Person,
_phone[1: r3_user = '1' ].country as DestinationLocationCountry,
_phone[1: r3_user = '1' ].tel_number as PhoneNumber,
_phone[1: r3_user = '1' ].tel_extens as PhoneNumberExtension,
_phone[1: r3_user = '3' ].country as MblPhoneDestinationLocCountry,
_phone[1: r3_user = '3' ].tel_number as MobilePhoneNumber,
_mail[1: flgdefault = 'X'].smtp_addr as DefaultEmailAddress
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ADCP",
"ADR2",
"ADR6"
],
"ASSOCIATED":
[
"ADR2",
"ADR6"
],
"BASE":
[],
"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