cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of campaign from template through program in web ui

Former Member
0 Kudos

Hi,

We have requirement to send notifications to customers.We are using campaign framework to send notifications.Need to create a new campaign from an existing campaign template and release the campaign through a program in web ui. Please suggest me to achieve this requirement.

Regards,

Brahmaji

Accepted Solutions (0)

Answers (1)

Answers (1)

AnupDDesai
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

-> Goto Marketing workcenter, click on hyperlink 'Create Campaign from Template".

-> In the popup enter required fields along with 'Create from reference' Campaign ID.

-> Click on Create .

-> Add required communciation medium (example : Email) along with mail form ID.

-> Add Target group

-> Release Campaign, save and start Exceution process.

Track using Contact statistics assignment block or use report Contact summary/list respectively.

Hope this helps.

Regards,

Anup

Former Member
0 Kudos

We have created camapign element by passing parent campaign guid and assigned the target group

LV_OBJECT is an Object of Class cl_crm_mktpl_appl_base.

CALL METHOD LV_OBJECT->ELEMENT_CREATE

EXPORTING

  • IM_MKTELEMENT_GUID =

IM_OBJECT_TYPE = lv_object_type

IM_ATTRIBUTES = ls_attribute

IV_USE_EXTERNAL_ATTRIBUTES = 'X'

  • IM_TEXTS =

IM_PARENT = lv_campaign_guid_16

  • IM_CHECK_ATTRIBUTES =

RECEIVING

RV_NEW_GUID = lv_campaign_guid_new

CALL METHOD LV_OBJECT->TGGR_ASSIGN_CREATE

EXPORTING

IM_MKTELEMENT_GUID = lv_campaign_guid_new

IT_TGRP = lt_tgrp

Regards,

Brahmaji

AnupDDesai
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Brahmaji,

As far as I know the requirement of creating Campaigns from Templates is available in standard process.

If you insist in performing this using custom code then I think your code should work for creating Campaigns from already created Campaigns and attaching a TG. This only links Parent and child.

Regards,

Anup