P_SupplierBankType

DDL: P_SUPPLIERBANKTYPE SQL: IFISUPBANKTYPE Type: view BASIC

P_SupplierBankType is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (lfbk) and exposes 9 fields with key fields SupplierBankType, InvoicingParty, BankCountry, BankKey, BankAccount. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
lfbk lfbk from

Associations (3)

CardinalityTargetAliasCondition
[1..1] tiban _IBAN $projection.BankCountry = _IBAN.banks and $projection.BankKey = _IBAN.bankl and $projection.BankAccount = _IBAN.bankn and $projection.BankControl = _IBAN.bkont
[1..1] bnka _SWIFT $projection.BankCountry = _SWIFT.banks and $projection.BankKey = _SWIFT.bankl
[1..1] I_Supplier _Supplier $projection.InvoicingParty = _Supplier.Supplier

Annotations (16)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AbapCatalog.sqlViewName IFISUPBANKTYPE view
ObjectModel.representativeKey SupplierBankType view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.buffering.numberOfKeyFields 1 view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SupplierBankType lfbk bvtyp Part.bank type
KEY InvoicingParty lfbk lifnr Vendor no.
KEY BankCountry lfbk banks Bank Ctry/Rgn. Key
KEY BankKey lfbk bankl House Bank
KEY BankAccount lfbk bankn Bank acct
KEY BankControl lfbk bkont To Account
IBAN _IBAN iban IBAN House Bank
SWIFTCode _SWIFT swift SWIFT/BIC
_Supplier _Supplier

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_SupplierBankType.
-- 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: IFISUPBANKTYPE

CREATE VIEW P_SupplierBankType AS
SELECT
  lfbk.bvtyp AS SupplierBankType,
  lfbk.lifnr AS InvoicingParty,
  lfbk.banks AS BankCountry,
  lfbk.bankl AS BankKey,
  lfbk.bankn AS BankAccount,
  lfbk.bkont AS BankControl,
  _IBAN.iban AS IBAN,
  _SWIFT.swift AS SWIFTCode
FROM lfbk
LEFT OUTER JOIN tiban AS _IBAN ON BankCountry = _IBAN.banks AND BankKey = _IBAN.bankl AND BankAccount = _IBAN.bankn AND BankControl = _IBAN.bkont  -- association [1..1]
LEFT OUTER JOIN bnka AS _SWIFT ON BankCountry = _SWIFT.banks AND BankKey = _SWIFT.bankl  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON InvoicingParty = _Supplier.Supplier  -- association [1..1]
;