C_Customer360_Contactop
Customer 360 Contact OP
C_Customer360_Contactop is a Consumption CDS View that provides data about "Customer 360 Contact OP" in SAP S/4HANA. It reads from 1 data source (I_CustomerContact) and exposes 17 fields with key fields Customer, RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomerContact | Contact | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer_to_BusinessPartner | _CustomerToBusinessPartner | $projection.PartnerUUID = _CustomerToBusinessPartner.BusinessPartnerUUID |
| [0..1] | I_ContactPersonFunctionT | _CntctPersnFuncValueHelp | $projection.ContactPersonFunction = _CntctPersnFuncValueHelp.ContactPersonFunction and _CntctPersnFuncValueHelp.Language = $session.system_language |
| [0..1] | I_ContactPersonDepartmentT | _CntctPersnDeptValueHelp | $projection.ContactPersonDepartment = _CntctPersnDeptValueHelp.ContactPersonDepartment and _CntctPersnDeptValueHelp.Language = $session.system_language |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCUST360CONTOP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Customer 360 Contact OP | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| UI.headerInfo.typeName | Contact | view | |
| UI.headerInfo.typeNamePlural | Contacts | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | ContactPersonFunctionName | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | ContactPersonFunction | view | |
| UI.presentationVariant.sortOrder.by | LastName | view | |
| UI.presentationVariant.sortOrder.direction | #ASC | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Customer | _CustomerToBusinessPartner | Customer | Sold-to Party |
| KEY | RelationshipNumber | I_CustomerContact | RelationshipNumber | BP Rel. Number |
| KEY | BusinessPartnerCompany | I_CustomerContact | BusinessPartnerCompany | Busn. Partner |
| KEY | BusinessPartnerPerson | I_CustomerContact | BusinessPartnerPerson | Busn. Partner |
| PartnerUUID | I_CustomerContact | PartnerUUID | ||
| ContactPersonFunction | I_CustomerContact | ContactPersonFunction | Function | |
| ContactPersonDepartment | I_CustomerContact | ContactPersonDepartment | Department | |
| FirstName | I_CustomerContact | FirstName | First Name | |
| LastName | I_CustomerContact | LastName | Last Name | |
| FullName | ||||
| ContactPersonFunctionName | _CntctPersnFuncValueHelp | ContactPersonFunctionName | Function | |
| ContactPersonDepartmentName | _CntctPersnDeptValueHelp | ContactPersonDepartmentName | Company dept. | |
| InternationalPhoneNumber | I_CustomerContact | InternationalPhoneNumber | Telephone no. | |
| EmailAddress | I_CustomerContact | EmailAddress | E-Mail Address | |
| InternationalMobilePhoneNumber | I_CustomerContact | InternationalMobilePhoneNumber | ||
| _BusinessPartnerCompany | _BusinessPartnerCompany | |||
| _BusinessPartnerPerson | _BusinessPartnerPerson |
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_Customer360_Contactop.
-- 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.
-- SQL view name: CCUST360CONTOP
CREATE VIEW C_Customer360_Contactop AS
SELECT
_CustomerToBusinessPartner.Customer AS Customer,
Contact.RelationshipNumber AS RelationshipNumber,
Contact.BusinessPartnerCompany AS BusinessPartnerCompany,
Contact.BusinessPartnerPerson AS BusinessPartnerPerson,
Contact.PartnerUUID AS PartnerUUID,
Contact.ContactPersonFunction AS ContactPersonFunction,
Contact.ContactPersonDepartment AS ContactPersonDepartment,
Contact.FirstName AS FirstName,
Contact.LastName AS LastName,
concat_with_space(Contact.FirstName, Contact.LastName, 1) AS FullName,
_CntctPersnFuncValueHelp.ContactPersonFunctionName AS ContactPersonFunctionName,
_CntctPersnDeptValueHelp.ContactPersonDepartmentName AS ContactPersonDepartmentName,
Contact.InternationalPhoneNumber AS InternationalPhoneNumber,
Contact.EmailAddress AS EmailAddress,
Contact.InternationalMobilePhoneNumber AS InternationalMobilePhoneNumber
FROM I_CustomerContact AS Contact
LEFT OUTER JOIN I_Customer_to_BusinessPartner AS _CustomerToBusinessPartner ON PartnerUUID = _CustomerToBusinessPartner.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN I_ContactPersonFunctionT AS _CntctPersnFuncValueHelp ON ContactPersonFunction = _CntctPersnFuncValueHelp.ContactPersonFunction AND _CntctPersnFuncValueHelp.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ContactPersonDepartmentT AS _CntctPersnDeptValueHelp ON ContactPersonDepartment = _CntctPersnDeptValueHelp.ContactPersonDepartment AND _CntctPersnDeptValueHelp.Language = $session.system_language -- 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