I_MKT_CampaignAssetsDetailAll

DDL: I_MKT_CAMPAIGNASSETSDETAILALL Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_MKT_CampaignAssetAll _CPG_AssetsDetailAll from

Associations (4)

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

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

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