I_BankForBusinessPartner
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)
| Source | Alias | Join Type |
|---|---|---|
| bnka | bnka | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA