P_SupplierBankType
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)
| Source | Alias | Join Type |
|---|---|---|
| lfbk | lfbk | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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