C_BPTelephoneNumber

DDL: C_BPTELEPHONENUMBER SQL: CBPTELEPHONENO Type: view CONSUMPTION

BP Telephone Number Consumption view

C_BPTelephoneNumber is a Consumption CDS View that provides data about "BP Telephone Number Consumption view" in SAP S/4HANA. It reads from 1 data source (I_BPTelephoneNumberTP) and exposes 15 fields with key fields BusinessPartner, AddressID, Person, OrdinalNumber. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPTelephoneNumberTP BPTelephoneNumber from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartnerAddress _BusinessPartnerAddress $projection.BusinessPartner = _BusinessPartnerAddress.BusinessPartner and $projection.AddressID = _BusinessPartnerAddress.AddressNumber
[1..1] C_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[0..1] C_TelephoneCountryVHTemp _TelCntryPrefixValueHelp $projection.DestinationLocationCountry = _TelCntryPrefixValueHelp.Country

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CBPTELEPHONENO view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label BP Telephone Number Consumption view view
Metadata.allowExtensions true view
ObjectModel.type #CONSUMPTION view
ObjectModel.writeEnabled true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.viewType #CONSUMPTION view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BPTelephoneNumberTP BusinessPartner Issuing Authority
KEY AddressID I_BPTelephoneNumberTP AddressID Ship-to address
KEY Person I_BPTelephoneNumberTP Person Person/ Farm/ Field
KEY OrdinalNumber I_BPTelephoneNumberTP OrdinalNumber Sequence Number
DestinationLocationCountry I_BPTelephoneNumberTP DestinationLocationCountry Country/Region
TelephoneCountryPrefix _TelCntryPrefixValueHelp TelephoneCountryPrefix Tel. to
PhoneNumber I_BPTelephoneNumberTP PhoneNumber Telephone no.
PhoneNumberExtension I_BPTelephoneNumberTP PhoneNumberExtension Extension
IsDefaultPhoneNumber I_BPTelephoneNumberTP IsDefaultPhoneNumber TRUE
AddressCommunicationRemarkText I_BPTelephoneNumberTP AddressCommunicationRemarkText Notes
_BusinessPartnerAddress _BusinessPartnerAddress
_BusinessPartnerSupplier _BusinessPartnerSupplier
_BusinessPartnerCustomer _BusinessPartnerCustomer
_BusinessPartner _BusinessPartner
_TelCntryPrefixValueHelp _TelCntryPrefixValueHelp

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 C_BPTelephoneNumber.
-- 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: CBPTELEPHONENO

CREATE VIEW C_BPTelephoneNumber AS
SELECT
  BPTelephoneNumber.BusinessPartner AS BusinessPartner,
  BPTelephoneNumber.AddressID AS AddressID,
  BPTelephoneNumber.Person AS Person,
  BPTelephoneNumber.OrdinalNumber AS OrdinalNumber,
  BPTelephoneNumber.DestinationLocationCountry AS DestinationLocationCountry,
  _TelCntryPrefixValueHelp.TelephoneCountryPrefix AS TelephoneCountryPrefix,
  BPTelephoneNumber.PhoneNumber AS PhoneNumber,
  BPTelephoneNumber.PhoneNumberExtension AS PhoneNumberExtension,
  BPTelephoneNumber.IsDefaultPhoneNumber AS IsDefaultPhoneNumber,
  BPTelephoneNumber.AddressCommunicationRemarkText AS AddressCommunicationRemarkText
FROM I_BPTelephoneNumberTP AS BPTelephoneNumber
LEFT OUTER JOIN C_BusinessPartnerAddress AS _BusinessPartnerAddress ON BusinessPartner = _BusinessPartnerAddress.BusinessPartner AND AddressID = _BusinessPartnerAddress.AddressNumber  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_TelephoneCountryVHTemp AS _TelCntryPrefixValueHelp ON DestinationLocationCountry = _TelCntryPrefixValueHelp.Country  -- association [0..1]
;