Assign Target group to Campaign

Hi,
What  is the FM to assign target group to marketing campaign?
Thanks a lot

Hi Raja/Kiryl,
I am trying to assign target group to a campaign using this FM MKTPL_TGGR_ASSIGN_CREATE. But its not working for me.
It seems I am not passing the right parameters. Could you please help me to know which paramters we need to pass to this function to assign the target group.
It would be great if you provide the info about how to get the relavent data for this function module.
Thanks in advance.
Regards,
Kumar.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Delete target groups from campaign

    Hi,
    We are using crm 5.0 and want to archive target groups, but before they are archived we need to delete the target group from the campaign where is it used. Does anyone of you know about a program for this?
    Thanks, Camilla

    Hi Camilla,
    I guess you need to follow the Standard SAP Archiving procedure:
    First the Campaign needs to be set to Status: Finished or Rejected.
    Under the TG properties set the status of the TG as to be archived.
    Check the residence time for archiving.
    To have more detailed information on this please kindly check the link below:
    http://help.sap.com/saphelp_crm50/helpdata/en/09/72f63ad65c3b5ce10000000a11402f/frameset.htm
    Programs available for Segment Builder archiving are as follows:
    The following programs are available for the archiving object CRM_MKTSET:
    ·        CRM_MKTTG_SET_WRITE_ARC (write)
    ·        CRM_MKTTG_SET_DELETE_ARC (delete)
    ·        CRM_MKTTG_SET_LOAD_ARC (read)
    The following programs are available for the archiving object CRM_MKTTG:
    ·        CRM_MKTTG_TG_WRITE_ARC (write)
    ·        CRM_MKTT_TG_DELETE_ARC (delete)
    Hope this helps,
    Regards,
    Naveen

  • No survey determination in activity when assigning target group

    Hi Gurus, how are you?
    I`m pretty new to Marketing so I really need your help if possible. I`m using CRM 7.0 and the thing is that I have created a Questionnaires with no problem whatsoever. Then I`ve created a Campaign and again I did it with no further errors.
    However I think my problem is in the determination criteria for Questionnaires. For example, I have define the questionnaires determination for a business activity establishing the ID Determination, Description, validity, Transacction Type but without specifying any Criteria Set ID. When I save this customizing and go to to IC to create the transaction type (the same one used in the determination) the Questionnaire is determined automatically which si correct.
    The problem arises when I define a Criteria Set with its corresponding description, the Object Type BUS2010020 (Campaign) and the Object Key which is the campaing created before.
    After making this definition, if I go to "Determination for Questionnaires:Business Activity" and make a new entry with Determination + Description + Validity + Transaction Type + Questionnaire ID + Active Check + Criteria Set, then when creating the transaction type beforementioned the system does not determined the quesionnaire any more. However, if I delete the Criteria Set from that entry and create the same transaction type again, in this case the system does determine the questionnaire.
    Could you please help me?
    Thank you very much,
    Regards,
    Lore

    Hi Lorena,
    The criteria that you have in Criteria Set might not be matching what you enter without the criteria set. You might want to recheck that. And as far as I remember, you can't setup questionnaire determination for campaigns.
    Regards,
    Shiromani

  • Target group changing

    Hello All,
    I've created TG "My TG" and attached it to a campaign "My campaign". I released campaign and transffered a group to a channel(call list in my case)
    After that I want to add additional BP to "My TG" and attach this group to the same campaign.
    According to help.sap.com I should delete the target group from campaign , change it and attach it again.
    But when I tryed to delete TG from campaign I got error message "Segment already transfered to a channel".
    Some suggestion?
    Is there some another way to add additional BP's to existing  target group and attached it to the same campaign?
    Thank you very much

    And to just make it more clear :
    and here is the SAP help on the subject:
    Transport Layer in ABAP Workbench
    The Change and Transport System supports the distribution of development work on large projects across multiple SAP Systems.
    The packages in each development system are grouped into one transport layer.
    The transport layer determines whether objects are assigned to a local or transportable change request.
    Use
    Each of your SAP development systems is assigned a transport layer as its standard transport layer. If you use Extended Transport Control, you can assign different standard transport layers to certain clients.
    You can define at the most one consolidation target for each SAP System and transport layer.
    When you create a package, it is assigned the standard transport layer of the SAP System.
    If you want to assign a different transport layer to a package, you require the administration authorization for the Change and Transport System.
    The objects in a package automatically have the transport attributes defined for the corresponding transport layer.
    If a consolidation route originating in their SAP System is defined, then the objects are assigned to a transportable request, and transported into the consolidation target when it is released.
    If a consolidation route is not defined, the objects are assigned to a local request, and are not transported.
    Customizing settings are not assigned to a package. They have the transport attributes of the standard transport layer of the system or client.
    It is best to assign a package a standard transport layer for which a consolidation route originating in the development system is defined.
    To display and maintain the transport layers and routes, use the Transport Management System (transaction STMS).
    Only the system adminstrator can make changes.
    Caution:
    The tables TSYST, DEVL, TWSYS, TASYS are no longer productive as of Release 4.0A and cannot be maintained.
    Best regards,
    Menelaos

  • Target groups and marketting compaigns

    Hello all,
    I am seeking for information about target groups and campaigns,
    Where target group ID and compaign ID are stored?
    Where can I find function modules that returns all bp's belongs to target group, and all target groups belongs to campaing?
    All help wil be appriciated,
    Rika

    Hi Rika,
       You will find campaign detials in table CGPL_TASK. Use function module CRM_MKTTG_TG_READ to get all bp's belong to target group.
    Thanks
    Swagatika

  • Transport target group

    Hi All,
    We have one transport target group  /DEVALL/ .Which we deleted and created two target group for importing into different client as /DEV100/ and /DEV200/.
    Now alll transport request which has been assigned to /DEVALL/ are coming as a local request and after released they were not going to import in any of the client.
    Please let us know the way by which we can assign new target group (/DEV100/ and /DEV200/) to all these change requests (TR's).
    As we can manually  assign target to change request at the time of import.But we want to find out the way of assign target group before releasing the TR's
    Thanks in advance for your valuable and fast response.

    Hi Sumit,
                 I am only aware of making this change using transaction se09 and se10. You select the change request number 'Not the task' by double clicking on it. In the resulting screen, select the properties tab. The 'Target' field in the screen can be used to perform the reassignment.
    Sajit

  • 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

  • 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

  • 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!

  • 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>

  • 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

Maybe you are looking for

  • Is it possible to install windows 8 on my mac with booth camp???

    I would install on my macbook pro windows 8. Is it possible with booth camp?? if not, what is a good software (free)?? Sorry for my bad English...

  • How can i modify or delete desktop files and folders in Mac OS 10.6.8 ?

    i have Macbook pro running on Mac OS X, Snow Leopard ver. 10.6.8 . I am not able to delete rename and modify my desktop folder and files. even through the admin account and all previleges i cant move them to Thrash. as i try to delete them it asks fo

  • Connecting Cable Internet to Time Capsule

    I know this is dumb, but I'm tired! I'm trying to set up Time Capsule using my cable internet. Time Capsule obviously does not have a coaxial cable port, so how do I actually get my internet feed into the Time Capsule? Do I need to keep using the rou

  • Display messed up when mirroring through macbook pro

    When I mirror my macbook pro the tv only shows the top left area of my computer screen like its zoomed in. anyone know how to fix it?

  • Select all rows in af:table

    Hi, I need to select all rows in af:table, not only on current page. I have following code on custom select all action: getTable2().getSelectionState().addAll()and on button that needs to perform some action on selected rows I have this code