R_CollectionContactTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CollectionContact | I_CollectionContact | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_BPCollectionsSgmtQuickView | _CollectionsBPQuickView | $projection.BusinessPartnerCompany = _CollectionsBPQuickView.BusinessPartner and $projection.CollectionSegment = _CollectionsBPQuickView.CollectionSegment |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA