I_Site
Retail Site
I_Site (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_Site is a Basic CDS View that provides data about "Retail Site" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 33 fields with key field Site. It has 15 associations to related views.
SAP Help Documentation
| Category | Sites for Retail |
|---|
Purpose
This CDS view helps to retrieve the master data records of retail sites, which can be distribution centers or sites. 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 the following authorization objects assigned: W_BETR_USR ( Authorization Check Users/Sites )
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 retail site SiteCustomer Customer number of retail site SiteSupplier Account number of supplier AddressID Address SiteCategory Category of retail site, which can be a store or distribution center SalesOrganization Sales organization DistributionChannel Distribution channel DefaultPurchasingOrganization Purchasing organization FactoryCalendar Factory calendar ValuationArea Valuation area IsMarkedForArchiving Central archiving marker for master record Division Division
SAP Business Warehouse (SAP BW) Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Delta (change data capture)
This CDS view helps to retrieve the master data records of retail sites, which can be distribution centers or sites. 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 the following authorization objects assigned: W_BETR_USR ( Authorization Check Users/Sites )
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 retail site SiteCustomer Customer number of retail site SiteSupplier Account number of supplier AddressID Address SiteCategory Category of retail site, which can be a store or distribution center SalesOrganization Sales organization DistributionChannel Distribution channel DefaultPurchasingOrganization Purchasing organization FactoryCalendar Factory calendar ValuationArea Valuation area IsMarkedForArchiving Central archiving marker for master record Division Division
SAP Business Warehouse (SAP BW) Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Delta (change data capture)
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | LO-RFM-MD-SIT |
| Capabilities | Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view helps to retrieve the master data records of retail sites, which can be distribution centers or sites.</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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | I_Plant | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SiteOpeningHours | _SiteOpeningHours | $projection.SiteCustomer = _SiteOpeningHours.SiteCustomer |
| [0..1] | I_SitePointOfSale | _SitePointOfSale | $projection.SiteCustomer = _SitePointOfSale.SiteCustomer |
| [0..1] | I_SiteBlocking | _SiteBlocking | $projection.SiteCustomer = _SiteBlocking.SiteCustomer |
| [1..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [1..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [1..1] | I_PurchasingOrganization | _DefaultPurchasingOrganization | $projection.DefaultPurchasingOrganization = _DefaultPurchasingOrganization.PurchasingOrganization |
| [0..1] | I_FactoryCalendar | _FactoryCalendar | $projection.FactoryCalendar = _FactoryCalendar.FactoryCalendar |
| [0..1] | I_AddressEmailAddress | _AddressEmailAddress | $projection.AddressID = _AddressEmailAddress.AddressID and _AddressEmailAddress.Person = ' ' and _AddressEmailAddress.IsDefaultEmailAddress = 'X' |
| [0..*] | I_SiteProductGroup | _SiteProductGroup | $projection.SiteCustomer = _SiteProductGroup.SiteCustomer |
| [0..*] | I_SiteSupplyingSite | _SiteSupplyingSite | $projection.SiteCustomer = _SiteSupplyingSite.SiteCustomer |
| [0..*] | I_AssortmentUser | _AssortmentUser | $projection.SiteCustomer = _AssortmentUser.SiteCustomer |
| [1..1] | I_SiteReferenceSite | _SiteReferenceSite | $projection.Site = _SiteReferenceSite.Site |
| [1..1] | I_SiteCategory | _SiteCategory | $projection.SiteCategory = _SiteCategory.SiteCategory |
| [0..1] | I_SiteMasterAdministrativeData | _SiteMasterAdminFields | $projection.SiteCustomer = _SiteMasterAdminFields.SiteCustomer |
| [0..1] | I_SiteValnAndInvtryManagement | _SiteInventory | $projection.SiteCustomer = _SiteInventory.SiteCustomer |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Retail Site | view | |
| AbapCatalog.sqlViewName | ISITE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | Site | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Site | Plant | Valuation Area | |
| SiteName | Plant Name | |||
| SiteCustomer | PlantCustomer | Customer Number of Plant | ||
| SiteSupplier | PlantSupplier | Supplier Number of Plant | ||
| AddressID | AddressID | Ship-to address | ||
| SiteCategory | Site Category | |||
| SalesOrganization | Sales Organization | |||
| DistributionChannel | Distribution Channel | |||
| DefaultPurchasingOrganization | Purchasing Organization | |||
| FactoryCalendar | FactoryCalendar | Factory calendar key | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| IsMarkedForArchiving | IsMarkedForArchiving | Central archiving marker for master record | ||
| Division | Division | Division for Intercompany Billing | ||
| _SiteOpeningHours | _SiteOpeningHours | |||
| _SitePointOfSale | _SitePointOfSale | |||
| _SiteBlocking | _SiteBlocking | |||
| _Address | _Address | |||
| _OrganizationAddress | _OrganizationAddress | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _SiteCategoryText | _PlantCategoryText | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _DefaultPurchasingOrganization | _DefaultPurchasingOrganization | |||
| _FactoryCalendar | _FactoryCalendar | |||
| _AddressEmailAddress | _AddressEmailAddress | |||
| _SiteProductGroup | _SiteProductGroup | |||
| _SiteSupplyingSite | _SiteSupplyingSite | |||
| _AssortmentUser | _AssortmentUser | |||
| _SiteReferenceSite | _SiteReferenceSite | |||
| _SiteCategory | _SiteCategory | |||
| _SiteMasterAdminFields | _SiteMasterAdminFields | |||
| _SiteInventory | _SiteInventory |
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_Site.
-- 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_Site AS
SELECT
Plant AS Site,
cast(PlantName as sitename preserving type) AS SiteName,
PlantCustomer AS SiteCustomer,
PlantSupplier AS SiteSupplier,
AddressID,
cast(PlantCategory as sitecategory preserving type) AS SiteCategory,
cast(SalesOrganization as w_vkorg_header preserving type) AS SalesOrganization,
cast(DistributionChannel as w_vtweg_header preserving type) AS DistributionChannel,
cast(DefaultPurchasingOrganization as ekorg_ll preserving type) AS DefaultPurchasingOrganization,
FactoryCalendar,
ValuationArea,
IsMarkedForArchiving,
Division
FROM I_Plant
LEFT OUTER JOIN I_SiteOpeningHours AS _SiteOpeningHours ON SiteCustomer = _SiteOpeningHours.SiteCustomer -- association [0..1]
LEFT OUTER JOIN I_SitePointOfSale AS _SitePointOfSale ON SiteCustomer = _SitePointOfSale.SiteCustomer -- association [0..1]
LEFT OUTER JOIN I_SiteBlocking AS _SiteBlocking ON SiteCustomer = _SiteBlocking.SiteCustomer -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [1..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _DefaultPurchasingOrganization ON DefaultPurchasingOrganization = _DefaultPurchasingOrganization.PurchasingOrganization -- association [1..1]
LEFT OUTER JOIN I_FactoryCalendar AS _FactoryCalendar ON FactoryCalendar = _FactoryCalendar.FactoryCalendar -- association [0..1]
LEFT OUTER JOIN I_AddressEmailAddress AS _AddressEmailAddress ON AddressID = _AddressEmailAddress.AddressID AND _AddressEmailAddress.Person = ' ' AND _AddressEmailAddress.IsDefaultEmailAddress = 'X' -- association [0..1]
LEFT OUTER JOIN I_SiteProductGroup AS _SiteProductGroup ON SiteCustomer = _SiteProductGroup.SiteCustomer -- association [0..*]
LEFT OUTER JOIN I_SiteSupplyingSite AS _SiteSupplyingSite ON SiteCustomer = _SiteSupplyingSite.SiteCustomer -- association [0..*]
LEFT OUTER JOIN I_AssortmentUser AS _AssortmentUser ON SiteCustomer = _AssortmentUser.SiteCustomer -- association [0..*]
LEFT OUTER JOIN I_SiteReferenceSite AS _SiteReferenceSite ON Site = _SiteReferenceSite.Site -- association [1..1]
LEFT OUTER JOIN I_SiteCategory AS _SiteCategory ON SiteCategory = _SiteCategory.SiteCategory -- association [1..1]
LEFT OUTER JOIN I_SiteMasterAdministrativeData AS _SiteMasterAdminFields ON SiteCustomer = _SiteMasterAdminFields.SiteCustomer -- association [0..1]
LEFT OUTER JOIN I_SiteValnAndInvtryManagement AS _SiteInventory ON SiteCustomer = _SiteInventory.SiteCustomer -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA