R_COLLECTIONCONTACTTP

CDS View

Collection Contact - TP

R_COLLECTIONCONTACTTP is a CDS View in S/4HANA. Collection Contact - TP. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_CollectionContactTP view_entity projection CONSUMPTION Collection Contact - Consumption
@AccessControl: { authorizationCheck: #CHECK,
                  personalData: { blocking: #BLOCKED_DATA_EXCLUDED } }
@EndUserText: { label: 'Collection Contact - TP' }
@VDM: { viewType: #TRANSACTIONAL,
        lifecycle: { contract: { type: #SAP_INTERNAL_API } } } 
@ObjectModel: { modelCategory: #BUSINESS_OBJECT,
                transactionalProcessingEnabled: true,
                usageType: { serviceQuality: #C, 
                             sizeCategory: #L,
                             dataClass: #TRANSACTIONAL },
                semanticKey: [ 'RelationshipNumber',
                               'BusinessPartnerCompany',
                               'BusinessPartnerPerson',
                               'CollectionSegment' ],
                representativeKey: 'BusinessPartnerPerson', 
                sapObjectNodeType: { name: 'CollectionsContactPerson' } }

define root view entity R_CollectionContactTP
  as select from I_CollectionContact

  // VDM Associations

  // Business Partner Quick View Facet

  association [0..1] to R_BPCollectionsSgmtQuickView as _CollectionsBPQuickView on  $projection.BusinessPartnerCompany = _CollectionsBPQuickView.BusinessPartner
                                                                                and $projection.CollectionSegment      = _CollectionsBPQuickView.CollectionSegment

{

      // VDM Fields

  key RelationshipNumber,

      @ObjectModel: { foreignKey: { association: '_CollectionsBPQuickView' } }
  key BusinessPartnerCompany,

  key BusinessPartnerPerson,
  key CollectionSegment,

      BusinessPartnerPerson as BusinessPartnerPersonForEdit,

      FirstName,
      LastName,
      PhoneNumber,
      MobileNumber,
      FaxNumber,
      EmailAddress,
      ContactPersonFunction,
      ContactPersonDepartment,

      // Exposed Associations

      _BpContactToAddress,
      _BPContactToFuncAndDept,
      _BusinessPartnerCompany,
      _BusinessPartnerPerson,
      _CollectionSegment,
      _ContactPersonFunction,
      _ContactPersonDepartment,
      _CollectionsBPQuickView

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