I_CustomerContactRelation

DDL: I_CUSTOMERCONTACTRELATION Type: view BASIC

Customer Contact Relation

I_CustomerContactRelation is a Basic CDS View that provides data about "Customer Contact Relation" in SAP S/4HANA. It reads from 1 data source (udm_cct_rel) and exposes 5 fields with key fields CustomerContactUUID, CaseUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
udm_cct_rel udm_cct_rel from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CustomerContactAttribute _CustomerContactAttribute $projection.CustomerContactUUID = _CustomerContactAttribute.CustomerContactUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICCTREL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Customer Contact Relation view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey CaseUUID view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CustomerContactUUID cct_guid Customer Contact Key
KEY CaseUUID obj_guid UUID
CustomerCntctFollowUpObjType obj_qualifier Object Type
CustomerCntctFollowUpObjStatus obj_invalid Validity
_CustomerContactAttribute _CustomerContactAttribute

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_CustomerContactRelation.
-- 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_CustomerContactRelation AS
SELECT
  cct_guid AS CustomerContactUUID,
  obj_guid AS CaseUUID,
  obj_qualifier AS CustomerCntctFollowUpObjType,
  obj_invalid AS CustomerCntctFollowUpObjStatus
FROM udm_cct_rel
LEFT OUTER JOIN I_CustomerContactAttribute AS _CustomerContactAttribute ON CustomerContactUUID = _CustomerContactAttribute.CustomerContactUUID  -- association [0..1]
;