R_CollectionContactTP

DDL: R_COLLECTIONCONTACTTP Type: view_entity TRANSACTIONAL Package: ODATA_CONTACT_PERSON

Collection Contact - TP

R_CollectionContactTP is a Transactional CDS View that provides data about "Collection Contact - TP" in SAP S/4HANA. It reads from 1 data source (I_CollectionContact) and exposes 21 fields with key fields RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson, CollectionSegment. It has 1 association to related views. Part of development package ODATA_CONTACT_PERSON.

Data Sources (1)

SourceAliasJoin Type
I_CollectionContact I_CollectionContact from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_BPCollectionsSgmtQuickView _CollectionsBPQuickView $projection.BusinessPartnerCompany = _CollectionsBPQuickView.BusinessPartner and $projection.CollectionSegment = _CollectionsBPQuickView.CollectionSegment

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Collection Contact - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey BusinessPartnerPerson view
ObjectModel.sapObjectNodeType.name CollectionsContactPerson view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY RelationshipNumber RelationshipNumber
KEY BusinessPartnerCompany BusinessPartnerCompany
KEY BusinessPartnerPerson BusinessPartnerPerson
KEY CollectionSegment CollectionSegment
BusinessPartnerPersonForEdit BusinessPartnerPerson
FirstName FirstName
LastName LastName
PhoneNumber PhoneNumber
MobileNumber MobileNumber
FaxNumber FaxNumber
EmailAddress EmailAddress
ContactPersonFunction ContactPersonFunction
ContactPersonDepartment ContactPersonDepartment
_BpContactToAddress _BpContactToAddress
_BPContactToFuncAndDept _BPContactToFuncAndDept
_BusinessPartnerCompany _BusinessPartnerCompany
_BusinessPartnerPerson _BusinessPartnerPerson
_CollectionSegment _CollectionSegment
_ContactPersonFunction _ContactPersonFunction
_ContactPersonDepartment _ContactPersonDepartment
_CollectionsBPQuickView _CollectionsBPQuickView
@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' } }
@Consumption: { dbHints: [ 'USE_HEX_PLAN' ] }

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

}