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.
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 | ||
| KEY | BankInternalID | bankl | ||
| CreationDate | erdat | |||
| CreatedByUser | ernam | |||
| BankName | banka | |||
| Region | provz | |||
| StreetName | stras | |||
| CityName | ort01 | |||
| SWIFTCode | swift | |||
| BankNetworkGrouping | bgrup | |||
| IsPostBankAccount | xpgro | |||
| IsMarkedForDeletion | loevm | |||
| Bank | bnklz | |||
| PostOfficeBankAccount | pskto | |||
| Branch | brnch | |||
| CheckDigitCalculationMethod | chkme | |||
| BankDataFileFormat | vers | |||
| AddressID | adrnr | |||
| _Address | _Address | |||
| _Region | _Region | |||
| _Country | _Country | |||
| _AddressDefaultRepresentation | _AddressDefaultRepresentation |
@AbapCatalog.sqlViewName: 'IBANKFORBP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Bank Master for Business Partner'
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'BankInternalID'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #B
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.privilegedAssociations: [ '_Address', '_AddressDefaultRepresentation' ]
@Search.searchable: true
define view I_BankForBusinessPartner
as select from bnka
association [0..1] to I_Address as _Address on $projection.AddressID = _Address.AddressID
association [0..1] to I_Region as _Region on $projection.Region = _Region.Region
and $projection.BankCountry = _Region.Country
association [0..1] to I_Country as _Country on $projection.BankCountry = _Country.Country
association [0..1] to I_OrganizationAddress as _AddressDefaultRepresentation on $projection.AddressID = _AddressDefaultRepresentation.AddressID
and _AddressDefaultRepresentation.AddressRepresentationCode is initial
{
@ObjectModel.foreignKey.association: '_Country'
key banks as BankCountry,
@ObjectModel.text.element: 'BankName'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
key bankl as BankInternalID,
erdat as CreationDate,
ernam as CreatedByUser,
@Semantics.text: true
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,
_Address,
_Region,
_Country,
_AddressDefaultRepresentation
}
where
loevm = ''
or loevm = ' ';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BNKA"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_COUNTRY",
"I_ORGANIZATIONADDRESS",
"I_REGION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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