P_BusinessPartnerToCustomer

DDL: P_BUSINESSPARTNERTOCUSTOMER Type: view_entity COMPOSITE

P_BusinessPartnerToCustomer is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_Customer_to_BusinessPartner) and exposes 5 fields with key fields BusinessPartnerUUID, BusinessPartner.

Data Sources (1)

SourceAliasJoin Type
I_Customer_to_BusinessPartner I_Customer_to_BusinessPartner from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerUUID BusinessPartnerUUID UUID
KEY BusinessPartner
Customer Customer Sold-to Party
_BusinessPartner _BusinessPartner
_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 P_BusinessPartnerToCustomer.
-- 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 P_BusinessPartnerToCustomer AS
SELECT
  BusinessPartnerUUID,
  I_Customer_to_BusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  Customer
FROM I_Customer_to_BusinessPartner
;