I_CollectionsCustomerContactVH
Collections Customer Contact VH
I_CollectionsCustomerContactVH is a Composite CDS View that provides data about "Collections Customer Contact VH" in SAP S/4HANA. It reads from 1 data source (I_CustomerContact) and exposes 22 fields with key field CustomerContact. It has 3 associations to related views. It is exposed through 1 OData service (UI_PROCESSRECEIVABLES_MANAGE). Part of development package ODATA_CONTACT_PERSON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerContact | I_CustomerContact | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BPRelationship | _BPRelationship | $projection.BusinessPartnerCompany = _BPRelationship.BusinessPartner1 and $projection.BusinessPartnerPerson = _BPRelationship.BusinessPartner2 and _BPRelationship.RelationshipCategory = 'UDM001' |
| [0..1] | I_BusinessPartnerVH | _BusinessPartnerCompanyVH | $projection.BusinessPartnerCompany = _BusinessPartnerCompanyVH.BusinessPartner |
| [0..1] | I_BusinessPartnerVH | _BusinessPartnerPersonVH | $projection.BusinessPartnerPerson = _BusinessPartnerPersonVH.BusinessPartner |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICOLLSCSTCNTVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Collections Customer Contact VH | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | CustomerContact | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_PROCESSRECEIVABLES_MANAGE | UI_PROCESSRECEIVABLES_MAN | V2 | C1 | NOT_TO_BE_RELEASED_STABLE |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerContact | CustomerContact | ||
| RelationshipNumber | RelationshipNumber | BP Rel. Number | ||
| BusinessPartnerCompany | BusinessPartnerCompany | Busn. Partner | ||
| BusinessPartnerPerson | BusinessPartnerPerson | Busn. Partner | ||
| BusinessPartnerName | BusinessPartnerName | Extracted Customer Name | ||
| FirstName | FirstName | First Name | ||
| LastName | LastName | Last Name | ||
| ContactPersonDepartment | ContactPersonDepartment | Department | ||
| ContactPersonDepartmentName | ||||
| ContactPersonFunction | ContactPersonFunction | Function | ||
| ContactPersonFunctionName | ||||
| PhoneNumber | PhoneNumber | Telephone no. | ||
| MobilePhoneNumber | MobilePhoneNumber | Telephone | ||
| FaxNumber | FaxNumber | Fax Number | ||
| EmailAddress | EmailAddress | E-Mail Address | ||
| _BusinessPartnerCompany | _BusinessPartnerCompany | |||
| _BusinessPartnerPerson | _BusinessPartnerPerson | |||
| _ContactPersonDepartment | _ContactPersonDepartment | |||
| _ContactPersonFunction | _ContactPersonFunction | |||
| _BPRelationship | _BPRelationship | |||
| _BusinessPartnerCompanyVH | _BusinessPartnerCompanyVH | |||
| _BusinessPartnerPersonVH | _BusinessPartnerPersonVH |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_CollectionsCustomerContactVH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_CollectionsCustomerContactVH AS
SELECT
CustomerContact,
RelationshipNumber,
BusinessPartnerCompany,
BusinessPartnerPerson,
BusinessPartnerName,
FirstName,
LastName,
ContactPersonDepartment,
_ContactPersonDepartment._Text[1:Language = $session.system_language].ContactPersonDepartmentName AS ContactPersonDepartmentName,
ContactPersonFunction,
_ContactPersonFunction._Text[1:Language = $session.system_language].ContactPersonFunctionName AS ContactPersonFunctionName,
PhoneNumber,
MobilePhoneNumber,
FaxNumber,
EmailAddress
FROM I_CustomerContact
LEFT OUTER JOIN I_BPRelationship AS _BPRelationship ON BusinessPartnerCompany = _BPRelationship.BusinessPartner1 AND BusinessPartnerPerson = _BPRelationship.BusinessPartner2 AND _BPRelationship.RelationshipCategory = 'UDM001' -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerVH AS _BusinessPartnerCompanyVH ON BusinessPartnerCompany = _BusinessPartnerCompanyVH.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerVH AS _BusinessPartnerPersonVH ON BusinessPartnerPerson = _BusinessPartnerPersonVH.BusinessPartner -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA