Deprecated
This CDS view is deprecated in S/4HANA. Use I_BANK_2 instead. View all deprecated CDS views →

I_Bank

DDL: I_BANK SQL: IFIBANKMASTER Type: view BASIC

Bank

I_Bank (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Bank · Financial Operations

I_Bank is a Basic CDS View (Dimension) that provides data about "Bank" in SAP S/4HANA. It reads from 1 data source (bnka) and exposes 28 fields with key fields BankCountry, BankInternalID. It has 6 associations to related views.

SAP Help Documentation

CategoryCDS Views for Cash and Liquidity Management
Data CategoryDimension
StatusReleased
Purpose
This CDS view allows you to read information about bank master data from your SAP S/4HANA system. This CDS view provides the prerequisites for answering the following business question: What is the name of the bank with its specific bank internal ID, bank number, or bank identifier code?

Structure
Object types This view relates to the following SAP object type: Bank

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-CLM
CapabilitiesData Source for Defining CDS Entities
PackageFinancial Operations for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view allows you to read information about bank master data from your SAP S/4HANA system.</p> <p>This CDS view provides the prerequisites for answering the following business question:</p> <ul> <li><p>What is the name of the bank with its specific bank internal ID, bank number, or bank identifier code?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
bnka bnka from

Associations (6)

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..*] I_Housebank _HouseBank $projection.Bank = _HouseBank.HouseBank and $projection.BankCountry = _HouseBank.BankCountry
[0..1] I_Country _Country $projection.BankCountry = _Country.Country
[0..1] I_BankAdditionalFields _BankAdditionalFields $projection.BankCountry = _BankAdditionalFields.BankCountry and $projection.BankInternalID = _BankAdditionalFields.BankInternalID
[0..1] I_BankIntraStaRule _IntradayRule $projection.BankCountry = _IntradayRule.BankCountry and $projection.BankInternalID = _IntradayRule.BankInternalID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IFIBANKMASTER view
EndUserText.label Bank view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_BANK_2 view
ObjectModel.representativeKey BankInternalID view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Search.searchable true view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name Bank view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY BankCountry banks Bank Country/Region Key
KEY BankInternalID bankl House Bank
CreationDate erdat Record Created On
CreatedByUser ernam Name of person who created the object
BankName banka Name of Financial Institution
Region provz Region (State, Province, County)
StreetName stras Street and House Number
ShortStreetName stras Street and House Number
CityName ort01 Province
ShortCityName ort01 Province
SWIFTCode swift SWIFT/BIC for International Payments
BankGroup bgrup Bank group (bank network)
BankNetworkGrouping bgrup Bank group (bank network)
IsPostBankAccount xpgro Post Office Bank Current Account
IsMarkedForDeletion loevm Deletion Indicator
Bank bnklz Bank Number
PostOfficeBankAccount pskto Post office bank current account number
Branch brnch Business Place
BankBranch brnch Business Place
CheckDigitCalculationMethod chkme Check digit calculation method
BankDataFileFormat vers Format of File with Bank Data
AddressID adrnr Sold-To Address
_Address _Address
_Region _Region
_HouseBank _HouseBank
_Country _Country
_BankAdditionalFields _BankAdditionalFields
_IntradayRule _IntradayRule

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_Bank.
-- 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: IFIBANKMASTER

CREATE VIEW I_Bank AS
SELECT
  banks AS BankCountry,
  bankl AS BankInternalID,
  erdat AS CreationDate,
  ernam AS CreatedByUser,
  banka AS BankName,
  provz AS Region,
  stras AS StreetName,
  stras AS ShortStreetName,
  ort01 AS CityName,
  ort01 AS ShortCityName,
  swift AS SWIFTCode,
  bgrup AS BankGroup,
  bgrup AS BankNetworkGrouping,
  xpgro AS IsPostBankAccount,
  loevm AS IsMarkedForDeletion,
  bnklz AS Bank,
  pskto AS PostOfficeBankAccount,
  brnch AS Branch,
  brnch AS BankBranch,
  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_Housebank AS _HouseBank ON Bank = _HouseBank.HouseBank AND BankCountry = _HouseBank.BankCountry  -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON BankCountry = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_BankAdditionalFields AS _BankAdditionalFields ON BankCountry = _BankAdditionalFields.BankCountry AND BankInternalID = _BankAdditionalFields.BankInternalID  -- association [0..1]
LEFT OUTER JOIN I_BankIntraStaRule AS _IntradayRule ON BankCountry = _IntradayRule.BankCountry AND BankInternalID = _IntradayRule.BankInternalID  -- association [0..1]
;