I_MKT_CampaignContentAll

DDL: I_MKT_CAMPAIGNCONTENTALL Type: view_entity BASIC

Communication: Message Details

I_MKT_CampaignContentAll is a Basic CDS View that provides data about "Communication: Message Details" in SAP S/4HANA. It reads from 1 data source (cuand_me_me_root) and exposes 20 fields with key fields CampaignContent, CampaignContentType. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cuand_me_me_root I_MKT_Content_Root from

Associations (3)

CardinalityTargetAliasCondition
[0..*] P_MKT_CAMPAIGNCONTENT campaignContent campaignContent.PARENT_KEY = I_MKT_Content_Root.db_key and campaignContent.LANGUAGE = I_MKT_Content_Root.language
[0..*] I_IBCMessageContentCommArea _MessageContentCommArea $projection.CampaignContentUUID = _MessageContentCommArea.CampaignContentUUID
[0..*] I_AuthorizedCommunicationArea _MessageContentRootCommArea $projection.CommunicationArea = _MessageContentRootCommArea.CommunicationArea and $projection.ReferencedOrgStructure = _MessageContentRootCommArea.ReferencedOrgStructure

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Communication: Message Details view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY CampaignContent cuand_me_me_root id WorklistID
KEY CampaignContentType cuand_me_me_root type Worklist Type
CampaignAssetConverted
MarketingContentCategory cuand_me_me_root category Violation Category
CampaignContentName cuand_me_me_root name Zone name
CampaignAssetDescription cuand_me_me_root description Well Code Des.
CreatedByUser cuand_me_me_root crea_uname User Name
CreationDateTime cuand_me_me_root crea_date_time Time Stamp
LastChangeDateTime cuand_me_me_root lchg_date_time Time Stamp
LastChangedByUser cuand_me_me_root lchg_uname User Name
CommunicationArea cuand_me_me_root comm_area_id
ReferencedOrgStructure cuand_me_me_root ref_org_struc
CampaignContentStatus cuand_me_me_root status Workflow Status
SenderName cuand_me_me_root sender_name Sender Name
MktgAstIsCmpgnCntntTmpl cuand_me_me_root is_template Template
EmailSubjectText
CampaignContentUUID cuand_me_me_root db_key UUID
CampaignContentDefaultLanguage cuand_me_me_root language Report Text Language
_MessageContentCommArea _MessageContentCommArea
_MessageContentRootCommArea _MessageContentRootCommArea

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_CampaignContentAll.
-- 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_CampaignContentAll AS
SELECT
  I_MKT_Content_Root.id AS CampaignContent,
  I_MKT_Content_Root.type AS CampaignContentType,
  cast(I_MKT_Content_Root.id as sstring) AS CampaignAssetConverted,
  I_MKT_Content_Root.category AS MarketingContentCategory,
  I_MKT_Content_Root.name AS CampaignContentName,
  I_MKT_Content_Root.description AS CampaignAssetDescription,
  I_MKT_Content_Root.crea_uname AS CreatedByUser,
  I_MKT_Content_Root.crea_date_time AS CreationDateTime,
  I_MKT_Content_Root.lchg_date_time AS LastChangeDateTime,
  I_MKT_Content_Root.lchg_uname AS LastChangedByUser,
  I_MKT_Content_Root.comm_area_id AS CommunicationArea,
  I_MKT_Content_Root.ref_org_struc AS ReferencedOrgStructure,
  I_MKT_Content_Root.status AS CampaignContentStatus,
  I_MKT_Content_Root.sender_name AS SenderName,
  I_MKT_Content_Root.is_template AS MktgAstIsCmpgnCntntTmpl,
  campaignContent(P_client: $session.client).SUBJECT AS EmailSubjectText,
  I_MKT_Content_Root.db_key AS CampaignContentUUID,
  I_MKT_Content_Root.language AS CampaignContentDefaultLanguage
FROM cuand_me_me_root AS I_MKT_Content_Root
LEFT OUTER JOIN P_MKT_CAMPAIGNCONTENT AS campaignContent ON campaignContent.PARENT_KEY = I_MKT_Content_Root.db_key AND campaignContent.LANGUAGE = I_MKT_Content_Root.language  -- association [0..*]
LEFT OUTER JOIN I_IBCMessageContentCommArea AS _MessageContentCommArea ON CampaignContentUUID = _MessageContentCommArea.CampaignContentUUID  -- association [0..*]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _MessageContentRootCommArea ON CommunicationArea = _MessageContentRootCommArea.CommunicationArea AND ReferencedOrgStructure = _MessageContentRootCommArea.ReferencedOrgStructure  -- association [0..*]
;