I_AddressCommunicationUsage

DDL: I_ADDRESSCOMMUNICATIONUSAGE Type: view_entity BASIC

Usage of Communication Data

I_AddressCommunicationUsage (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_AddressCommunicationUsage is a Basic CDS View that provides data about "Usage of Communication Data" in SAP S/4HANA. It reads from 1 data source (adru) and exposes 7 fields with key fields AddressID, AddressPersonID, CommunicationMediumType, CommMediumSequenceNumber, CommunicationMediumTypeUsage.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Purpose
This CDS view returns the communication usages for each communication type, such as phone number, fax number, and email address, linked to an address. This CDS view provides the data to answer the following business questions: What is the communication usage for a communication type? 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 CommunicationMediumType Communication Method Key CommMediumSequenceNumber Sequence Number CommunicationMediumTypeUsage Communication Usage Key Field

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
adru adru from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Usage of Communication Data 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 (7)

KeyFieldSource TableSource FieldDescription
KEY AddressID addrnumber Address Number
KEY AddressPersonID persnumber Person Number
KEY CommunicationMediumType comm_type Communication Method (Key) (Business Address Services)
KEY CommMediumSequenceNumber consnumber Sequence Number
KEY CommunicationMediumTypeUsage comm_usage Communication Usage: Key Field
datsendasValidityStartDate
datsendasValidityEndDate

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_AddressCommunicationUsage.
-- 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_AddressCommunicationUsage AS
SELECT
  addrnumber AS AddressID,
  persnumber AS AddressPersonID,
  comm_type AS CommunicationMediumType,
  consnumber AS CommMediumSequenceNumber,
  comm_usage AS CommunicationMediumTypeUsage,
  case valid_from when '' then '00010101' else cast( substring( valid_from,1,8) as abap.dats) end as ValidityStartDate AS datsendasValidityStartDate,
  case valid_to when '' then '99991231' else cast( substring( valid_to,1,8) as abap.dats) end as ValidityEndDate AS datsendasValidityEndDate
FROM adru
;