I_IBCContactRelationData
Contact Relation Data
I_IBCContactRelationData is a Basic CDS View (Dimension) that provides data about "Contact Relation Data" in SAP S/4HANA. It reads from 2 data sources (cuand_ce_ic_fcet, cuand_ce_ic_rl_d) and exposes 51 fields with key field ContactRelationDataUUID. It has 14 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| cuand_ce_ic_fcet | cuand_ce_ic_fcet | inner |
| cuand_ce_ic_rl_d | cuand_ce_ic_rl_d | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_IBCContactRelationData | _ContactRelationDataExtension | cuand_ce_ic_rl_d.db_key = _ContactRelationDataExtension.ContactRelationDataUUID |
| [1..*] | I_IBCContactFacetData | _MKT_ContactFacetData | $projection.ContactOrigin = _MKT_ContactFacetData.InteractionContactOrigin and $projection.ContactID = _MKT_ContactFacetData.InteractionContactId |
| [0..1] | I_Region | _MKT_Region | $projection.Country = _MKT_Region.Country and $projection.AddressRegion = _MKT_Region.Region |
| [0..1] | I_Country | _MKT_Country | $projection.Country = _MKT_Country.Country |
| [0..1] | I_MKT_RelationshipCategory | _MKT_RelationshipCategory | $projection.RelationshipCategory = _MKT_RelationshipCategory.RelationshipCategory |
| [0..1] | I_MKT_Industry | _MKT_Industry | $projection.Industry = _MKT_Industry.Industry |
| [0..1] | I_MKT_Function | _MKT_Function | $projection.InteractionContactFunction = _MKT_Function.InteractionContactFunction |
| [0..1] | I_Language | _Language | $projection.LanguageCode = _Language.Language |
| [0..1] | I_MKT_Department | _MKT_Department | $projection.InteractionContactDepartment = _MKT_Department.Department |
| [0..1] | I_MKT_ContactTitle | _MKT_ContactTitle | $projection.FormOfAddress = _MKT_ContactTitle.FormOfAddress |
| [0..*] | I_IBCContactCommunicationArea | _IBCContactCommArea | $projection.InteractionContactUUID = _IBCContactCommArea.IntactnCntctCommAreaUUID and $projection.ContactOrigin = _IBCContactCommArea.InteractionContactOrigin and $projection.ContactID = _IBCContactCommArea.InteractionContactId |
| [1..1] | I_IBCContact | _MKT_Contact | $projection.InteractionContactUUID = _MKT_Contact.InteractionContactUUID |
| [0..1] | I_MKT_Contactorigin | _MKT_ContactOrigin | $projection.ContactOrigin = _MKT_ContactOrigin.InteractionContactOrigin |
| [0..1] | I_MKT_Contactorigin | _MKT_RelatedContactOrigin | $projection.ReltdIntactnContactOrigin = _MKT_RelatedContactOrigin.InteractionContactOrigin |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | ContactRelationDataUUID | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IIBCCNTCTRELDATA | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Contact Relation Data | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContactRelationDataUUID | |||
| InteractionContactUUID | ||||
| InteractionContactFacetUUID | ||||
| ContactOrigin | ||||
| ContactID | cuand_ce_ic_rl_d | id | WorklistID | |
| RelationshipCategory | cuand_ce_ic_rl_d | rel_type | Rel.Ent.Type | |
| ReltdIntactnContactOrigin | cuand_ce_ic_rl_d | rel_origin_to | ||
| ReltdIntactnContactID | cuand_ce_ic_rl_d | rel_id_to | ||
| FullName | cuand_ce_ic_rl_d | name_text | Full Name | |
| FirstName | cuand_ce_ic_rl_d | name_first | First Name | |
| LastName | cuand_ce_ic_rl_d | name_last | Last Name | |
| InteractionContactDepartment | cuand_ce_ic_rl_d | abtnr | Department | |
| IntactnCntctDepartmentName | cuand_ce_ic_rl_d | abtnr_ft | Department | |
| InteractionContactFunction | cuand_ce_ic_rl_d | pafkt | Function | |
| IntactnCntctFunctionFreeText | cuand_ce_ic_rl_d | pafkt_ft | Function | |
| CityName | cuand_ce_ic_rl_d | city1 | City | |
| StreetName | cuand_ce_ic_rl_d | street | Street Code | |
| AddressHouseNumber | cuand_ce_ic_rl_d | house_num1 | House Number | |
| LanguageCode | cuand_ce_ic_rl_d | language | Report Text Language | |
| LanguageFreeText | cuand_ce_ic_rl_d | language_ft | ||
| Country | cuand_ce_ic_rl_d | country | Venue: Ctry/Reg | |
| CountryFreeText | cuand_ce_ic_rl_d | country_ft | ||
| AddressRegion | cuand_ce_ic_rl_d | region | Venue Region | |
| RegionFreeText | cuand_ce_ic_rl_d | region_ft | ||
| ContactPostalCode | cuand_ce_ic_rl_d | postcode1 | Postal Code | |
| FormOfAddress | cuand_ce_ic_rl_d | title | View Title | |
| Industry | cuand_ce_ic_rl_d | brsch | Industry | |
| IndustryKeyText | cuand_ce_ic_rl_d | brsch_ft | ||
| Latitude | cuand_ce_ic_rl_d | latitude | Latitude | |
| Longitude | cuand_ce_ic_rl_d | longitude | Longitude | |
| GeoCoordinatesUnit | ||||
| SpatialReferenceSystem | cuand_ce_ic_rl_d | srid | Stability Rule DRP | |
| LastChangeDateTime | cuand_ce_ic_rl_d | lchg_date_time | Time Stamp | |
| LastChangedByUser | cuand_ce_ic_rl_d | lchg_uname | User Name | |
| CreationDateTime | cuand_ce_ic_rl_d | crea_date_time | Time Stamp | |
| CreatedByUser | cuand_ce_ic_rl_d | crea_uname | User Name | |
| IsMainContact | cuand_ce_ic_rl_d | is_main | ||
| RelatedInteractionContactUUID | cuand_ce_ic_rl_d | contact_key_to | NodeID | |
| RelationDataLastChgUTCDateTime | cuand_ce_ic_rl_d | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| _MKT_ContactTitle | _MKT_ContactTitle | |||
| _MKT_Region | _MKT_Region | |||
| _MKT_Country | _MKT_Country | |||
| _MKT_Industry | _MKT_Industry | |||
| _MKT_Function | _MKT_Function | |||
| _MKT_Department | _MKT_Department | |||
| _MKT_RelationshipCategory | _MKT_RelationshipCategory | |||
| _Language | _Language | |||
| _MKT_Contact | _MKT_Contact | |||
| _MKT_ContactOrigin | _MKT_ContactOrigin | |||
| _MKT_RelatedContactOrigin | _MKT_RelatedContactOrigin | |||
| _IBCContactCommArea | _IBCContactCommArea |
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_IBCContactRelationData.
-- 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_IBCContactRelationData AS
SELECT
cast(cuand_ce_ic_rl_d.db_key as cuan_key_ext preserving type ) AS ContactRelationDataUUID,
cast(cuand_ce_ic_rl_d.root_key as cuan_key_ext preserving type ) AS InteractionContactUUID,
cast(cuand_ce_ic_rl_d.parent_key as cuan_key_ext preserving type ) AS InteractionContactFacetUUID,
cast( cuand_ce_ic_rl_d.id_origin as cuan_ce_origin preserving type ) AS ContactOrigin,
cuand_ce_ic_rl_d.id AS ContactID,
cuand_ce_ic_rl_d.rel_type AS RelationshipCategory,
cuand_ce_ic_rl_d.rel_origin_to AS ReltdIntactnContactOrigin,
cuand_ce_ic_rl_d.rel_id_to AS ReltdIntactnContactID,
cuand_ce_ic_rl_d.name_text AS FullName,
cuand_ce_ic_rl_d.name_first AS FirstName,
cuand_ce_ic_rl_d.name_last AS LastName,
cuand_ce_ic_rl_d.abtnr AS InteractionContactDepartment,
cuand_ce_ic_rl_d.abtnr_ft AS IntactnCntctDepartmentName,
cuand_ce_ic_rl_d.pafkt AS InteractionContactFunction,
cuand_ce_ic_rl_d.pafkt_ft AS IntactnCntctFunctionFreeText,
cuand_ce_ic_rl_d.city1 AS CityName,
cuand_ce_ic_rl_d.street AS StreetName,
cuand_ce_ic_rl_d.house_num1 AS AddressHouseNumber,
cuand_ce_ic_rl_d.language AS LanguageCode,
cuand_ce_ic_rl_d.language_ft AS LanguageFreeText,
cuand_ce_ic_rl_d.country AS Country,
cuand_ce_ic_rl_d.country_ft AS CountryFreeText,
cuand_ce_ic_rl_d.region AS AddressRegion,
cuand_ce_ic_rl_d.region_ft AS RegionFreeText,
cuand_ce_ic_rl_d.postcode1 AS ContactPostalCode,
cuand_ce_ic_rl_d.title AS FormOfAddress,
cuand_ce_ic_rl_d.brsch AS Industry,
cuand_ce_ic_rl_d.brsch_ft AS IndustryKeyText,
cuand_ce_ic_rl_d.latitude AS Latitude,
cuand_ce_ic_rl_d.longitude AS Longitude,
cast('DEG' as msehiunit) AS GeoCoordinatesUnit,
cuand_ce_ic_rl_d.srid AS SpatialReferenceSystem,
cuand_ce_ic_rl_d.lchg_date_time AS LastChangeDateTime,
cuand_ce_ic_rl_d.lchg_uname AS LastChangedByUser,
cuand_ce_ic_rl_d.crea_date_time AS CreationDateTime,
cuand_ce_ic_rl_d.crea_uname AS CreatedByUser,
cuand_ce_ic_rl_d.is_main AS IsMainContact,
cuand_ce_ic_rl_d.contact_key_to AS RelatedInteractionContactUUID,
cuand_ce_ic_rl_d.timestamp AS RelationDataLastChgUTCDateTime
FROM cuand_ce_ic_rl_d
INNER JOIN cuand_ce_ic_fcet ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_IBCContactRelationData AS _ContactRelationDataExtension ON cuand_ce_ic_rl_d.db_key = _ContactRelationDataExtension.ContactRelationDataUUID -- association [1..1]
LEFT OUTER JOIN I_IBCContactFacetData AS _MKT_ContactFacetData ON ContactOrigin = _MKT_ContactFacetData.InteractionContactOrigin AND ContactID = _MKT_ContactFacetData.InteractionContactId -- association [1..*]
LEFT OUTER JOIN I_Region AS _MKT_Region ON Country = _MKT_Region.Country AND AddressRegion = _MKT_Region.Region -- association [0..1]
LEFT OUTER JOIN I_Country AS _MKT_Country ON Country = _MKT_Country.Country -- association [0..1]
LEFT OUTER JOIN I_MKT_RelationshipCategory AS _MKT_RelationshipCategory ON RelationshipCategory = _MKT_RelationshipCategory.RelationshipCategory -- association [0..1]
LEFT OUTER JOIN I_MKT_Industry AS _MKT_Industry ON Industry = _MKT_Industry.Industry -- association [0..1]
LEFT OUTER JOIN I_MKT_Function AS _MKT_Function ON InteractionContactFunction = _MKT_Function.InteractionContactFunction -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON LanguageCode = _Language.Language -- association [0..1]
LEFT OUTER JOIN I_MKT_Department AS _MKT_Department ON InteractionContactDepartment = _MKT_Department.Department -- association [0..1]
LEFT OUTER JOIN I_MKT_ContactTitle AS _MKT_ContactTitle ON FormOfAddress = _MKT_ContactTitle.FormOfAddress -- association [0..1]
LEFT OUTER JOIN I_IBCContactCommunicationArea AS _IBCContactCommArea ON InteractionContactUUID = _IBCContactCommArea.IntactnCntctCommAreaUUID AND ContactOrigin = _IBCContactCommArea.InteractionContactOrigin AND ContactID = _IBCContactCommArea.InteractionContactId -- association [0..*]
LEFT OUTER JOIN I_IBCContact AS _MKT_Contact ON InteractionContactUUID = _MKT_Contact.InteractionContactUUID -- association [1..1]
LEFT OUTER JOIN I_MKT_Contactorigin AS _MKT_ContactOrigin ON ContactOrigin = _MKT_ContactOrigin.InteractionContactOrigin -- association [0..1]
LEFT OUTER JOIN I_MKT_Contactorigin AS _MKT_RelatedContactOrigin ON ReltdIntactnContactOrigin = _MKT_RelatedContactOrigin.InteractionContactOrigin -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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