I_MKT_WebVisitsCube
Marketing: Web Visits - Cube
I_MKT_WebVisitsCube is a Composite CDS View (Cube) that provides data about "Marketing: Web Visits - Cube" in SAP S/4HANA. It reads from 1 data source (I_MKT_WebVisits) and exposes 13 fields. It has 6 associations to related views. Part of development package CUAN_CDS_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MKT_WebVisits | visits | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | cuan_start_date | |
| P_EndDate | cuan_end_date |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MKT_Brand | _MKT_Brand | $projection.Brand = _MKT_Brand.Brand |
| [1..1] | I_MKT_Country | _MKT_Country | $projection.CountryCode = _MKT_Country.Country |
| [1..1] | I_MKT_CountryMarket | _MKT_CountryMarket | $projection.CountryCode = _MKT_CountryMarket.Country |
| [1..1] | I_MKT_Market | _MKT_Market | $projection.Market = _MKT_Market.Market |
| [1..1] | I_MKT_Audience | _MKT_Audience | $projection.MarketingAudience = _MKT_Audience.MarketingAudience |
| [1..1] | I_MKT_CalendarDate | _MKT_CalendarDate | visits.MktgKPIDate = _MKT_CalendarDate.CalendarDate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMKT_VISITSCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| EndUserText.label | Marketing: Web Visits - Cube | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Market | _MKT_CountryMarket | Market | Market Value | |
| CountryCode | I_MKT_WebVisits | CountryCode | Country/Reg. | |
| Brand | I_MKT_WebVisits | Brand | Fire-Cont.Sect. | |
| MarketingAudience | I_MKT_WebVisits | MarketingAudience | ||
| CalendarWeek | _MKT_CalendarDate | CalendarWeek | Calendar Week | |
| NumberOfWebsiteVisits | ||||
| NumberOfUniqueWebsiteVisitors | ||||
| NumberOfPageViews | ||||
| _MKT_Market | _MKT_Market | |||
| _MKT_CountryMarket | _MKT_CountryMarket | |||
| _MKT_Country | _MKT_Country | |||
| _MKT_Brand | _MKT_Brand | |||
| _MKT_Audience | _MKT_Audience |
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_MKT_WebVisitsCube.
-- 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: IMKT_VISITSCUBE
-- Parameters: P_StartDate : cuan_start_date, P_EndDate : cuan_end_date
CREATE VIEW I_MKT_WebVisitsCube AS
SELECT
_MKT_CountryMarket.Market AS Market,
visits.CountryCode AS CountryCode,
visits.Brand AS Brand,
visits.MarketingAudience AS MarketingAudience,
_MKT_CalendarDate.CalendarWeek AS CalendarWeek,
sum(visits.NumberOfWebsiteVisits) AS NumberOfWebsiteVisits,
sum(visits.NumberOfUniqueWebsiteVisitors) AS NumberOfUniqueWebsiteVisitors,
sum(visits.NumberOfPageViews) AS NumberOfPageViews
FROM I_MKT_WebVisits AS visits
LEFT OUTER JOIN I_MKT_Brand AS _MKT_Brand ON Brand = _MKT_Brand.Brand -- association [1..1]
LEFT OUTER JOIN I_MKT_Country AS _MKT_Country ON CountryCode = _MKT_Country.Country -- association [1..1]
LEFT OUTER JOIN I_MKT_CountryMarket AS _MKT_CountryMarket ON CountryCode = _MKT_CountryMarket.Country -- association [1..1]
LEFT OUTER JOIN I_MKT_Market AS _MKT_Market ON Market = _MKT_Market.Market -- association [1..1]
LEFT OUTER JOIN I_MKT_Audience AS _MKT_Audience ON MarketingAudience = _MKT_Audience.MarketingAudience -- association [1..1]
LEFT OUTER JOIN I_MKT_CalendarDate AS _MKT_CalendarDate ON visits.MktgKPIDate = _MKT_CalendarDate.CalendarDate -- association [1..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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