P_BPBankAccountNumberForIBAN

DDL: P_BPBANKACCOUNTNUMBERFORIBAN Type: view_entity

Long Bank Account Number for IBAN

P_BPBankAccountNumberForIBAN is a CDS View that provides data about "Long Bank Account Number for IBAN" in SAP S/4HANA. It reads from 1 data source (but0bk) and exposes 6 fields with key fields BusinessPartner, BankIdentification. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
but0bk but0bk from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartnerIBAN _IBAN $projection.AccountNumberOrIBAN = _IBAN.BankAccount and $projection.BankNumber = _IBAN.Bank and $projection.BankCountryKey = _IBAN.BankCountry and $projection.BankControlKey = _IBAN.BankControlKey

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Long Bank Account Number for IBAN view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner With Partner
KEY BankIdentification bkvid Bank Details
BankCountryKey banks Bank Ctry/Rgn. Key
BankNumber bankl House Bank
BankControlKey bkont To Account
_IBAN _IBAN

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 P_BPBankAccountNumberForIBAN.
-- 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 P_BPBankAccountNumberForIBAN AS
SELECT
  partner AS BusinessPartner,
  bkvid AS BankIdentification,
  banks AS BankCountryKey,
  bankl AS BankNumber,
  bkont AS BankControlKey
FROM but0bk
LEFT OUTER JOIN I_BusinessPartnerIBAN AS _IBAN ON AccountNumberOrIBAN = _IBAN.BankAccount AND BankNumber = _IBAN.Bank AND BankCountryKey = _IBAN.BankCountry AND BankControlKey = _IBAN.BankControlKey  -- association [0..1]
;