C_BusinessPartnerBank

DDL: C_BUSINESSPARTNERBANK SQL: CBUPABANK Type: view CONSUMPTION

BP Bank Consumption View

C_BusinessPartnerBank is a Consumption CDS View that provides data about "BP Bank Consumption View" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartnerBankTP) and exposes 30 fields with key fields BankIdentification, BusinessPartner. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BusinessPartnerBankTP BusinessPartnerBank from

Associations (6)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[1..1] C_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner
[0..*] C_Countrytextvhtemp _BankCountryText $projection.BankCountryKey = _BankCountryText.Country
[1..1] I_PaymentSystemValueHelp _PaymentSystemVH $projection. PaymentSystem = _PaymentSystemVH. PaymentSystem
[1..1] I_PaytSystToAliasTypeValueHelp _AliasTypeVH $projection.PaymentSystem = _AliasTypeVH.PaymentSystem and $projection.AliasType = _AliasTypeVH.AliasType

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CBUPABANK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label BP Bank Consumption View view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.writeEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
UI.headerInfo.typeName Bank Account view
UI.headerInfo.typeNamePlural Bank Accounts view
UI.headerInfo.title.label Bank Details ID view
UI.headerInfo.title.value BankIdentificationForEdit view
VDM.viewType #CONSUMPTION view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY BankIdentification I_BusinessPartnerBankTP BankIdentification Bank Details
KEY BusinessPartner I_BusinessPartnerBankTP BusinessPartner Issuing Authority
BusinessPartnerForEdit I_BusinessPartnerBankTP BusinessPartnerForEdit Busn. Partner
BankIdentificationForEdit I_BusinessPartnerBankTP BankIdentificationForEdit Bank Details
BankCountryKey I_BusinessPartnerBankTP BankCountryKey Bank Ctry/Reg.
BankNumber I_BusinessPartnerBankTP BankNumber Bank Key
BankName I_BusinessPartnerBankTP BankName Bank Name
BankControlKey I_BusinessPartnerBankTP BankControlKey Control Key
BankAccountHolderName I_BusinessPartnerBankTP BankAccountHolderName Account Holder
BankAccountName I_BusinessPartnerBankTP BankAccountName Account Name
IBAN I_BusinessPartnerBankTP IBAN IBAN House Bank
IBANValidityStartDate I_BusinessPartnerBankTP IBANValidityStartDate IBAN Valid From
BankAccount I_BusinessPartnerBankTP BankAccount Bank acct
BankValidityStartDate I_BusinessPartnerBankTP BankValidityStartDate
BankValidityEndDate I_BusinessPartnerBankTP BankValidityEndDate
BankAccountReferenceText I_BusinessPartnerBankTP BankAccountReferenceText Reference
CollectionAuthInd I_BusinessPartnerBankTP CollectionAuthInd Collect.author.
BPBankIsProtected I_BusinessPartnerBankTP BPBankIsProtected Sensitivity
SWIFTCode I_BusinessPartnerBankTP SWIFTCode SWIFT/BIC
PaymentSystem I_BusinessPartnerBankTP PaymentSystem Payment System
AliasType I_BusinessPartnerBankTP AliasType Alias Type
BPBankAccountAliasName I_BusinessPartnerBankTP BPBankAccountAliasName Bank Account Alias
PaymentSystemText _PaymentSystemVH PaymentSystemText
AliasTypeText _AliasTypeVH AliasTypeText
_BusinessPartnerSupplier _BusinessPartnerSupplier
_BusinessPartnerCustomer _BusinessPartnerCustomer
_BusinessPartner _BusinessPartner
_BankCountryText _BankCountryText
_PaymentSystemVH _PaymentSystemVH
_AliasTypeVH _AliasTypeVH

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 C_BusinessPartnerBank.
-- 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: CBUPABANK

CREATE VIEW C_BusinessPartnerBank AS
SELECT
  BusinessPartnerBank.BankIdentification AS BankIdentification,
  BusinessPartnerBank.BusinessPartner AS BusinessPartner,
  BusinessPartnerBank.BusinessPartnerForEdit AS BusinessPartnerForEdit,
  BusinessPartnerBank.BankIdentificationForEdit AS BankIdentificationForEdit,
  BusinessPartnerBank.BankCountryKey AS BankCountryKey,
  BusinessPartnerBank.BankNumber AS BankNumber,
  BusinessPartnerBank.BankName AS BankName,
  BusinessPartnerBank.BankControlKey AS BankControlKey,
  BusinessPartnerBank.BankAccountHolderName AS BankAccountHolderName,
  BusinessPartnerBank.BankAccountName AS BankAccountName,
  BusinessPartnerBank.IBAN AS IBAN,
  BusinessPartnerBank.IBANValidityStartDate AS IBANValidityStartDate,
  BusinessPartnerBank.BankAccount AS BankAccount,
  BusinessPartnerBank.BankValidityStartDate AS BankValidityStartDate,
  BusinessPartnerBank.BankValidityEndDate AS BankValidityEndDate,
  BusinessPartnerBank.BankAccountReferenceText AS BankAccountReferenceText,
  BusinessPartnerBank.CollectionAuthInd AS CollectionAuthInd,
  BusinessPartnerBank.BPBankIsProtected AS BPBankIsProtected,
  BusinessPartnerBank.SWIFTCode AS SWIFTCode,
  BusinessPartnerBank.PaymentSystem AS PaymentSystem,
  BusinessPartnerBank.AliasType AS AliasType,
  BusinessPartnerBank.BPBankAccountAliasName AS BPBankAccountAliasName,
  _PaymentSystemVH.PaymentSystemText AS PaymentSystemText,
  _AliasTypeVH.AliasTypeText AS AliasTypeText
FROM I_BusinessPartnerBankTP AS BusinessPartnerBank
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_Countrytextvhtemp AS _BankCountryText ON BankCountryKey = _BankCountryText.Country  -- association [0..*]
LEFT OUTER JOIN I_PaymentSystemValueHelp AS _PaymentSystemVH ON PaymentSystem = _PaymentSystemVH. PaymentSystem  -- association [1..1]
LEFT OUTER JOIN I_PaytSystToAliasTypeValueHelp AS _AliasTypeVH ON PaymentSystem = _AliasTypeVH.PaymentSystem AND AliasType = _AliasTypeVH.AliasType  -- association [1..1]
;