P_BPCreditRiskClass

DDL: P_BPCREDITRISKCLASS SQL: PBPCRDTRSKCL Type: view COMPOSITE

P_BPCreditRiskClass is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BusinessPartner, I_CustomerToBusinessPartner) and exposes 3 fields with key fields BusinessPartner, Customer. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_BusinessPartner BP from
I_CustomerToBusinessPartner CustomerToBusinessPartner inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CreditManagementBP _CreditManagement BP.BusinessPartner = _CreditManagement.BusinessPartner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PBPCRDTRSKCL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

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

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_BPCreditRiskClass.
-- 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: PBPCRDTRSKCL

CREATE VIEW P_BPCreditRiskClass AS
SELECT
  BP.BusinessPartner AS BusinessPartner,
  CustomerToBusinessPartner.Customer AS Customer
FROM I_BusinessPartner AS BP
INNER JOIN I_CustomerToBusinessPartner AS CustomerToBusinessPartner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CreditManagementBP AS _CreditManagement ON BP.BusinessPartner = _CreditManagement.BusinessPartner  -- association [0..1]
;