I_BankForBusinessPartner

DDL: I_BANKFORBUSINESSPARTNER SQL: IBANKFORBP Type: view BASIC Package: VDM_MD_BP_BASE

Bank Master for Business Partner

I_BankForBusinessPartner is a Basic CDS View that provides data about "Bank Master for Business Partner" in SAP S/4HANA. It reads from 1 data source (bnka) and exposes 22 fields with key fields BankCountry, BankInternalID. It has 4 associations to related views. Part of development package VDM_MD_BP_BASE.

Data Sources (1)

SourceAliasJoin Type
bnka bnka from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Address _Address $projection.AddressID = _Address.AddressID
[0..1] I_Region _Region $projection.Region = _Region.Region and $projection.BankCountry = _Region.Country
[0..1] I_Country _Country $projection.BankCountry = _Country.Country
[0..1] I_OrganizationAddress _AddressDefaultRepresentation $projection.AddressID = _AddressDefaultRepresentation.AddressID and _AddressDefaultRepresentation.AddressRepresentationCode is initial

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IBANKFORBP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Bank Master for Business Partner view
VDM.viewType #BASIC view
ObjectModel.representativeKey BankInternalID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY BankCountry banks Bank Ctry/Rgn. Key
KEY BankInternalID bankl House Bank
CreationDate erdat Entered On
CreatedByUser ernam User Name
BankName banka Bank Name
Region provz Region
StreetName stras Street/House
CityName ort01 Province
SWIFTCode swift SWIFT/BIC
BankNetworkGrouping bgrup Bank group
IsPostBankAccount xpgro Postbank Acct
IsMarkedForDeletion loevm End Contract
Bank bnklz Bank Number
PostOfficeBankAccount pskto Postal chk acct
Branch brnch Business Place
CheckDigitCalculationMethod chkme Method
BankDataFileFormat vers Variant
AddressID adrnr Sold-To Address
_Address _Address
_Region _Region
_Country _Country
_AddressDefaultRepresentation _AddressDefaultRepresentation

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_BankForBusinessPartner.
-- 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: IBANKFORBP

CREATE VIEW I_BankForBusinessPartner AS
SELECT
  banks AS BankCountry,
  bankl AS BankInternalID,
  erdat AS CreationDate,
  ernam AS CreatedByUser,
  banka AS BankName,
  provz AS Region,
  stras AS StreetName,
  ort01 AS CityName,
  swift AS SWIFTCode,
  bgrup AS BankNetworkGrouping,
  xpgro AS IsPostBankAccount,
  loevm AS IsMarkedForDeletion,
  bnklz AS Bank,
  pskto AS PostOfficeBankAccount,
  brnch AS Branch,
  chkme AS CheckDigitCalculationMethod,
  vers AS BankDataFileFormat,
  adrnr AS AddressID
FROM bnka
LEFT OUTER JOIN I_Address AS _Address ON AddressID = _Address.AddressID  -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND BankCountry = _Region.Country  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON BankCountry = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_OrganizationAddress AS _AddressDefaultRepresentation ON AddressID = _AddressDefaultRepresentation.AddressID AND _AddressDefaultRepresentation.AddressRepresentationCode is initial  -- association [0..1]
;