R_COLLECTIONCONTACTTP
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)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| 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' } }
@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
}