Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

I_MKT_WebVisitsCube

DDL: I_MKT_WEBVISITSCUBE SQL: IMKT_VISITSCUBE Type: view COMPOSITE Package: CUAN_CDS_ANALYTICS

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)

SourceAliasJoin Type
I_MKT_WebVisits visits from

Parameters (2)

NameTypeDefault
P_StartDate cuan_start_date
P_EndDate cuan_end_date

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;