Fclm_Bm_Used_Bp

DDL: FCLM_BM_USED_BP SQL: VFCLM_USEDBP Type: view

Used business partner for banks

Fclm_Bm_Used_Bp is a CDS View that provides data about "Used business partner for banks" in SAP S/4HANA. It reads from 1 data source (I_CashBankBusinessPartnerUsed) and exposes 11 fields with key fields BpNumber, BankCountry, BankInternalId. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CashBankBusinessPartnerUsed BPAddress from

Parameters (1)

NameTypeDefault
p_spras sylangu

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Bank_2 _Bank $projection.BankCountry = _Bank.BankCountry and $projection.BankInternalId = _Bank.BankInternalID
[1..1] I_CountryText _Country $projection.BankCountry = _Country.Country and _Country.Language = $parameters.p_spras
[1..1] I_CountryText _AddrCountry $projection.AddressCountry = _AddrCountry.Country and _AddrCountry.Language = $parameters.p_spras

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName VFCLM_USEDBP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Used business partner for banks view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY BpNumber I_CashBankBusinessPartnerUsed BusinessPartnerNumber Issuing Authority
KEY BankCountry I_CashBankBusinessPartnerUsed BankCountry Bank Ctry/Rgn. Key
KEY BankInternalId I_CashBankBusinessPartnerUsed BankInternalID Bank Key
BpName BusinessPartnerName Extracted Customer Name
BankName _Bank BankName Bank Name
CountryName _Country CountryName Country
BpRoleDescription Role and description
AddressCountry AddressCountry Country/Reg.
AddressCountryText _AddrCountry CountryName Country
AddressCity AddressCityName City
_BusinessPartner _BusinessPartner

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 Fclm_Bm_Used_Bp.
-- 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: VFCLM_USEDBP
-- Parameters: p_spras : sylangu

CREATE VIEW Fclm_Bm_Used_Bp AS
SELECT
  BPAddress.BusinessPartnerNumber AS BpNumber,
  BPAddress.BankCountry AS BankCountry,
  BPAddress.BankInternalID AS BankInternalId,
  BusinessPartnerName AS BpName,
  _Bank.BankName AS BankName,
  _Country.CountryName AS CountryName,
  cast('' as abap.char( 255 )) AS BpRoleDescription,
  AddressCountry,
  _AddrCountry.CountryName AS AddressCountryText,
  AddressCityName AS AddressCity
FROM I_CashBankBusinessPartnerUsed AS BPAddress
LEFT OUTER JOIN I_Bank_2 AS _Bank ON BankCountry = _Bank.BankCountry AND BankInternalId = _Bank.BankInternalID  -- association [1..1]
LEFT OUTER JOIN I_CountryText AS _Country ON BankCountry = _Country.Country AND _Country.Language = $parameters.p_spras  -- association [1..1]
LEFT OUTER JOIN I_CountryText AS _AddrCountry ON AddressCountry = _AddrCountry.Country AND _AddrCountry.Language = $parameters.p_spras  -- association [1..1]
;