I_MKT_CampaignExecutionRun
Marketing: Campaign Execution Run
I_MKT_CampaignExecutionRun is a Basic CDS View (Dimension) that provides data about "Marketing: Campaign Execution Run" in SAP S/4HANA. It reads from 1 data source (cuan_d_mktorc_er) and exposes 15 fields with key field CampaignExecutionRun. It has 1 association to related views. Part of development package CUAN_CDS_INITIATIVE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cuan_d_mktorc_er | cuan_d_mktorc_er | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MKT_CampaignAutomationAction | _MKT_CampaignAutomationAction | $projection.CampaignAutomationActionUUID = _MKT_CampaignAutomationAction.CampaignAutomationActionUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IMKT_CPGNEXECRUN | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | CampaignExecutionRun | view | |
| EndUserText.label | Marketing: Campaign Execution Run | view | |
| ClientHandling.clientSafe | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | MarketingCampaignExecutionRun | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CampaignExecutionRun | |||
| CampaignAutomationActionUUID | ||||
| ExecutionRunDateTime | ||||
| CampaignExecRunPlndStrtDteTme | ||||
| CampaignExecRunFinishedDteTme | ||||
| CampaignExecRunStatus | ||||
| ApplicationJob | ||||
| NumberOfTargetGroupMembers | ||||
| TgtGrpRebuildApplicationJob | ||||
| CampaignAutomationAction | _MKT_CampaignAutomationAction | CampaignAutomationAction | ||
| MarketingArea | _INI_ROOT | mkt_area_id | ||
| Campaign | ||||
| CampaignID | _INI_ROOT | id | WorklistID | |
| _MKT_CampaignAutomationAction | _MKT_CampaignAutomationAction | |||
| CampaignExecutionRunDate |
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_CampaignExecutionRun.
-- 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_MKT_CampaignExecutionRun AS
SELECT
cast ( cuan_d_mktorc_er.db_key as cuan_campaign_exec_run preserving type ) AS CampaignExecutionRun,
cast(cuan_d_mktorc_er.parent_key as cuan_cpg_autom_action_uuid preserving type) AS CampaignAutomationActionUUID,
cast (cuan_d_mktorc_er.execution_start_date_time as cuan_exec_date_time_utc preserving type) AS ExecutionRunDateTime,
cast(cuan_d_mktorc_er.planned_start_date_time as cuan_mce_exec_run_plnd_dtime preserving type ) AS CampaignExecRunPlndStrtDteTme,
cast(cuan_d_mktorc_er.execution_finish_date_time as cuan_mce_execrunfinish_dtime preserving type ) AS CampaignExecRunFinishedDteTme,
cast(cuan_d_mktorc_er.status as cuan_mce_execrun_status preserving type ) AS CampaignExecRunStatus,
cast(cuan_d_mktorc_er.job_id as cuan_mce_execrunapplicationjob preserving type ) AS ApplicationJob,
cast(cuan_d_mktorc_er.target_group_member_count as cuan_mce_numberoftgmembers preserving type ) AS NumberOfTargetGroupMembers,
cast(cuan_d_mktorc_er.target_group_rebuild_job_id as cuan_mce_tgtgrprebuildappljob preserving type ) AS TgtGrpRebuildApplicationJob,
_MKT_CampaignAutomationAction.CampaignAutomationAction AS CampaignAutomationAction,
_INI_ROOT.mkt_area_id AS MarketingArea,
cast(_INI_ROOT.db_key as cuan_campaign_uuid preserving type ) AS Campaign,
_INI_ROOT.id AS CampaignID,
cast (tstmp_to_dats( cuan_d_mktorc_er.execution_start_date_time, 'UTC', $session.client, 'INITIAL' ) as cuan_exec_date_utc) AS CampaignExecutionRunDate
FROM cuan_d_mktorc_er
LEFT OUTER JOIN I_MKT_CampaignAutomationAction AS _MKT_CampaignAutomationAction ON CampaignAutomationActionUUID = _MKT_CampaignAutomationAction.CampaignAutomationActionUUID -- 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