C_BkReltdRiskBusinessPartnerVH

DDL: C_BKRELTDRISKBUSINESSPARTNERVH Type: view_entity CONSUMPTION Package: FCLM_MANAGEBANKS

Bank Related Risk Business Partner

C_BkReltdRiskBusinessPartnerVH is a Consumption CDS View that provides data about "Bank Related Risk Business Partner" in SAP S/4HANA. It reads from 1 data source (I_Bank_2) and exposes 10 fields with key fields BankCountry, BankInternalID. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F1574A, UI_CASHBANK_MANAGE). Part of development package FCLM_MANAGEBANKS.

Data Sources (1)

SourceAliasJoin Type
I_Bank_2 Bank from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_RiskBusinessPartner _RiskBP $projection.BankCountry = _RiskBP.BankCountry and $projection.BankInternalID = _RiskBP.BankInternalID and _RiskBP.ValidFrom <= $session.system_date and _RiskBP.ValidTo >= $session.system_date

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bank Related Risk Business Partner view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BankInternalID view
Search.searchable true view
Consumption.ranked true view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F1574A ASQL_F1574A C2 NOT_RELEASED
UI_CASHBANK_MANAGE UI_CASHBANK_MANAGE V4 C1 NOT_RELEASED

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BankCountry BankCountry Bank Ctry/Rgn. Key
KEY BankInternalID BankInternalID Bank Key
BankName BankName Bank Name
BankNumber I_Bank_2 Bank Bank Number
SWIFTCode SWIFTCode SWIFT/BIC
BusinessPartnerNumberendasRiskPartnerNo
BankNetworkGrouping BankNetworkGrouping Bank group
BankCategory BankCategory Internal bank
BusinessPartnerGrouping
_RiskBP _RiskBP

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 C_BkReltdRiskBusinessPartnerVH.
-- 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 C_BkReltdRiskBusinessPartnerVH AS
SELECT
  BankCountry,
  BankInternalID,
  BankName,
  Bank.Bank AS BankNumber,
  SWIFTCode,
  case when _RiskBP.BusinessPartnerNumber is null then '' else _RiskBP.BusinessPartnerNumber end as RiskPartnerNo AS BusinessPartnerNumberendasRiskPartnerNo,
  BankNetworkGrouping,
  BankCategory,
  case when _RiskBP.BusinessPartnerNumber is null then '' else _RiskBP._BusinessPartner.BusinessPartnerGrouping end AS BusinessPartnerGrouping
FROM I_Bank_2 AS Bank
LEFT OUTER JOIN I_RiskBusinessPartner AS _RiskBP ON BankCountry = _RiskBP.BankCountry AND BankInternalID = _RiskBP.BankInternalID AND _RiskBP.ValidFrom <= $session.system_date AND _RiskBP.ValidTo >= $session.system_date  -- association [0..1]
;