P_HouseBankToRiskBP

DDL: P_HOUSEBANKTORISKBP SQL: PHOUSEBKTORISKBP Type: view COMPOSITE

P_HouseBankToRiskBP is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_RiskBusinessPartner, I_Housebank) and exposes 7 fields with key fields CompanyCode, HouseBank, ValidTo.

Data Sources (2)

SourceAliasJoin Type
I_RiskBusinessPartner bp_linkdage inner
I_Housebank housebank from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PHOUSEBKTORISKBP view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY HouseBank HouseBank House Bank
KEY ValidTo I_RiskBusinessPartner ValidTo Vers.Valid To
BankCountry I_RiskBusinessPartner BankCountry Bank Ctry/Rgn. Key
BankInternalID I_RiskBusinessPartner BankInternalID Bank Key
ValidFrom I_RiskBusinessPartner ValidFrom Vers.Valid From
BusinessPartnerNumber BusinessPartnerNumber With Partner

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_HouseBankToRiskBP.
-- 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: PHOUSEBKTORISKBP

CREATE VIEW P_HouseBankToRiskBP AS
SELECT
  CompanyCode,
  HouseBank,
  bp_linkdage.ValidTo AS ValidTo,
  bp_linkdage.BankCountry AS BankCountry,
  bp_linkdage.BankInternalID AS BankInternalID,
  bp_linkdage.ValidFrom AS ValidFrom,
  BusinessPartnerNumber
FROM I_Housebank AS housebank
INNER JOIN I_RiskBusinessPartner AS bp_linkdage ON /* join condition not captured in parsed metadata */
;