I_AddressMainWebsiteURL

DDL: I_ADDRESSMAINWEBSITEURL Type: view_entity COMPOSITE

Website

I_AddressMainWebsiteURL (Composite)

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

Cross Applications

I_AddressMainWebsiteURL is a Composite CDS View that provides data about "Website" in SAP S/4HANA. It reads from 1 data source (AddressMainWebsiteURL_TF) and exposes 6 fields with key fields AddressID, AddressPersonID. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Purpose
This CDS view returns website address details, such as website URL, address communication remarks, and address communication usage. This CDS view provides the data to answer the following business questions: What is the website URL? 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

View on SAP Help Portal →

SAP API Hub

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

Documentation

Data Sources (1)

SourceAliasJoin Type
AddressMainWebsiteURL_TF AddressMainWebsiteURL_TF from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_AddressCommunicationRemark_2 _AddressCommunicationRemark $projection.AddressID = _AddressCommunicationRemark.AddressID and $projection.AddressPersonID = _AddressCommunicationRemark.AddressPersonID and $projection.CommMediumSequenceNumber = _AddressCommunicationRemark.CommMediumSequenceNumber and _AddressCommunicationRemark.CommunicationMediumType = 'URI'
[0..*] I_AddressCommunicationUsage _AddressCommunicationUsage $projection.AddressID = _AddressCommunicationUsage.AddressID and $projection.AddressPersonID = _AddressCommunicationUsage.AddressPersonID and $projection.CommMediumSequenceNumber = _AddressCommunicationUsage.CommMediumSequenceNumber and _AddressCommunicationUsage.CommunicationMediumType = 'URI'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Website view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY AddressID AddresssMainWebsiteURL AddressID Ship-to address
KEY AddressPersonID AddresssMainWebsiteURL AddressPersonID Person Number
CommMediumSequenceNumber AddresssMainWebsiteURL CommMediumSequenceNumber Sequence Number
UniformResourceIdentifier AddresssMainWebsiteURL UniformResourceIdentifier
_AddressCommunicationRemark _AddressCommunicationRemark
_AddressCommunicationUsage _AddressCommunicationUsage

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_AddressMainWebsiteURL.
-- 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_AddressMainWebsiteURL AS
SELECT
  AddresssMainWebsiteURL.AddressID AS AddressID,
  AddresssMainWebsiteURL.AddressPersonID AS AddressPersonID,
  AddresssMainWebsiteURL.CommMediumSequenceNumber AS CommMediumSequenceNumber,
  AddresssMainWebsiteURL.UniformResourceIdentifier AS UniformResourceIdentifier
FROM AddressMainWebsiteURL_TF
LEFT OUTER JOIN I_AddressCommunicationRemark_2 AS _AddressCommunicationRemark ON AddressID = _AddressCommunicationRemark.AddressID AND AddressPersonID = _AddressCommunicationRemark.AddressPersonID AND CommMediumSequenceNumber = _AddressCommunicationRemark.CommMediumSequenceNumber AND _AddressCommunicationRemark.CommunicationMediumType = 'URI'  -- association [0..*]
LEFT OUTER JOIN I_AddressCommunicationUsage AS _AddressCommunicationUsage ON AddressID = _AddressCommunicationUsage.AddressID AND AddressPersonID = _AddressCommunicationUsage.AddressPersonID AND CommMediumSequenceNumber = _AddressCommunicationUsage.CommMediumSequenceNumber AND _AddressCommunicationUsage.CommunicationMediumType = 'URI'  -- association [0..*]
;