I_AddrCurDfltLandlinePhoneNmbr

DDL: I_ADDRCURDFLTLANDLINEPHONENMBR Type: view_entity BASIC

Current Default Landline Phone Number

I_AddrCurDfltLandlinePhoneNmbr (Basic)

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

Cross Applications

I_AddrCurDfltLandlinePhoneNmbr is a Basic CDS View that provides data about "Current Default Landline Phone Number" in SAP S/4HANA. It reads from 1 data source (I_AddressPhoneNumber_2) and exposes 11 fields with key fields AddressID, AddressPersonID.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Purpose
This CDS view returns the current default landline phone number that is linked to an address. This CDS view provides the data to answer the following business questions: Which is the current default landline phone number that is linked to an address? 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 need to access it via another CDS view (privileged mode).

Structure
Important Fields Important fields in this view include the following: Field Name Description AddressID Address Number AddressPersonID Person Number CommMediumSequenceNumber Sequence Number PhoneNumberCountry Country/Region for Telephone Number PhoneAreaCodeSubscriberNumber Telephone Number: Dialing Code and Number PhoneExtensionNumber Telephone Number Extension InternationalPhoneNumber Complete Telephone Number: Dialing Code+Number+Extension

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentBC-SRV-ADR
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_AddressPhoneNumber_2 I_AddressPhoneNumber_2 from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Current Default Landline Phone Number view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY AddressID AddressID Ship-to address
KEY AddressPersonID AddressPersonID Person Number
CommMediumSequenceNumber CommMediumSequenceNumber Sequence Number
PhoneNumberCountry PhoneNumberCountry Country/Region for Telephone/Fax Number
PhoneAreaCodeSubscriberNumber PhoneAreaCodeSubscriberNumber Telephone No.: Dialing Code and Number
PhoneExtensionNumber PhoneExtensionNumber Telephone no.: Extension
InternationalLandlineNumber Current Default Landline Number
InternationalPhoneNumber InternationalPhoneNumber Complete Number: Dialing Code+Number+Extension
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
_PhoneNumberCountry _PhoneNumberCountry

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_AddrCurDfltLandlinePhoneNmbr.
-- 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.

CREATE VIEW I_AddrCurDfltLandlinePhoneNmbr AS
SELECT
  AddressID,
  AddressPersonID,
  CommMediumSequenceNumber,
  PhoneNumberCountry,
  PhoneAreaCodeSubscriberNumber,
  PhoneExtensionNumber,
  cast( InternationalPhoneNumber as ad_curdfltlandlinephonenmbr preserving type ) AS InternationalLandlineNumber,
  InternationalPhoneNumber,
  ValidityStartDate,
  ValidityEndDate
FROM I_AddressPhoneNumber_2
;