I_BPAddressIndependentPhone

DDL: I_BPADDRESSINDEPENDENTPHONE SQL: IBPADDRINDPHONE Type: view BASIC Package: VDM_MD_BP_BASE

Core view for address independent phone

I_BPAddressIndependentPhone (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Database & Data Management

I_BPAddressIndependentPhone is a Basic CDS View that provides data about "Core view for address independent phone" in SAP S/4HANA. It reads from 1 data source (I_AddressPhoneNumber_2) and exposes 20 fields with key fields BusinessPartner, AddressID, Person, OrdinalNumber. It has 1 association to related views. Part of development package VDM_MD_BP_BASE.

SAP Help Documentation

CategoryCDS Views for Business Partner
Purpose
This CDS view provides access to business partner telephone number information that is independent of specific address assignments. It contains comprehensive phone number data including international formats, extensions, validity periods, and various phone number attributes such as SMS capability and default phone number indicators. This CDS view provides the data to answer the following business questions: What are all the telephone numbers maintained for address-independent communication? Which telephone numbers are marked as default? What is the validity period for each telephone number in the system? Which telephone numbers are SMS-enabled for communication purposes? What are the international telephone number formats for business partner contacts? Which telephone numbers have been marked as "do not use"? What extensions are associated with specific telephone numbers? What is the country/region destination for each telephone number? Which telephone numbers are currently valid based on their validity start and end dates? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: RESTRICTION_TYPE_ID RESTRICTION_TYPE B_BUP_DCPD Business Partner Processing BEGRU_BUPA_GRP Authorization Group for Business Partners

Structure
Important Fields Important fields in this view include the following: Field Name Description PHONENUMBER Unique numerical identifier that is associated with a telephone device for calling purposes. PHONENUMBEREXTENSION Extension number INTERNATIONALPHONENUMBER Combination of country code and the telephone number DESTINATIONLOCATIONCOUNTRY Country where the telephone number is located. ISDEFAULTPHONENUMBER Identifies the default telephone number PHONEISSMSENABLED Identifies if contacting the telephone number via SMS is enabled or not. VALIDITYSTARTDATETIME Time on a specific date from when the telephone number is valid in the system. VALIDITYENDDATETIME Time on a specific date until when the telephone number is valid in the system. ADDRESSCOMMUNICATIONREMARKTEXT Additional information about the mobile phone number VALIDITYSTARTDATE Date from when the telephone number is valid in the system. VALIDITYENDDATE Date until when the telephone number is valid in the system. ORDINALNUMBER The number which identifies a specific telephone number, if there are more than one telephone numbers.

Data Extraction
Data Extraction Type This CDS view is not enabled for data extraction.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessDatabase & Data Management
Application ComponentAP-MD-BP
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_AddressPhoneNumber_2 BPAddressIndependentPhone from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.AddressID = _BusinessPartner.IndependentAddressID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IBPADDRINDPHONE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Core view for address independent phone view
ObjectModel.representativeKey AddressID view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner _BusinessPartner BusinessPartner Business Partner Number
KEY AddressID I_AddressPhoneNumber_2 AddressID Ship-to address
KEY Person I_AddressPhoneNumber_2 AddressPersonID Person Number
KEY OrdinalNumber I_AddressPhoneNumber_2 CommMediumSequenceNumber Sequence Number
DestinationLocationCountry I_AddressPhoneNumber_2 PhoneNumberCountry Country/Region for Telephone/Fax Number
OrdinalNumberForEdit I_AddressPhoneNumber_2 CommMediumSequenceNumber Sequence Number
AddressIDForEdit I_AddressPhoneNumber_2 AddressID Ship-to address
CommNumberIsNotUsed Flag: This Communication Number is Not Used
PhoneNumber I_AddressPhoneNumber_2 PhoneAreaCodeSubscriberNumber Telephone No.: Dialing Code and Number
PhoneNumberExtension I_AddressPhoneNumber_2 PhoneExtensionNumber Telephone no.: Extension
InternationalPhoneNumber I_AddressPhoneNumber_2 InternationalPhoneNumber Complete Number: Dialing Code+Number+Extension
PhoneIsSMSEnabled Indicator: Telephone is SMS-Enabled
PhoneNumberType I_AddressPhoneNumber_2 PhoneNumberType Phone number type
ValidityStartDateTime Communication Data: Valid From (YYYYMMDDHHMMSS)
ValidityEndDateTime Communication Data: Valid To (YYYYMMDDHHMMSS)
ValidityStartDate I_AddressPhoneNumber_2 ValidityStartDate Validity Start Date
ValidityEndDate I_AddressPhoneNumber_2 ValidityEndDate ValidTo
_BusinessPartner _BusinessPartner
AuthorizationGroup _BusinessPartner AuthorizationGroup Authorization Group
AddressCommunicationRemarkText _AddressCommunicationRemark CommunicationRemarkText Communication link notes

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 I_BPAddressIndependentPhone.
-- 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: IBPADDRINDPHONE

CREATE VIEW I_BPAddressIndependentPhone AS
SELECT
  _BusinessPartner.BusinessPartner AS BusinessPartner,
  BPAddressIndependentPhone.AddressID AS AddressID,
  BPAddressIndependentPhone.AddressPersonID AS Person,
  BPAddressIndependentPhone.CommMediumSequenceNumber AS OrdinalNumber,
  BPAddressIndependentPhone.PhoneNumberCountry AS DestinationLocationCountry,
  BPAddressIndependentPhone.CommMediumSequenceNumber AS OrdinalNumberForEdit,
  BPAddressIndependentPhone.AddressID AS AddressIDForEdit,
  cast ( '' as ad_flnouse ) AS CommNumberIsNotUsed,
  BPAddressIndependentPhone.PhoneAreaCodeSubscriberNumber AS PhoneNumber,
  BPAddressIndependentPhone.PhoneExtensionNumber AS PhoneNumberExtension,
  BPAddressIndependentPhone.InternationalPhoneNumber AS InternationalPhoneNumber,
  cast ('' as ad_flgsms) AS PhoneIsSMSEnabled,
  BPAddressIndependentPhone.PhoneNumberType AS PhoneNumberType,
  cast ( BPAddressIndependentPhone.ValidityStartDate as ad_valfrom ) AS ValidityStartDateTime,
  cast ( BPAddressIndependentPhone.ValidityEndDate as ad_valto ) AS ValidityEndDateTime,
  BPAddressIndependentPhone.ValidityStartDate AS ValidityStartDate,
  BPAddressIndependentPhone.ValidityEndDate AS ValidityEndDate,
  _BusinessPartner.AuthorizationGroup AS AuthorizationGroup,
  _AddressCommunicationRemark.CommunicationRemarkText AS AddressCommunicationRemarkText
FROM I_AddressPhoneNumber_2 AS BPAddressIndependentPhone
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON AddressID = _BusinessPartner.IndependentAddressID  -- association [1..1]
;