I_CUSTOMER_TO_BUSINESSPARTNER
Customer to BusinessPartner Relationship
I_CUSTOMER_TO_BUSINESSPARTNER is a CDS View in S/4HANA. Customer to BusinessPartner Relationship. It contains 2 fields. 6 CDS views read from this table.
CDS Views using this table (6)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_Custprojcustomercontact | view | inner | CONSUMPTION | Customer contact details for Customer Projects |
| FAC_DART_Z3_C_BP_ADDRESS | view | inner | Business Partner Address for Customer | |
| P_BG_SAFTCUSTOMERID | view_entity | inner | CONSUMPTION | BG SAFT Customer ID |
| P_CN_CADECustomer | view | inner | CONSUMPTION | CADE Customer |
| P_JP_CentralBkPaytWithItems | view | left_outer | CONSUMPTION | View for Japan Central Bank Payment Detail Items |
| P_RO_SAFTCustomerVATNumber | view_entity | inner | CONSUMPTION | RO SAFT Customer VAT number |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | BusinessPartnerUUID | BusinessPartnerUUID | 1 |
| KEY | Customer | Customer | 2 |
@EndUserText.label: 'Customer to BusinessPartner Relationship'
@Analytics.dataCategory: #DIMENSION //or #CUBE or #FACT
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'BusinessPartnerUUID'
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE , #CDS_MODELING_DATA_SOURCE , #CDS_MODELING_ASSOCIATION_TARGET]
@AbapCatalog.sqlViewName: 'ICVI_CUST_LINK'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm : #SESSION_VARIABLE
@AccessControl.personalData.blocking: #REQUIRED
@Metadata.allowExtensions: true
@AbapCatalog.preserveKey:true
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view I_Customer_to_BusinessPartner
as select from cvi_cust_link
association [1..1] to I_BusinessPartner as _BusinessPartner on $projection.BusinessPartnerUUID = _BusinessPartner.BusinessPartnerUUID
association [1..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
{
// key CVI_CUST_LINK.client,
key partner_guid as BusinessPartnerUUID,
// _BusinessPartner.BusinessPartner,
customer as Customer,
_Customer,
_BusinessPartner.AuthorizationGroup,
_BusinessPartner
}