I_MKT_CampaignAsset

DDL: I_MKT_CAMPAIGNASSET Type: view_entity BASIC

Messages from Communication Flow

I_MKT_CampaignAsset is a Basic CDS View that provides data about "Messages from Communication Flow" in SAP S/4HANA. It reads from 2 data sources (cuan_d_ini_asset, cuan_d_ini_root) and exposes 8 fields with key field CampaignID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
cuan_d_ini_asset _Asset from
cuan_d_ini_root _INI_ROOT inner

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_AuthorizedCommunicationArea _AuthCommArea $projection.CommFlowCommunicationArea = _AuthCommArea.CommunicationArea and $projection.CommFlowRefcdOrgStructure = _AuthCommArea.ReferencedOrgStructure

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Messages from Communication Flow view
ObjectModel.representativeKey CampaignID view
Analytics.technicalName IMKT_CMPGASSET view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CampaignID cuan_d_ini_root id WorklistID
CampaignUUID cuan_d_ini_root db_key UUID
CampaignAsset cuan_d_ini_asset assetid
CampaignAssetUUID cuan_d_ini_asset db_key UUID
CampaignAssetType cuan_d_ini_asset assettype
CommFlowCommunicationArea cuan_d_ini_root comm_area_id
CommFlowRefcdOrgStructure cuan_d_ini_root ref_org_struc
_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_CampaignAsset.
-- 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_CampaignAsset AS
SELECT
  _INI_ROOT.id AS CampaignID,
  _INI_ROOT.db_key AS CampaignUUID,
  _Asset.assetid AS CampaignAsset,
  _Asset.db_key AS CampaignAssetUUID,
  _Asset.assettype AS CampaignAssetType,
  _INI_ROOT.comm_area_id AS CommFlowCommunicationArea,
  _INI_ROOT.ref_org_struc AS CommFlowRefcdOrgStructure
FROM cuan_d_ini_asset AS _Asset
INNER JOIN cuan_d_ini_root AS _INI_ROOT ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _AuthCommArea ON CommFlowCommunicationArea = _AuthCommArea.CommunicationArea AND CommFlowRefcdOrgStructure = _AuthCommArea.ReferencedOrgStructure  -- association [0..*]
;