I_CUSTOMERCONTACTS

CDS View

Customer Contacts

I_CUSTOMERCONTACTS is a CDS View in S/4HANA. Customer Contacts. It contains 10 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
C_CustProjCustomerDetails view left_outer CONSUMPTION Customer Project Customer Details
C_ESJIContactPersonQuery view from CONSUMPTION Contact Persons for a Customer
P_SalesOrderFlfmtContact2 view inner COMPOSITE SOFM Sales Order Fulfillment Contact 2

Fields (10)

KeyField CDS FieldsUsed in Views
ContactPersonFunction ContactPersonFunction 1
Customer Customer 1
EmailAddress EmailAddress 1
FirstName FirstName 1
InternationalMobilePhoneNumber InternationalMobilePhoneNumber 1
InternationalPhoneNumber InternationalPhoneNumber 1
LastName LastName 1
MobilePhoneNumber MobilePhoneNumber 1
PhoneNumber PhoneNumber 1
PhoneNumberExtension PhoneNumberExtension 1
@EndUserText.label: 'Customer Contacts'
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#CHECK
@AccessControl.personalData.blocking: #REQUIRED
@ObjectModel.representativeKey: 'CustomerContact'
@AbapCatalog.sqlViewName: 'IMDCUSTCNTCTS'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]

define view I_CustomerContacts
  as select from P_Businesspartnerpcontacts
  association [1..1] to I_BusinessPartner         as _BusinessPartnerCompany  on _BusinessPartnerCompany.BusinessPartner = $projection.Customer
  association [1..1] to I_BusinessPartner         as _BusinessPartnerPerson   on _BusinessPartnerPerson.BusinessPartner = $projection.CustomerContact
  association [0..1] to I_Customer              as _Customer              on $projection.Customer = _Customer.Customer
  association [0..1] to I_ContactPersonFunction as _ContactPersonFunction on $projection.ContactPersonFunction = _ContactPersonFunction.ContactPersonFunction
{
      @ObjectModel.foreignKey.association: '_Customer'
  key BusinessPartner1 as Customer,
  key BusinessPartner2 as CustomerContact,

      FirstName,
      LastName,
      @ObjectModel.foreignKey.association: '_ContactPersonFunction'
      ContactPersonFunction,
      InternationalMobilePhoneNumber,
      InternationalPhoneNumber,
      PhoneNumber,
      PhoneNumberExtension,
      MobilePhoneNumber,
      EmailAddress,
      IsStandardRelationship,
      _BusinessPartnerCompany,
      _BusinessPartnerPerson,
      _Customer,
      _ContactPersonFunction
}