Automated campaign: Element only processing target groups

Hello,
I am using campaign templates to create automated campaigns. I tested all possibilities (setting a profile set to the campaign element, then setting a profile, and then a target group) and the execution only works with target groups. The worst part is that when the campaign is created he copies the target group from the profile set configured in the model to another profile set without name! That way is impossible to reuse it.
Please advice
Regards

Hello,
Thanks for your replies and sorry for not being clear.
I have a campaign template that is configured as follows for automated campaign execution:
The last screenshot is from the campaign element template, where the system only let me create a segment or target group and not reuse a profile group or target group, like in campaigns created without template.
I tried to add the profile set outside the campaign automation view, but when I create a campaign from the template, the system creates a copy from that profile set.
So the questions is:
Is there a way to reuse profile groups/target groups when using Campaign templates like in normal campaigns (using the profile groups/target groups from the template, not copying them)?
Thanks

Similar Messages

  • Creation of Campaign Id and assign Target Group to it.

    Hi all,
    I am facing a problem in creating a Campaign Id. This is the first time i am working on CRM Marketing Campaign, and i dont know the process of creating a Campaign id for a Target Group created for BP's. Please do help me in providing me any program or link where i can find the sample programs for creation of campaign id, Campaign Element, Profile Set, Target Group, Assigning BP's to Target Group.. I am presently using the below mentioned function modules/BAPI's for creation of Profile Set, Target Group etc.,
    For Profile Set Creation:                                         BAPI_PROFILESET_CREATE
    For Target Group Creation:                                    BAPI_TARGETGROUP_CREATE
    For Assigning Target Group to Campaign:             MKTPL_TGGR_ASSIGN_CREATE
    for Campaign Element:                                            MKT_ELEMENT_CREATE
    Please provide me complete program to explain the above.
    Thanks in Advance,
    Nagesh Thanneeru.

    hi,
    Target group is a group of BP, like a BP list.  It's a kind of master data which can be used in business transaction.
    And profile set is a base of target group, just like Product Hierachy and Product category.  Each target group should belong to a profile set. So create the profile set, before you create target group.
    Campaign is a kind of Marketing element of CRM Marketing.  In campaign, it need the BP or BP group or Target Group as its campaign objectives. Just like Customer of Sales Order, Vendor of Purchase order.
    Campaign can be assigned several target groups or BP or BP groups in it.
    So if you want to create campaign and assign target group to it, the steps is:
    1.  create a profile set  by BAPI_PROFILESET_CREATE
    2. create target group by BAPI_TARGETGROUP_CREATE, in this calling, you will use the profile set created before.
    3. create campaign by MKT_ELEMENT_CREATE
    4. assign the target group to your campaign, by MKTPL_TGGR_ASSIGN_CREATEl, the target group comes from step 2, the campaign comes from step 3

  • Target Group to Channel - Trying to use 2 channels when only 1 is specified

    I have created a Target group and then in the marketing planner create a campaign. Under the channel I have specified Phone which is linked to creating a transaction. I activate the campaign and then choose target group to channel.
    The job is scheduled and does run.... However it ends in error saying "No Mail form exist for communication channel Email"
    so no transactions are saved.
    I am confused as I only specified the channel to be Phone NOT email..... I do not want to send any emails for this.
    Has anyone encountered this problem before and can they advise on the solution.
    Many Thanks
    Caroline

    So is question too easy that no one wants to respond?  Since the new 10.7.3 update I can see the same result on the file sharing page where it shows who's logged in. Am I the only showing 2 of the same users logged in?
    I was thinking because I created users and then deleted them, and the re-created the same users that's why it's occurring. When I log in from a windows machine I only see 1 user with a SMB share. But when I log in from Mac I see 2 users with the AFP share. Both users are exactly the same.
    Here's one more bit regarding this. If I log in on Mac with Lion then there are 2 duplicate users and if you wait a few minutes only 1 of duplicate users will show time. The other does not. But if I log in from a Mac with Snow Leopard then it shows 2 duplicate users as above but neither of them show any time.
    I can't be the only peron having these problems can I?
    So if these duplicate users were caused from me creating and deleting users, where (what file) is the user name stored?
    Please someone.
    Tony

  • Campaign Details from Target Group

    Hi All,
    I have a requirement, in which from the GUID of the Target Group, i need to fetch the details of the Campaigns in which it is assigned (There will be multiple assignement).
    I found two Tables for this:
    1. CRMD_MKTPL_TGGRP : Field: TARGETGRP_GUID
    2. CRMD_MKTTG_TG_H : Fields: SET_H_GUID, SET_GUID, PROF_GUID
    My logic was to join these table for getting the Campaign for each Target Group, but unfortunately i didnt find any common data in between the field TARGETGRP_GUID of CRMD_MKTPL_TGGRP and above stated 3 fields of the CRMD_MKTTG_TG_H.
    is there any FM available for getting the Campaign details from the Target Group?
    Please share your comments.
    Regards
    Dave

    Hi Dave,
    Did you try to use the dynamic query SEGTgAdvQuery?
    this is a Dynamic query that searches for Target Groups. The result BOL Object contains a relation SEGTgTgCampaignRel that contains all Marketing Campaigns for that Target Group.
    here is how you could call the dynamic query.
    data:         lr_query_service          TYPE REF TO cl_crm_bol_dquery_service,
            lr_selection_param        TYPE REF TO if_bol_selection_param,
            lr_selection_param_buil   TYPE REF TO if_bol_selection_param,
            lr_tg              TYPE REF TO cl_crm_bol_entity,
            lr_mkt           TYPE REF TO if_bol_entity_col,
            lr_query_result           TYPE REF TO if_bol_entity_col,
          lr_query_service = cl_crm_bol_dquery_service=>get_instance( 'SEGTgAdvQuery' ).
          IF lr_query_service IS BOUND.
            CALL METHOD lr_query_service->insert_selection_param
              EXPORTING
                iv_index           = 1
                iv_attr_name       = 'ID'
                iv_sign            = 'I'
                iv_option          = 'EQ'
                iv_low             = '12345'      "This is your Target Group ID
              RECEIVING
                rv_selection_param = lr_selection_param_buil.
            lr_query_result = lr_query_service->get_query_result( ).
            lr_tg ?= lr_query_result->if_bol_bo_col~get_first( ) .
            IF lr_tg IS NOT INITIAL.
              lr_mkt ?= lr_tg->get_related_entities( 'SEGTgTgCampaignRel' ).
    NOW YOU HAVE THE LIST OF MKT CAMPAIGNS...
            ENDIF.
         ENDIF.
    hope this helps.
    Kind regards,
    Micha

  • Campaign Element execution and job status

    Hello SAP Gurus,
    I have a requirement, where the Client wants to execute the Campaign Element. Is that possible?
    He also says, the end user should execute the Campaign element level.
    I tried doing that, but the Job status remains as "JOB NOT SCHEDULED".
    *Is it a technical error or settings to be done at the back end ?
    Kindly help me out.
    Thanks in advance.
    Regards,
    Srinivasan Raghavendran

    Hi Srinivasan,
    You can execute Campaign elements individually but you have to make sure that u r all uppel level marketing Plan, Campaign should be released first, Job remains not scheduled due to various reasons. if u r running mail campaign then check the target group which u r assigning to campaign has email id maintained also check for mail form maintained. 
    For job please check Start date if u r running periodic job then the condition must be fullfilled, for test try running job with  Start date as Immidiate
    Regards,
    DD's

  • Archiving Target Groups

    Hi Experts,
    I need help with Archiving Target Groups and Profiles. I understand that I need to select "To Be Archived " checkbox to archive the Target groups and Profiles. We are on CRM 2007 and I do not find the Checkbox for Archiving on the Target Group and Profiles.
    1) Where can I find the Archiving Checkbox? (Is there any specific procedure that I need to follow?)
    2) Do I have to maintain any residual times for Target group Archiving?
    3) If the Target group is used in a Campaign does that Campaign have to be under released or rejected status for the Target Group to be archived? (Is there a dependency?)
    Please help.
    Regards,
    Pooja

    HI Pooja,
    The status should be " Finished or Rejected"  on the campaign and not " Released ".
    Comming to your questions
    1)In order to Archive a target group assigned to a Camapiagn is it mandatory to archive the campaign and then the target group or Can we archive the Target group seperately?
    Scenario 1: Campaign A has TG B and the campaign is released with the TGB.
    In such a scenario where the TGB is already associated to a CampA , SAP standard Archiving procedure wont allow you to Archive TG B only. You should first set the campaign status to" Finished or Rejected " and follow the Standard Archiving procedure.
    Scenario 2: You have created a TG in the segment builder and it is not attached to any Campaign.
    In such a scenario you can Archive the TG Only using the SAP archiving procedure
    The archiving objects for this scenario are CRM_MKTSET (profile set) and CRM_MKTTG (target groups)
    2) I do not see the option of maintaining the residual times for the target groups in customizing.
    There is no residual time cutomizing for TG's archiving. The check that is made during TG archiving is if it has a status " To Archive ".
    We are currently working on CRM 5.0 and we do have the status on TG "To be Archvied" and also based on the application help for CRM 2007 i see that "To be Archived is one of the status in TG properties", Try setting the Modeling Completed Status first on the TG and then check if the system shows you the "To be Archived" status ,If this does'nt work then I would suggest you to raise an OSS note to SAP.
    http://help.sap.com/saphelp_crm60/helpdata/en/46/350ac486e01421e10000000a1553f6/frameset.htm
    (Archiving Marketing Segments)
    Hope these answer your question !
    Regards,
    Naveen

  • Personalization (Cross-Selling Rules for Target Group) in E-commerce

    Hi,
    Could any one suggest solution for the query...
    Scenario: Personalized Cross-Selling for Target Group in a Webshop (E-Commerce-B2B Occasional User Scenario). The Cross Selling is to
    appear only for Target Group, but the system is prompting the Cross Selling
    Rule for both Target Group aswell Global. The Config details are below
    mentioned.
    1. In Method Schema (11) we maintained Cross Selling Methods for Global as well
    as Target Group.
    (CRM_MKTPR_PP_CS_GL_READ & CRM_MKTPR_PP_CS_TG_READ).
    (I did remove Global Method for testing, but still it is appearing for Global
    Target Group)
    2. Created Cross Selling rules in CRM for Target Group Target Group & is
    Activated.
    3. Target Group Modeling done in Segment Builder.
    4. Target Group Assignment done in the webshop.
    5. Application Administration related tasks (clearing done).
    6. Product Catalog Updated Replication is done aswell.
    7. Simulation of Product Proposal is done using program
    "CRM_MKTPR_PRODUCT_PROPOSAL"
    Please suggest me if I miss anything to recommed Cross-Selling rules only to the Target Group.
    Thanks in Advance,
    D u r g a r a o

    Cartweaver
    http://www.cartweaver.com/
    Web Assist Power Store
    http://www.webassist.com/support/ecommerce-options.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Error assigning Target Group to Campaign Element

    Hi
    I have created a Target group for a Campaign. I have saved and exported target group to channel and started the Campaign. But it shows error message saying No Target Groups are assigned to Campaign Element..
    Why is it showing error even after assigning members for the target group and exporting the TG to Channel. I have updated the status from created to released, approved before Starting the campaign.
    Please help.
    Thx.

    Hi Kalees
    Do you have a campaign element in your campaign? If so assign the target group to the campaign element in the segments assignment block.
    Cheers
    Declan

  • Campaign automation  recurring and refresh target group

    Hi,
    i'm working with CRM 5.0 and i work for the first time with target group and recurring campaign.
    I need to create birthdate campaign to send greetengs to bp that match birthdate, but i dont' know how refresh target group Bp every day.
    Someone could help me? thank in advance.

    Hi,
    Plz surf through following links
    http://help.sap.com/saphelp_crm40/helpdata/en/d2/1d13bd5cd34040a2f03b622d121a43/frameset.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/b3/0b343e2dffb92ee10000000a114084/frameset.htm
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Custom Attributes in Target Group Email Campaign Not Refreshed

    We have a campaign sending emails to a target group of BPs.  To fill our custom attributes with values  we have implemented our code in badi CRM_IM_ADD_DATA_BADI method CRM_IM_BPSELE.  We tested our code using the Test Send feature from the email form and all worked fine.
    But when we ran the campaign in the background for a Target Group with multiple BPs it would not work correctly, our attribute values were incorrect. 
    We discovered while debugging the job, that the badi gets run once for each BP, but the attribute values from the previous BP do NOT get refreshed.  In fact there are 2 entire sets of attribute records in the CT_ATT_VALUES table parameter.  Each time through it multiplies by another set of our attributes.
    I have put code in the badi as a workaround that deletes the previously filled attributes for the previous BP, but I'd like to figure out what is causing this problem.
    Any help would be appreciated.
    thanks,
    Lee

    Hi Lee,
    Is this issue resolved for you now??
    I am facing the similar problem.
    Though the BADi is not used for these two mails (it is used in some other mail forms), it is actually called in 'CRM_ERMS_MAIL_COMPOSE' Function Module and the process is same as u said. There are 2 sets of values.
    I am using a Mail Alert functionality where in a 'Mail Alert ON' is sent to field engineers (FE) and then upon FE accepting the work we will send a 'Mail Alert OFF' to FEs.
    Problem is, we get one or two fields data incorrectly sometimes. I am not able to find out the root cause yet.
    Please let me know if you have had any resolution to this!
    Thanks in advance.
    Chaitanya

  • Campaigns and Target Groups

    I'm trying to extract information about target groups and related campaigns to BW from CRM. I was initally looking at 0CRM_TGBPCT but this was extracting only one record and I found an associated OSS note (No 717539) to it recommending the use of another datasource called 0CRM_CONTACT_OUT. I tried using this datasource but when I test it even in CRM (RSA3) it says 0 records. I know data is in there though.
    Would someone be able to shed some light on this and be able to give me any tips on the same.
    Thanks !!!!

    Hi to all,
    I've the same problem when load data with datasource 0CRM_TGBPCT.
    If I extract from RSA3 retrive the correct data but if I extract directly from BW the system load only 1 record!!!
    please anyone help me?
    P.S.: The remote user for the connection have already SAPALL authorization!

  • Printing letters to customers of marketing target group or campaign

    Hello everyone,
    We have a need to print letters to customers from a marketing target group or campaign.  (SAP CRM 7)
    The problem is that we can only see an option in application to send a Mail/SMS/Fax to the customer (with an already prepared mail form), but we just can't find a letter/print channel option.
    Can it be that this basic option does not exist in the application ?
    If it does not exist u2013 How can we send letters to the customers from a target group/campaign ?
    We'll appreciate any help,
    Best Regards,
    Nitzan.

    Hi,
    I don't know if you found an answer already to your question but we had a similar issue.
    In CRM 7.0 direct mailing is no longer supported. 
    The only solution is to either develop a specific enhancement based on mail forms (find a good CRM developper) or alternatively generate a file that you would then send to an external mailing house.
    It seems that smaller customers try to do the mailing themselves but larger customers with higher volumes nearly allways use a mailing house.
    regards
    Tim

  • Accumulate output of Terminal process across Target Group

    I have a process (Workflow?) that I execute on a Target Group of terminal Targets.  I want to gather all the outputs of the Execute Terminal Commands into one place for processing.
    Concatenating it to an Output variable doesn't work.  Each Target has it's own, with only it's output.
    Even writing to a file doesn't work.  Eventually, two processes try to write at the same time and one fails. 
    Concatenating it to a Global Variable seems to work.  But it seems like there must be a better way.

    Currently CPO does not support running(or in this case broadcasting) a single activity or child process to a target group.
    Here's why and some background.
    Assume we have 10 targets in a target group.
    You start process A against those 10 targets, what CPO actually does is spawn 10 process instances each against *1* target from that group. It does not spawn just 1 process instance.
    Now assume you call child process B or an activity inside of a process. Even though you can select a target group that is only good for the parent process (or top process) level. Once you make that a child process, it operates similar to an activity.
    Here is why you cannot (currently) execute a child process or activity against a target group...
    And this is a discussion that has been running for some time, but how do you determine to the parent process if that child process was successful or failed? Some would argue it must be 100/100 for success, any failure is failure. Some argued that as long as it's better than 50% that's success. Some even argued that it should be just 1/100 for success. And that shows the main issue in allow child processes and activities to execute on target groups, which to this point is not supported or developed into the product.
    I understand your use-case and you can accomplish the same thing in the following manner:
    1) Set your variables in your parent process
    2) Use Find-Target to find all the targets in the group you want to execute against
    3) Use a For-Each loop to for-each through all the targets and then place the child process inside of the for-each loop and on the child process have it use the target item in the for-each loop iteration
    Now If you really want it to mimic a target group or broadcast, I would then go and select the child process(inside of the parent) to execute asynchronously.  (see below SS)
    Normally if you leave this unchecked each process would wait for the previous one to complete before starting. With that checked the for-each loop will continue pass each one, not caring if one succeeded or failed. It will just start them all in succession.
    I cannot remember if there is already an ENH for the target group @ activity level/child process use-case, but if not, feel free to open a TAC case and suggest it, or if there is already one, they can give you the ENH number. (as I said, I think there is one, as it's been a long running discussion topic)

  • Creating a target group based on the BP email address only in CRM

    Hi there,
    I am currently trying to create a target group based on the business partner email address only.
    I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses.  With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
    What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
    The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range.  I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list.   I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
    Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
    Any help would be most appreciated.
    Kind regard
    JoJo

    Hi JoJo ,
    The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
    REPORT  zexcel.
    * G L O B A L D A T A D E C L A R A T I O N
    TYPE-POOLS : ole2.
    TYPES : BEGIN OF typ_xl_line,
    email TYPE ad_smtpadr,
    END OF typ_xl_line.
    TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
    DATA : t_data TYPE typ_xl_tab,
           lt_bu_guid TYPE TABLE OF bu_partner_guid,
           ls_bu_guid TYPE  bu_partner_guid,
           lt_guids TYPE TABLE OF bapi1185_bp,
           ls_guids TYPE  bapi1185_bp,
           lt_return TYPE bapiret2_t.
    * S E L E C T I O N S C R E E N L A Y O U T
    PARAMETERS : p_xfile TYPE localfile,
                  p_tgguid TYPE bapi1185_key .
    * E V E N T - A T S E L E C T I O N S C R E E N
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
       CALL FUNCTION 'WS_FILENAME_GET'
         IMPORTING
           filename         = p_xfile
         EXCEPTIONS
           inv_winsys       = 1
           no_batch         = 2
           selection_cancel = 3
           selection_error  = 4
           OTHERS           = 5.
       IF sy-subrc <> 0.
         CLEAR p_xfile.
       ENDIF.
    * E V E N T - S T A R T O F S E L E C T I O N
    START-OF-SELECTION.
    * Get data from Excel File
       PERFORM sub_import_from_excel USING p_xfile
       CHANGING t_data.
       SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
    but000~partner =
       but020~partner
         INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
    lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
    t_data-email.
       CLEAR: lt_guids,ls_guids.
       LOOP AT lt_bu_guid INTO ls_bu_guid.
         ls_guids-bupartnerguid = ls_bu_guid.
         APPEND ls_guids TO lt_guids.
       ENDLOOP.
       CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
         EXPORTING
           targetgroupguid = p_tgguid
         TABLES
           return          = lt_return
           businesspartner = lt_guids.
    *&      Form  SUB_IMPORT_FROM_EXCEL
    *       text
    *      -->U_FILE     text
    *      -->C_DATA     text
    FORM sub_import_from_excel USING u_file TYPE localfile
    CHANGING c_data TYPE typ_xl_tab.
       CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
       DATA : l_dummy TYPE typ_xl_line,
              cnt_cols TYPE i.
       DATA : h_excel TYPE ole2_object,
              h_wrkbk TYPE ole2_object,
              h_cell TYPE ole2_object.
       DATA : l_row TYPE sy-index,
              l_col TYPE sy-index,
              l_value TYPE string.
       FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
    * Count the number of columns in the internal table.
       DO.
         ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
         IF sy-subrc EQ 0.
           cnt_cols = sy-index.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Create Excel Application.
       CREATE OBJECT h_excel 'Excel.Application'.
       CHECK sy-subrc EQ 0.
    * Get the Workbook object.
       CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
       CHECK sy-subrc EQ 0.
    * Open the Workbook specified in the filepath.
       CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
       CHECK sy-subrc EQ 0.
    * For all the rows - Max upto 65536.
       DO const_max_row TIMES.
         CLEAR l_dummy.
         l_row = l_row + 1.
    * For all columns in the Internal table.
         CLEAR l_col.
         DO cnt_cols TIMES.
           l_col = l_col + 1.
    * Get the corresponding Cell Object.
           CALL METHOD OF h_excel 'Cells' = h_cell
             EXPORTING #1 = l_row
             #2 = l_col.
           CHECK sy-subrc EQ 0.
    * Get the value of the Cell.
           CLEAR l_value.
           GET PROPERTY OF h_cell 'Value' = l_value.
           CHECK sy-subrc EQ 0.
    * Value Assigned ? pass to internal table.
           CHECK NOT l_value IS INITIAL.
           ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
           <fs_dummy> = l_value.
         ENDDO.
    * Check if we have the Work Area populated.
         IF NOT l_dummy IS INITIAL.
           APPEND l_dummy TO c_data.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Now Free all handles.
       FREE OBJECT h_cell.
       FREE OBJECT h_wrkbk.
       FREE OBJECT h_excel.
    ENDFORM. " SUB_IMPORT_FROM_EXCEL
    Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
    snap shot of excel file:
    Let me know if it was useful.

  • Where to see activities, which are created for the campaign with target group

    Hi
    I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
    Activities are not appearing after creation of campaign with target group.
    Where to see activities, which are created for the campaign with target group?
    Regards
    Hamid

    Hello,
    alternatively to check  table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
    This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
    This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
    best regards,
    Johannes

Maybe you are looking for