C_IBCContactProjection

DDL: C_IBCCONTACTPROJECTION Type: view_entity CONSUMPTION

Contact Projection

C_IBCContactProjection is a Consumption CDS View that provides data about "Contact Projection" in SAP S/4HANA. It reads from 1 data source (I_IBCContactProjection) and exposes 59 fields with key field InteractionCntctProjectionUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_IBCContactProjection I_IBCContactProjection projection

Associations (6)

CardinalityTargetAliasCondition
[0..1] C_IBCCommunicationAreaVH _CommunicationAreaText $projection.CommunicationArea = _CommunicationAreaText.CommunicationArea and $projection.ReferencedOrgStructure = _CommunicationAreaText.ReferencedOrgStructure
[0..*] C_IBCIntactnDetInteraction _Interactions $projection.InteractionContactUUID = _Interactions.InteractionContactUUID and $projection.CommunicationArea = _Interactions.CommunicationArea and $projection.ReferencedOrgStructure = _Interactions.ReferencedOrgStructure
[0..*] C_IBCContactPermission _Permissions $projection.InteractionContactUUID = _Permissions.InteractionContactUUID and $projection.CommunicationArea = _Permissions.CommunicationArea and $projection.ReferencedOrgStructure = _Permissions.ReferencedOrgStructure and 'EMAIL' = _Permissions.InteractionContactOrigin
[0..*] C_IBCRelationshipProjection _RelationProjections $projection.InteractionContactUUID = _RelationProjections.InteractionContactUUID
[1..1] I_CommAreaSalesOrganization _SalesOrg $projection.CommunicationArea = _SalesOrg.CommunicationArea
[1..1] I_CommAreaPurchasingOrg _PurchasingOrg $projection.CommunicationArea = _PurchasingOrg.CommunicationArea

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Contact Projection view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix ICP view
AbapCatalog.extensibility.allowNewDatasources true view
AbapCatalog.extensibility.quota.maximumFields 250 view
AbapCatalog.extensibility.quota.maximumBytes 10000 view

Fields (59)

KeyFieldSource TableSource FieldDescription
KEY InteractionCntctProjectionUUID InteractionCntctProjectionUUID
InteractionContactUUID InteractionContactUUID NodeID
FullName FullName Name
FirstName FirstName First Name
LastName LastName Last Name
FormattedPostalAddressText FormattedPostalAddressText
Country Venue: Ctry/Reg
CountryNameasCountryNamelocalized
AddressRegion AddressRegion Region
RegionNameasRegionNamelocalized
CityName CityName Name
ContactPostalCode ContactPostalCode
StreetName StreetName Text
AddressHouseNumber AddressHouseNumber House Number
FormOfAddress FormOfAddress Title Key
EmailAddress EmailAddress E-Mail Address
PhoneNumber PhoneNumber Telephone no.
MobileNumber MobileNumber Telephone
InteractionContactDepartment InteractionContactDepartment Department
DepartmentNameasDepartmentNamelocalized
InteractionContactFunction InteractionContactFunction Function
Industry Industry Industry Sector
IndustryNameasIndustryNamelocalized
WebsiteURL WebsiteURL URI
MaritalStatus MaritalStatus Marital Status
LanguageCode Language Key
LanguageNameasLanguageNamelocalized
GenderCode Sex-Specific
GenderCodeNameasGenderCodeNamelocalized
BirthDate BirthDate Date of Birth
InteractionCntctProjectionType InteractionCntctProjectionType
PartnerFunctionType PartnerFunctionType Partner Type
BusinessPartner BusinessPartner Issuing Authority
ToBusinessPartner ToBusinessPartner
Customer Customer Sold-to Party
ToCustomer ToCustomer
Supplier Supplier Supplier
ToSupplier ToSupplier
ContactPerson ContactPerson Contact Person Key
CorporateAccountUUID CorporateAccountUUID
CommunicationArea
CommunicationAreaName CommunicationAreaName
ReferencedOrgStructure ReferencedOrgStructure
_MKT_Region _MKT_Region
_MKT_Country _MKT_Country
_MKT_Industry _MKT_Industry
_MKT_Marital _MKT_Marital
_MKT_Function _MKT_Function
_Language _Language
_MKT_Department _MKT_Department
_MKT_ContactTitle _MKT_ContactTitle
_MKT_RelatedContact _MKT_RelatedContact
_CommunicationAreaText _CommunicationAreaText
_SalesOrg _SalesOrg
_PurchasingOrg _PurchasingOrg
_Interactions _Interactions
_Permissions _Permissions
_RelationProjections _RelationProjections
_AuthCommArea _AuthCommArea

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 C_IBCContactProjection.
-- 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 C_IBCContactProjection AS
SELECT
  InteractionCntctProjectionUUID,
  InteractionContactUUID,
  FullName,
  FirstName,
  LastName,
  FormattedPostalAddressText,
  cast(Country as land preserving type) AS Country,
  _MKT_Country._Text.CountryName as CountryName : localized AS CountryNameasCountryNamelocalized,
  AddressRegion,
  _MKT_Region._RegionText.RegionName as RegionName : localized AS RegionNameasRegionNamelocalized,
  CityName,
  ContactPostalCode,
  StreetName,
  AddressHouseNumber,
  FormOfAddress,
  EmailAddress,
  PhoneNumber,
  MobileNumber,
  InteractionContactDepartment,
  _MKT_Department._Text.DepartmentName as DepartmentName : localized AS DepartmentNameasDepartmentNamelocalized,
  InteractionContactFunction,
  Industry,
  _MKT_Industry._Text.IndustryName as IndustryName : localized AS IndustryNameasIndustryNamelocalized,
  WebsiteURL,
  MaritalStatus,
  cast(LanguageCode as cuan_cds_language preserving type ) AS LanguageCode,
  _Language._Text.LanguageName as LanguageName : localized AS LanguageNameasLanguageNamelocalized,
  cast(GenderCode as cuan_cds_gender preserving type) AS GenderCode,
  _MKT_Gender._Text.GenderCodeName as GenderCodeName : localized AS GenderCodeNameasGenderCodeNamelocalized,
  BirthDate,
  InteractionCntctProjectionType,
  PartnerFunctionType,
  BusinessPartner,
  ToBusinessPartner,
  Customer,
  ToCustomer,
  Supplier,
  ToSupplier,
  ContactPerson,
  CorporateAccountUUID,
  cast(CommunicationArea as hpa_comm_area_id_ext preserving type ) AS CommunicationArea,
  CommunicationAreaName,
  ReferencedOrgStructure
FROM I_IBCContactProjection
LEFT OUTER JOIN C_IBCCommunicationAreaVH AS _CommunicationAreaText ON CommunicationArea = _CommunicationAreaText.CommunicationArea AND ReferencedOrgStructure = _CommunicationAreaText.ReferencedOrgStructure  -- association [0..1]
LEFT OUTER JOIN C_IBCIntactnDetInteraction AS _Interactions ON InteractionContactUUID = _Interactions.InteractionContactUUID AND CommunicationArea = _Interactions.CommunicationArea AND ReferencedOrgStructure = _Interactions.ReferencedOrgStructure  -- association [0..*]
LEFT OUTER JOIN C_IBCContactPermission AS _Permissions ON InteractionContactUUID = _Permissions.InteractionContactUUID AND CommunicationArea = _Permissions.CommunicationArea AND ReferencedOrgStructure = _Permissions.ReferencedOrgStructure AND 'EMAIL' = _Permissions.InteractionContactOrigin  -- association [0..*]
LEFT OUTER JOIN C_IBCRelationshipProjection AS _RelationProjections ON InteractionContactUUID = _RelationProjections.InteractionContactUUID  -- association [0..*]
LEFT OUTER JOIN I_CommAreaSalesOrganization AS _SalesOrg ON CommunicationArea = _SalesOrg.CommunicationArea  -- association [1..1]
LEFT OUTER JOIN I_CommAreaPurchasingOrg AS _PurchasingOrg ON CommunicationArea = _PurchasingOrg.CommunicationArea  -- association [1..1]
;