R_BankTP
Transactional Bank
R_BankTP is a Transactional CDS View that provides data about "Transactional Bank" in SAP S/4HANA. It reads from 1 data source (I_BankEnhanced) and exposes 37 fields with key fields BankCountry, BankInternalID. It has 4 associations to related views. Part of development package RAP_BF_BANK_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BankEnhanced | Bank | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BankCategoryVH | _BankCategory | $projection.BankCategory = _BankCategory.BankCategory |
| [1..1] | E_Bank | _Extension | $projection.BankCountry = _Extension.BankCountry and $projection.BankInternalID = _Extension.BankInternalID |
| [1..1] | I_BankCountryFieldCheck | _CountryFieldCheck | $projection.BankCountry = _CountryFieldCheck.BankCountry |
| [1..1] | R_BankAddressTP | _BankAddress | |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| Search.searchable | false | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | BNK | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 500 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 5000 | view | |
| AbapCatalog.extensibility.allowNewCompositions | true | view | |
| ObjectModel.sapObjectNodeType.name | Bank | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Transactional Bank | view |
Fields (37)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankCountry | BankCountry | Bank Ctry/Rgn. Key | |
| KEY | BankInternalID | BankInternalID | Bank Key | |
| BankName | BankName | Bank Name | ||
| LongBankName | LongBankName | |||
| BankBranch | BankBranch | |||
| LongBankBranch | LongBankBranch | |||
| ShortStreetName | ShortStreetName | |||
| StreetName | StreetName | Text | ||
| ShortCityName | ShortCityName | |||
| CityName | CityName | Name | ||
| Region | Region | Venue Region | ||
| AddressRegion | AddressRegion | Region | ||
| SWIFTCode | SWIFTCode | SWIFT/BIC | ||
| BankNetworkGrouping | BankNetworkGrouping | |||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| BankNumber | BankNumber | Bank Key | ||
| CheckDigitCalculationMethod | CheckDigitCalculationMethod | |||
| AddressID | AddressID | Ship-to address | ||
| BankDataFileFormat | BankDataFileFormat | |||
| BankCategory | BankCategory | |||
| BankCategoryDescription | _BankCategory | BankCategoryDescription | ||
| BankChangeDocument | ||||
| BankAddressChangeDocument | ||||
| LongBankBranchIsHidden | ||||
| BankNumberIsHidden | ||||
| SWIFTCodeIsHidden | ||||
| BankNetworkGroupingIsHidden | ||||
| BankAddressIsHidden | ||||
| BankScriptedAddressIsHidden | ||||
| BankCategoryIsHidden | ||||
| BankCountryCheckKey | _CountryFieldCheck | BankCountryCheckKey | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| _BankAddress | _BankAddress | |||
| _Region | _Region | |||
| _BankCategory | _BankCategory | |||
| _Country | _Country |
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 R_BankTP.
-- 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.
CREATE VIEW R_BankTP AS
SELECT
BankCountry,
BankInternalID,
BankName,
LongBankName,
BankBranch,
LongBankBranch,
ShortStreetName,
StreetName,
ShortCityName,
CityName,
Region,
AddressRegion,
SWIFTCode,
BankNetworkGrouping,
IsMarkedForDeletion,
BankNumber,
CheckDigitCalculationMethod,
AddressID,
BankDataFileFormat,
BankCategory,
_BankCategory.BankCategoryDescription AS BankCategoryDescription,
cast ( concat_with_space( concat( $session.client , BankCountry ), BankInternalID, 1 ) as bf_bank_change_dodument ) AS BankChangeDocument,
cast ( concat( 'CA02', AddressID ) as bf_bank_address_change_doc ) AS BankAddressChangeDocument,
abap.char' ' AS LongBankBranchIsHidden,
abap.char' ' AS BankNumberIsHidden,
abap.char' ' AS SWIFTCodeIsHidden,
abap.char' ' AS BankNetworkGroupingIsHidden,
abap.char' ' AS BankAddressIsHidden,
abap.char' ' AS BankScriptedAddressIsHidden,
abap.char' ' AS BankCategoryIsHidden,
_CountryFieldCheck.BankCountryCheckKey AS BankCountryCheckKey,
CreationDate,
CreatedByUser
FROM I_BankEnhanced AS Bank
LEFT OUTER JOIN C_BankCategoryVH AS _BankCategory ON BankCategory = _BankCategory.BankCategory -- association [1..1]
LEFT OUTER JOIN E_Bank AS _Extension ON BankCountry = _Extension.BankCountry AND BankInternalID = _Extension.BankInternalID -- association [1..1]
LEFT OUTER JOIN I_BankCountryFieldCheck AS _CountryFieldCheck ON BankCountry = _CountryFieldCheck.BankCountry -- association [1..1]
LEFT OUTER JOIN R_BankAddressTP AS _BankAddress ON /* condition not available in parsed metadata */ -- association [1..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