C_CollectionsMainContact

DDL: C_COLLECTIONSMAINCONTACT Type: view_entity CONSUMPTION

Main Contact

C_CollectionsMainContact is a Consumption CDS View that provides data about "Main Contact" in SAP S/4HANA. It reads from 1 data source (I_CollectionsMainContact) and exposes 23 fields with key fields CollectionSegment, BusinessPartner.

Data Sources (1)

SourceAliasJoin Type
I_CollectionsMainContact I_CollectionsMainContact projection

Annotations (8)

NameValueLevelField
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey BusinessPartner view
EndUserText.label Main Contact view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY CollectionSegment CollectionSegment
KEY BusinessPartner BusinessPartner
BusinessPartnerPerson BusinessPartnerPerson
FirstName FirstName
LastName LastName
BusinessPartnerName BusinessPartnerName
PhoneNumber PhoneNumber
MobileNumber MobileNumber
FaxNumber FaxNumber
FaxCountry FaxCountry
EmailAddress EmailAddress
ContactPersonDepartment ContactPersonDepartment
ContactPersonFunction ContactPersonFunction
ContactPersonDepartmentName ContactPersonDepartmentName
ContactPersonFunctionName ContactPersonFunctionName
ContactPerson ContactPerson
ContactCardPictureURL ContactCardPictureURL
_BPContactToFuncAndDept _BPContactToFuncAndDept
_BusinessPartner _BusinessPartner
_CntctPersnDeptValueHelp _CntctPersnDeptValueHelp
_CntctPersnFuncValueHelp _CntctPersnFuncValueHelp
_CollectionSegment _CollectionSegment
_CustomerContact _CustomerContact
@Metadata: { allowExtensions: true }
@VDM: { usage: { type:     [ #TRANSACTIONAL_PROCESSING_SERVICE ] },
                 viewType: #CONSUMPTION }
@AccessControl: { authorizationCheck: #MANDATORY }
@ObjectModel: { usageType: { serviceQuality: #C,
                             sizeCategory:   #L,
                             dataClass:      #MIXED },
                representativeKey: 'BusinessPartner',
                                semanticKey: [ 'CollectionSegment',
                                               'BusinessPartner' ] }
@EndUserText: { label: 'Main Contact' }

define root view entity C_CollectionsMainContact
provider contract transactional_query
  as projection on I_CollectionsMainContact
{
  key CollectionSegment,
  key BusinessPartner,
      BusinessPartnerPerson,
      FirstName,
      LastName,
      BusinessPartnerName,
      PhoneNumber,
      MobileNumber,
      FaxNumber,
      FaxCountry,
      EmailAddress,
      ContactPersonDepartment,
      ContactPersonFunction,
      ContactPersonDepartmentName,
      ContactPersonFunctionName,
      ContactPerson,
      ContactCardPictureURL,
      /* Associations */
      _BPContactToFuncAndDept,
      _BusinessPartner,
      _CntctPersnDeptValueHelp,
      _CntctPersnFuncValueHelp,
      _CollectionSegment,
      _CustomerContact

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COLLECTIONSMAINCONTACT"
],
"ASSOCIATED":
[
"I_BPCONTACTTOFUNCANDDEPT",
"I_BUSINESSPARTNER",
"I_COLLECTIONSEGMENT",
"I_CONTACTPERSONDEPARTMENT",
"I_CONTACTPERSONFUNCTION",
"I_CUSTOMERCONTACT"
],
"BASE":
[
"I_COLLECTIONSMAINCONTACT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/