SEPM_I_ContactPerson
EPM: Contact Person of a BusinessPartner
SEPM_I_ContactPerson is a CDS View of category Dimension that provides data about "EPM: Contact Person of a BusinessPartner" in SAP S/4HANA. It reads from 1 data source (snwd_bpa_contact) and exposes 21 fields with key field ContactPersonUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| snwd_bpa_contact | snwd_bpa_contact | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | SEPM_I_BusinessPartner | _BusinessPartner | $projection.BusinessPartnerUUID = _BusinessPartner.BusinessPartnerUUID |
| [0..1] | SEPM_I_Language | _PreferredLanguage | $projection.PreferredLanguage = _PreferredLanguage.Language |
| [0..1] | SEPM_I_Address | _Address | $projection.AddressUUID = _Address.AddressUUID |
| [0..1] | SEPM_I_GenderCode | _GenderCode | $projection.GenderCode = _GenderCode.GenderCode |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM: Contact Person of a BusinessPartner | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | SEPM_ICONTACTP | view | |
| ObjectModel.representativeKey | ContactPersonUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContactPersonUUID | snwd_bpa_contact | node_key | Tree Model: Node Key |
| ContactPerson | snwd_bpa_contact | contact_id | Member ID | |
| BusinessPartnerUUID | ||||
| FirstName | snwd_bpa_contact | first_name | Name | |
| MiddleName | snwd_bpa_contact | middle_name | Patronymic | |
| LastName | snwd_bpa_contact | last_name | Name | |
| SystemUser | snwd_bpa_contact | login_name | User Name | |
| Initials | snwd_bpa_contact | initials | Initials | |
| GenderCode | snwd_bpa_contact | sex | Sex-Specific | |
| AddressUUID | snwd_bpa_contact | address_guid | UUID | |
| PhoneNumber | snwd_bpa_contact | phone_number | Phone | |
| FaxNumber | snwd_bpa_contact | fax_number | Fax Number | |
| EmailAddress | snwd_bpa_contact | email_address | Email Address | |
| PreferredLanguage | snwd_bpa_contact | language | Report Text Language | |
| BirthDate | snwd_bpa_contact | date_of_birth | Date of Birth | |
| MobilePhoneNumber | snwd_bpa_contact | mobile_number | Mobile Phone Number | |
| FullName | ||||
| _Address | _Address | |||
| _BusinessPartner | _BusinessPartner | |||
| _PreferredLanguage | _PreferredLanguage | |||
| _GenderCode | _GenderCode |
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 SEPM_I_ContactPerson.
-- 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: SEPM_ICONTACTP
CREATE VIEW SEPM_I_ContactPerson AS
SELECT
snwd_bpa_contact.node_key AS ContactPersonUUID,
snwd_bpa_contact.contact_id AS ContactPerson,
cast( snwd_bpa_contact.parent_key as sepm_bp_uuid preserving type ) AS BusinessPartnerUUID,
snwd_bpa_contact.first_name AS FirstName,
snwd_bpa_contact.middle_name AS MiddleName,
snwd_bpa_contact.last_name AS LastName,
snwd_bpa_contact.login_name AS SystemUser,
snwd_bpa_contact.initials AS Initials,
snwd_bpa_contact.sex AS GenderCode,
snwd_bpa_contact.address_guid AS AddressUUID,
snwd_bpa_contact.phone_number AS PhoneNumber,
snwd_bpa_contact.fax_number AS FaxNumber,
snwd_bpa_contact.email_address AS EmailAddress,
snwd_bpa_contact.language AS PreferredLanguage,
snwd_bpa_contact.date_of_birth AS BirthDate,
snwd_bpa_contact.mobile_number AS MobilePhoneNumber,
cast( concat_with_space( snwd_bpa_contact.first_name , snwd_bpa_contact.last_name, 1 ) as sepm_full_name preserving type ) AS FullName
FROM snwd_bpa_contact
LEFT OUTER JOIN SEPM_I_BusinessPartner AS _BusinessPartner ON BusinessPartnerUUID = _BusinessPartner.BusinessPartnerUUID -- association [1..1]
LEFT OUTER JOIN SEPM_I_Language AS _PreferredLanguage ON PreferredLanguage = _PreferredLanguage.Language -- association [0..1]
LEFT OUTER JOIN SEPM_I_Address AS _Address ON AddressUUID = _Address.AddressUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_GenderCode AS _GenderCode ON GenderCode = _GenderCode.GenderCode -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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