I_BusinessPartnerCreditProfile

DDL: I_BUSINESSPARTNERCREDITPROFILE Type: view_entity BASIC Package: UKM_CDS

Credit Profile of Business Partner

I_BusinessPartnerCreditProfile is a Basic CDS View that provides data about "Credit Profile of Business Partner" in SAP S/4HANA. It reads from 1 data source (ukmbp_cms) and exposes 20 fields with key field BusinessPartner. It has 7 associations to related views. Part of development package UKM_CDS.

Data Sources (1)

SourceAliasJoin Type
ukmbp_cms _CreditProfile from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CreditMgmtBPAddress _CreditMgmtBPAddress $projection.BusinessPartner = _CreditMgmtBPAddress.BusinessPartner
[0..1] I_CrdtMBusPartnerGroup _CrdtMBusPartnerGroup $projection.CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup
[0..1] I_CreditRiskClass _RiskClass $projection.CreditRiskClass = _RiskClass.CreditRiskClass
[0..1] I_CreditRiskClass _CalcRiskClass $projection.CalculatedCreditRiskClass = _CalcRiskClass.CreditRiskClass
[0..1] I_CreditCheckRule _CheckRule $projection.CreditCheckRule = _CheckRule.CreditCheckRule
[0..1] I_CrdtScoreAndLmtCalcRule _CalcRule $projection.CreditScoreAndLimitCalcRule = _CalcRule.CreditScoreAndLimitCalcRule

Annotations (10)

NameValueLevelField
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey BusinessPartner view
Analytics.technicalName IBPCRDTPROFILE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Credit Profile of Business Partner view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner ukmbp_cms partner With Partner
CreditWorthinessScoreValue ukmbp_cms own_rating Score
CreditCheckRule ukmbp_cms check_rule Check Rule
CreditScoreAndLimitCalcRule
CrdtWrthnssScoreValdtyEndDate ukmbp_cms rating_val_date Valid To
CrdtWorthinessScoreLastChgDate ukmbp_cms rating_chg_date Changed On
CalcdCrdtWorthinessScoreValue ukmbp_cms own_rating_calc Calculated
CreditRiskClass ukmbp_cms risk_class Risk Class
CalculatedCreditRiskClass
CreditRiskClassLastChangeDate ukmbp_cms risk_class_chgdt Changed On
CrdtMgmtBusinessPartnerGroup ukmbp_cms credit_group Credit Group
CustBusinessRelshpStartYear ukmbp_cms customer_since_year First Year of Customer Relationship
BPLastChangeDateTime ukmbp_cms last_changed_at Timestamp
_BusinessPartner _BusinessPartner
_CreditMgmtBPAddress _CreditMgmtBPAddress
_CrdtMBusPartnerGroup _CrdtMBusPartnerGroup
_RiskClass _RiskClass
_CalcRiskClass _CalcRiskClass
_CheckRule _CheckRule
_CalcRule _CalcRule

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_BusinessPartnerCreditProfile.
-- 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_BusinessPartnerCreditProfile AS
SELECT
  _CreditProfile.partner AS BusinessPartner,
  _CreditProfile.own_rating AS CreditWorthinessScoreValue,
  _CreditProfile.check_rule AS CreditCheckRule,
  cast( _CreditProfile.limit_rule as ukm_limit_and_score_calc_rule preserving type ) AS CreditScoreAndLimitCalcRule,
  _CreditProfile.rating_val_date AS CrdtWrthnssScoreValdtyEndDate,
  _CreditProfile.rating_chg_date AS CrdtWorthinessScoreLastChgDate,
  _CreditProfile.own_rating_calc AS CalcdCrdtWorthinessScoreValue,
  _CreditProfile.risk_class AS CreditRiskClass,
  cast( _CreditProfile.risk_class_calc as ukm_calculated_risk_class_2 preserving type ) AS CalculatedCreditRiskClass,
  _CreditProfile.risk_class_chgdt AS CreditRiskClassLastChangeDate,
  _CreditProfile.credit_group AS CrdtMgmtBusinessPartnerGroup,
  _CreditProfile.customer_since_year AS CustBusinessRelshpStartYear,
  _CreditProfile.last_changed_at AS BPLastChangeDateTime
FROM ukmbp_cms AS _CreditProfile
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CreditMgmtBPAddress AS _CreditMgmtBPAddress ON BusinessPartner = _CreditMgmtBPAddress.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CrdtMBusPartnerGroup AS _CrdtMBusPartnerGroup ON CrdtMgmtBusinessPartnerGroup = _CrdtMBusPartnerGroup.CrdtMgmtBusinessPartnerGroup  -- association [0..1]
LEFT OUTER JOIN I_CreditRiskClass AS _RiskClass ON CreditRiskClass = _RiskClass.CreditRiskClass  -- association [0..1]
LEFT OUTER JOIN I_CreditRiskClass AS _CalcRiskClass ON CalculatedCreditRiskClass = _CalcRiskClass.CreditRiskClass  -- association [0..1]
LEFT OUTER JOIN I_CreditCheckRule AS _CheckRule ON CreditCheckRule = _CheckRule.CreditCheckRule  -- association [0..1]
LEFT OUTER JOIN I_CrdtScoreAndLmtCalcRule AS _CalcRule ON CreditScoreAndLimitCalcRule = _CalcRule.CreditScoreAndLimitCalcRule  -- association [0..1]
;