I_MKT_CampaignAssetsDetailAll
Messages Details of Comm Flow
I_MKT_CampaignAssetsDetailAll is a Composite CDS View that provides data about "Messages Details of Comm Flow" in SAP S/4HANA. It reads from 1 data source (I_MKT_CampaignAssetAll) and exposes 18 fields with key field CampaignID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MKT_CampaignAssetAll | _CPG_AssetsDetailAll | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [*] | I_MKT_CampaignContent | _MKT_ContentRoot | $projection.CampaignAssetConverted = _MKT_ContentRoot.CampaignContent |
| [0..1] | I_User | _CreatedByUser | $projection.CampaignAssetCreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_MKT_CmpgnContentStatusText | _MKT_CpgAssetStatus_Text | $projection.CampaignAssetStatus = _MKT_CpgAssetStatus_Text.CampaignContentStatus and _MKT_CpgAssetStatus_Text.Language = $session.system_language |
| [0..*] | I_AuthorizedCommunicationArea | _AuthCommArea | $projection.CommFlowCommunicationArea = _AuthCommArea.CommunicationArea and $projection.CommFlowRefcdOrgStructure = _AuthCommArea.ReferencedOrgStructure |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Messages Details of Comm Flow | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CampaignID | CampaignID | ||
| CampaignUUID | CampaignUUID | NodeID | ||
| CampaignAsset | CampaignAsset | |||
| CampaignAssetConverted | CampaignAssetConverted | |||
| CampaignAssetType | CampaignAssetType | |||
| CampaignAssetStatus | _MKT_ContentRoot | CampaignContentStatus | ||
| CampaignAssetName | _MKT_ContentRoot | CampaignContentName | ||
| CampaignAssetDescription | _MKT_ContentRoot | CampaignAssetDescription | ||
| CampaignAssetLastChgdDateTime | _MKT_ContentRoot | LastChangeDateTime | Timestamp | |
| CampaignAssetCreationDateTime | _MKT_ContentRoot | CreationDateTime | Timestamp | |
| SenderName | _MKT_ContentRoot | SenderName | ||
| CommFlowCommunicationArea | _MKT_ContentRoot | CommunicationArea | ||
| CommFlowRefcdOrgStructure | _MKT_ContentRoot | ReferencedOrgStructure | ||
| CommFlowCommunicationAreaName | _MKT_ContentRoot | CommunicationAreaName | ||
| CampaignAssetCreatedByUser | _MKT_ContentRoot | CreatedByUser | User Name | |
| _MKT_CpgAssetStatus_Text | _MKT_CpgAssetStatus_Text | |||
| _CreatedByUser | _CreatedByUser | |||
| _AuthCommArea | _AuthCommArea |
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_CampaignAssetsDetailAll.
-- 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_CampaignAssetsDetailAll AS
SELECT
CampaignID,
CampaignUUID,
CampaignAsset,
CampaignAssetConverted,
CampaignAssetType,
_MKT_ContentRoot.CampaignContentStatus AS CampaignAssetStatus,
_MKT_ContentRoot.CampaignContentName AS CampaignAssetName,
_MKT_ContentRoot.CampaignAssetDescription AS CampaignAssetDescription,
_MKT_ContentRoot.LastChangeDateTime AS CampaignAssetLastChgdDateTime,
_MKT_ContentRoot.CreationDateTime AS CampaignAssetCreationDateTime,
_MKT_ContentRoot.SenderName AS SenderName,
_MKT_ContentRoot.CommunicationArea AS CommFlowCommunicationArea,
_MKT_ContentRoot.ReferencedOrgStructure AS CommFlowRefcdOrgStructure,
_MKT_ContentRoot.CommunicationAreaName AS CommFlowCommunicationAreaName,
_MKT_ContentRoot.CreatedByUser AS CampaignAssetCreatedByUser
FROM I_MKT_CampaignAssetAll AS _CPG_AssetsDetailAll
LEFT OUTER JOIN I_MKT_CampaignContent AS _MKT_ContentRoot ON CampaignAssetConverted = _MKT_ContentRoot.CampaignContent -- association [*]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CampaignAssetCreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_MKT_CmpgnContentStatusText AS _MKT_CpgAssetStatus_Text ON CampaignAssetStatus = _MKT_CpgAssetStatus_Text.CampaignContentStatus AND _MKT_CpgAssetStatus_Text.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _AuthCommArea ON CommFlowCommunicationArea = _AuthCommArea.CommunicationArea AND CommFlowRefcdOrgStructure = _AuthCommArea.ReferencedOrgStructure -- association [0..*]
;
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