R_BankTP

DDL: R_BANKTP Type: view_entity TRANSACTIONAL Package: RAP_BF_BANK_BO

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)

SourceAliasJoin Type
I_BankEnhanced Bank from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;