SEPM_I_ContactPerson

DDL: SEPM_I_CONTACTPERSON SQL: SEPM_ICONTACTP Type: view

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)

SourceAliasJoin Type
snwd_bpa_contact snwd_bpa_contact from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;