I_RblsMgmtBPToCustomer

DDL: I_RBLSMGMTBPTOCUSTOMER Type: view_entity COMPOSITE

Business Partner to Customer Mapping

I_RblsMgmtBPToCustomer is a Composite CDS View that provides data about "Business Partner to Customer Mapping" in SAP S/4HANA. It reads from 2 data sources (I_BusinessPartner, I_CustomerToBusinessPartner) and exposes 4 fields with key field BusinessPartner. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_BusinessPartner _BP from
I_CustomerToBusinessPartner I_CustomerToBusinessPartner inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_Customer _Customer $projection.Customer = _Customer.Customer

Annotations (6)

NameValueLevelField
EndUserText.label Business Partner to Customer Mapping view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BusinessPartner BusinessPartner Issuing Authority
Customer I_CustomerToBusinessPartner Customer Sold-to Party
_Customer _Customer
_BusinessPartner _BusinessPartner

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 I_RblsMgmtBPToCustomer.
-- 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 I_RblsMgmtBPToCustomer AS
SELECT
  _BP.BusinessPartner AS BusinessPartner,
  I_CustomerToBusinessPartner.Customer AS Customer
FROM I_BusinessPartner AS _BP
INNER JOIN I_CustomerToBusinessPartner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [1..1]
;