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

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

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

  • 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

  • While creation of a equipment and assignment of personnel number

    Hi
    I have activated partner function to the Equipment catagery.
    While creating equipment using T.code IE01,  I am assigning personnel number to the person responsible partnerfunction.
    After that personnel number getting defaulted to operator field as per config setting.
    I can create equipment and assign person responsible succussfully.
    But at the time of assignment of personnel number with partner function person responsible,  I am getting information messege always like
                     " No customer master record exists for customer 10003511"
    I would request you please suggest how  to "delink the above message" while creation of a new equipment and assigning the personnel number.
    Thanks & Regards
    CHSR

    Hello
    Please check the personal Number is active or exists in HR Master with its validity.Use TC for checking PA20 for checking the same.
    Regards,
    Rakesh

  • 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

  • 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

  • Creation target group in CRM from SAP BW by Bex.

    Hi,
    I  am using RSCRMBW_TG_GENERATE_BUPA ABAP report to generate target group in CRM from Bex Query . On exection target group is created  in CRM but no record (business partner ) is transferred across .  I have assigned role "SAP_BW_CAMPAIGN_MANAGEMENT" to my user ID  and i have SAP_ALL authorization in user ID.
    Thanks
    Romita

    Hi Nimia,
    Did you manage to resolve this, I am having the same problem. I am not getting any errors and the target group is created but there is no data in the target group.
    Thanks,
    Rue.

  • 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

  • Segmentation and Target groups

    Hi,
    Is there a way to create sub-sets of Target Groups so that whenever users run a campaign, the system does not have to go back todatabase tables to filter data, but it is done in sub-sests only to enhance system performance.
    Regards,
    Monica

    Hi Pooja,
    which version of the product do you use? CRM 2007?
    Scenario 1) I need to combine 2 profiles with an 'OR' condition and create target groups out of the combined profile. How do I accomplish this? Is there any method to combine profiles in the Graphic Modeler?
    => You could have 2 profiles in a profileset and create the target group for the complete profileset. Then the results are "OR combined".
    => Alternatively you can create a new profile which consists of all attributes and create a target group for this profile.
    Scenario 2) If we have 2 profiles and a target group in a profile set how do I create a Target Group for all the BP's in the Profile set. The only selection criteria in the Graphic Modeller for me right now is Attribute lists. How do I select Target Groups and Profiles
    => Just create the target group for the complete profile set, then one consolidated target group is created.
    Does this help?
    Regards, Guido.

  • Combine Profiles and Target Groups -Segmentation

    Hi Experts,
    I have a requirement where I will need to join profiles with other profiles and Target groups. I checked in help.sap and I saw the following sentence regarding combining the profiles.
    In addition to attributes, you can also combine profiles with other profiles and with target groups.
    Example
    You select a profile from the components area, drag it onto an existing profile in the staging area and choose keep. The resulting profile contains the attributes contained in both profiles as inclusive conditions.
    How do I get the Profiles and the Target groups in the Components area? I can only view the existing Attribute lists. Is there any setting that I have to make to see the existing profiles and target groups ?
    Any help will be greatly appreciated.

    Hi Pooja,
    which version of the product do you use? CRM 2007?
    Scenario 1) I need to combine 2 profiles with an 'OR' condition and create target groups out of the combined profile. How do I accomplish this? Is there any method to combine profiles in the Graphic Modeler?
    => You could have 2 profiles in a profileset and create the target group for the complete profileset. Then the results are "OR combined".
    => Alternatively you can create a new profile which consists of all attributes and create a target group for this profile.
    Scenario 2) If we have 2 profiles and a target group in a profile set how do I create a Target Group for all the BP's in the Profile set. The only selection criteria in the Graphic Modeller for me right now is Attribute lists. How do I select Target Groups and Profiles
    => Just create the target group for the complete profile set, then one consolidated target group is created.
    Does this help?
    Regards, Guido.

  • Target group with attributes of persons and organizations

    Hi,
    we are using marketing attributes for persons and organizations.
    Now, we want to realize a segmentation for organizations with marketing attribute “productgroup xyz” and persons with marketing attribute ”decider”.
    Is it possible to combine organizations with marketing attributes and persons with marketing-attributes in one target group?
    thanks

    Hi,
    thank you very much for your answers!
    I’m sorry, I think my description was too short. I have the following situation /  problem:
    I am using InfoSet CRM_MKTTG_BP_ORG with business partner BUT000-PARTNER_GUID.
    My person datasource based on Info Set CRM_MKTTG_BP_ORG and business partner BUT000_PER-PARTNER_GUID.
    Furthermore I’m using an attribute Set for organizational attributes and an attribute set for person attributes.
    Now I want to build up a target group with persons who have specific attributes. The persons should be members of organisations with specific attributes.
    Example:  Persons with attribute “decider” should be member of organizations with attribute “productgroup xyz”.
    We are using SAP CRM 5.0. I added the function modul CRM_MKTTG_PF_BP_TAB_TO_CP in my organization Datasource. 
    But I have problems to build up a profil set and a target group where I can combine the attributes of the organizations and the attributes of the persons. The counting result is ‘0’.
    I hope my description is understandable. Thank you in advance!
    Volker

  • Regeneration of Target Group

    Hi crmguys,
    We have the following case about the Target Group in CRM Marketing:
    Already Generate a Target Group in Segment Builder on x date
    A Campaign has been created and the Target Group has been assigned to this Campaign
    After that some changes has been done at the time of releasing the campaign,
    shall i have to regenerate the target group or not to get the exact target group accroding to attribute list
    thanks in advance
    Raj

    hi
    you said you already maintained the target group ,so when you release the campign its pretty simple,if you have maintained the target group using the same set of attributes which are there in your attribute list,then you need not create the target group again
    but if thats not the case then you need to regenerate the target group on the basis of attribute list,infosets or BW query,using whatever you want to do the segmentation.
    target group once assigned to the campaigns can be used again and again but on the basis of which target group are assigned is very crucial.this must be remembered every time we do segmentation.
    besides you can maintain a background job for scheduling the target group assignment to the BP too,so that once target group is generated it is assigned automatically for segmentation.
    best regards
    ashish

  • Creation of campaign from template through program in web ui

    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

    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

Maybe you are looking for