C_ProdCmplncReqCustomerContact

DDL: C_PRODCMPLNCREQCUSTOMERCONTACT Type: view_entity CONSUMPTION

Customer Contact Card

C_ProdCmplncReqCustomerContact is a Consumption CDS View that provides data about "Customer Contact Card" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartner) and exposes 13 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BusinessPartner BusinessPartner from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Customer _Customer _Customer.Customer = $projection.BusinessPartnerCustomer

Annotations (7)

NameValueLevelField
EndUserText.label Customer Contact Card view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (13)

KeyFieldSource TableSource FieldDescription
OrganizationBPName1 I_BusinessPartner OrganizationBPName1 Name 1
OrganizationBPName2 I_BusinessPartner OrganizationBPName2 Name 2
EmailAddress
StreetName
HouseNumber
PostalCode
CityName
CountryName
BusinessPartner BusinessPartnerCustomer BusinessPartner Issuing Authority
AuthorizationGroup BusinessPartnerCustomer AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted BusinessPartnerCustomer IsBusinessPurposeCompleted Purpose Completed
DataControllerSet BusinessPartnerCustomer DataControllerSet Data Ctrlr. Set
_Customer _Customer

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_ProdCmplncReqCustomerContact.
-- 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_ProdCmplncReqCustomerContact AS
SELECT
  BusinessPartner.OrganizationBPName1 AS OrganizationBPName1,
  BusinessPartner.OrganizationBPName2 AS OrganizationBPName2,
  BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.HouseNumber AS HouseNumber,
  BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.PostalCode AS PostalCode,
  BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.CityName AS CityName,
  BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation._Country._Text[1: Language = $session.system_language ].CountryName AS CountryName,
  BusinessPartnerCustomer.BusinessPartner AS BusinessPartner,
  BusinessPartnerCustomer.AuthorizationGroup AS AuthorizationGroup,
  BusinessPartnerCustomer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  BusinessPartnerCustomer.DataControllerSet AS DataControllerSet
FROM I_BusinessPartner AS BusinessPartner
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = BusinessPartnerCustomer  -- association [1..1]
;