Fclm_Bm_Contacts
Contact person for bank
Fclm_Bm_Contacts is a CDS View that provides data about "Contact person for bank" in SAP S/4HANA. It reads from 8 data sources and exposes 35 fields with key fields BusinessPartnerNo, ContactPersonNo, RELNR, BankCountry, BankInternalId. It has 11 associations to related views.
Data Sources (8)
Parameters (1)
| Name | Type | Default |
|---|---|---|
| p_spras | sylangu |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Address_2 | _address | _address.AddressID = $projection.AddressId |
| [0..1] | I_AddressPhoneNumber_2 | _PhoneNumber | _PhoneNumber.AddressID = $projection.AddressId and _PhoneNumber.AddressPersonID = $projection.persnumber and _PhoneNumber.PhoneNumberType = '1' |
| [0..1] | I_AddressPhoneNumber_2 | _MobilePhoneNumber | _MobilePhoneNumber.AddressID = $projection.AddressId and _MobilePhoneNumber.AddressPersonID = $projection.persnumber and _MobilePhoneNumber.PhoneNumberType = '3' |
| [0..1] | I_AddressFaxNumber_2 | _FaxNumber | _FaxNumber.AddressID = $projection.AddressId and _FaxNumber.AddressPersonID = $projection.persnumber and _FaxNumber.FaxNumberIsCurrentDefault = 'X' |
| [0..1] | I_AddressEmailAddress_2 | _EmailAddress | _EmailAddress.AddressID = $projection.AddressId and _EmailAddress.AddressPersonID = $projection.persnumber and _EmailAddress.EmailAddressIsCurrentDefault = 'X' |
| [0..1] | tb913 | _Function | _Function.pafkt = but051.pafkt and _Function.spras = $parameters.p_spras |
| [0..1] | tb911 | _Department | _Department.abtnr = but051.abtnr and _Department.spras = $parameters.p_spras |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartnerNo = _BusinessPartner.BusinessPartner |
| [0..1] | I_BusinessPartner | _ContactBusinessPartner | $projection.ContactPersonNo = _ContactBusinessPartner.BusinessPartner |
| [0..1] | I_Bank | _Bank | $projection.BankCountry = _Bank.BankCountry and $projection.BankInternalId = _Bank.BankInternalID |
| [0..1] | I_CountryText | _Country | $projection.BankCountry = _Country.Country and _Country.Language = $parameters.p_spras |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VFCLM_BM_CONTACT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| EndUserText.label | Contact person for bank | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartnerNo | I_RiskBusinessPartner | BusinessPartnerNumber | With Partner |
| KEY | ContactPersonNo | but000 | partner | With Partner |
| KEY | RELNR | relnr | BP Rel. Number | |
| KEY | BankCountry | I_RiskBusinessPartner | BankCountry | Bank Ctry/Rgn. Key |
| KEY | BankInternalId | I_RiskBusinessPartner | BankInternalID | Bank Key |
| BankName | _Bank | BankName | Bank Name | |
| CountryName | _Country | CountryName | Country | |
| AddressId | but020 | addrnumber | Address Number | |
| Title | tsad3 | title | View Title | |
| FirstName | but000 | name_first | First Name | |
| LastName | but000 | name_last | Last Name | |
| BIRTHDT | but000 | birthdt | Date of Birth | |
| Function | but051 | pafkt | Function | |
| Department | but051 | abtnr | Department | |
| Role | but100 | rltyp | Return type | |
| persnumber | adcp | persnumber | Person Number | |
| TelephoneNumber | _PhoneNumber | PhoneAreaCodeSubscriberNumber | Telephone | |
| MobileNumber | _MobilePhoneNumber | PhoneAreaCodeSubscriberNumber | Telephone | |
| FaxNumber | _FaxNumber | FaxAreaCodeSubscriberNumber | Fax | |
| EmailAddress | _EmailAddress | EmailAddress | E-Mail Address | |
| AddressCountry | _address | Country | Venue: Ctry/Reg | |
| State | _address | Region | Venue Region | |
| Street | _address | StreetName | Text | |
| HouseNumber | _address | HouseNumber | House Number | |
| AddressCity | _address | CityName | Name | |
| PostalCode | _address | PostalCode | Postal Code | |
| Building | _address | Building | Building code | |
| Floor | _address | Floor | Floor | |
| RoomNumber | _address | RoomNumber | Room Number | |
| FunctionName | _Function | bez30 | Description | |
| DepartmentName | _Department | bez20 | Short name | |
| BusinessPartnerFullName | _BusinessPartner | BusinessPartnerFullName | Business Partner Name | |
| ContactBusinessNoFullname | _ContactBusinessPartner | BusinessPartnerFullName | Broker Name | |
| IsCntctPurposeCompleted | _ContactBusinessPartner | IsBusinessPurposeCompleted | Purpose Completed | |
| IsBusinessPurposeCompleted |
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_Contacts.
-- 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_BM_CONTACT
-- Parameters: p_spras : sylangu
CREATE VIEW Fclm_Bm_Contacts AS
SELECT
_RiskPartner.BusinessPartnerNumber AS BusinessPartnerNo,
but000.partner AS ContactPersonNo,
RELNR,
_RiskPartner.BankCountry AS BankCountry,
_RiskPartner.BankInternalID AS BankInternalId,
_Bank.BankName AS BankName,
_Country.CountryName AS CountryName,
but020.addrnumber AS AddressId,
tsad3.title AS Title,
but000.name_first AS FirstName,
but000.name_last AS LastName,
but000.birthdt AS BIRTHDT,
but051.pafkt AS Function,
but051.abtnr AS Department,
but100.rltyp AS Role,
adcp.persnumber AS persnumber,
_PhoneNumber.PhoneAreaCodeSubscriberNumber AS TelephoneNumber,
_MobilePhoneNumber.PhoneAreaCodeSubscriberNumber AS MobileNumber,
_FaxNumber.FaxAreaCodeSubscriberNumber AS FaxNumber,
_EmailAddress.EmailAddress AS EmailAddress,
_address.Country AS AddressCountry,
_address.Region AS State,
_address.StreetName AS Street,
_address.HouseNumber AS HouseNumber,
_address.CityName AS AddressCity,
_address.PostalCode AS PostalCode,
_address.Building AS Building,
_address.Floor AS Floor,
_address.RoomNumber AS RoomNumber,
_Function.bez30 AS FunctionName,
_Department.bez20 AS DepartmentName,
_BusinessPartner.BusinessPartnerFullName AS BusinessPartnerFullName,
_ContactBusinessPartner.BusinessPartnerFullName AS ContactBusinessNoFullname,
_ContactBusinessPartner.IsBusinessPurposeCompleted AS IsCntctPurposeCompleted,
_RiskPartner._BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_RiskBusinessPartner AS _RiskPartner
INNER JOIN but051 ON /* join condition not captured in parsed metadata */
INNER JOIN but000 ON /* join condition not captured in parsed metadata */
INNER JOIN but100 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN but020 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tsad3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN adrc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN adcp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Address_2 AS _address ON _address.AddressID = AddressId -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _PhoneNumber ON _PhoneNumber.AddressID = AddressId AND _PhoneNumber.AddressPersonID = persnumber AND _PhoneNumber.PhoneNumberType = '1' -- association [0..1]
LEFT OUTER JOIN I_AddressPhoneNumber_2 AS _MobilePhoneNumber ON _MobilePhoneNumber.AddressID = AddressId AND _MobilePhoneNumber.AddressPersonID = persnumber AND _MobilePhoneNumber.PhoneNumberType = '3' -- association [0..1]
LEFT OUTER JOIN I_AddressFaxNumber_2 AS _FaxNumber ON _FaxNumber.AddressID = AddressId AND _FaxNumber.AddressPersonID = persnumber AND _FaxNumber.FaxNumberIsCurrentDefault = 'X' -- association [0..1]
LEFT OUTER JOIN I_AddressEmailAddress_2 AS _EmailAddress ON _EmailAddress.AddressID = AddressId AND _EmailAddress.AddressPersonID = persnumber AND _EmailAddress.EmailAddressIsCurrentDefault = 'X' -- association [0..1]
LEFT OUTER JOIN tb913 AS _Function ON _Function.pafkt = but051.pafkt AND _Function.spras = $parameters.p_spras -- association [0..1]
LEFT OUTER JOIN tb911 AS _Department ON _Department.abtnr = but051.abtnr AND _Department.spras = $parameters.p_spras -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartnerNo = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _ContactBusinessPartner ON ContactPersonNo = _ContactBusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_Bank AS _Bank ON BankCountry = _Bank.BankCountry AND BankInternalId = _Bank.BankInternalID -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _Country ON BankCountry = _Country.Country AND _Country.Language = $parameters.p_spras -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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