C_SiteDEX

DDL: C_SITEDEX SQL: CSITEDEX Type: view CONSUMPTION Package: VDM_RFM_SITE

Site Address Data

C_SiteDEX (Consumption)

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

Retail Site · Cross Applications

C_SiteDEX is a Consumption CDS View that provides data about "Site Address Data" in SAP S/4HANA. It reads from 1 data source (I_Site) and exposes 11 fields with key field Site. Part of development package VDM_RFM_SITE.

SAP Help Documentation

CategorySites for Retail
Purpose
This CDS view helps to retrieve a subset of retail site data, in particular, the site's name and its address data. 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: WERKS ( Plant )

Structure
Important Fields Important fields in this view include the following: Field Name Description Site Retail site Note This is a key field. SiteName Name of site AddressID Address StreetName Street name HouseNumber House number PostalCode Postal code CityName City name Region Region (state, province, county) County County Country Country/region key

Data Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Delta (change data capture)

View on SAP Help Portal →

SAP API Hub

CategoryConsumption
StateC1
Line of BusinessCross Applications
Application ComponentLO-RFM-MD-SIT-2CL
CapabilitiesData Source for Data Extraction
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view helps to retrieve a subset of retail site data, in particular, the site's name and its address data.</p> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_Site I_Site from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CSITEDEX view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Site Address Data view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name RetailSite view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Site Site Plant
SiteName SiteName Site Name
AddressID AddressID Ship-to address
StreetName _Address StreetName Street
HouseNumber _Address HouseNumber House Number
PostalCode _Address PostalCode City Postal Code
CityName _Address CityName Name
Region _Address Region Region (State, Province, County)
County _Address County Wyoming County
Country _Address Country Country/Region Key
_Address _Address

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_SiteDEX.
-- 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: CSITEDEX

CREATE VIEW C_SiteDEX AS
SELECT
  Site,
  SiteName,
  AddressID,
  _Address.StreetName AS StreetName,
  _Address.HouseNumber AS HouseNumber,
  _Address.PostalCode AS PostalCode,
  _Address.CityName AS CityName,
  _Address.Region AS Region,
  _Address.County AS County,
  _Address.Country AS Country
FROM I_Site
;