Reg:Target group in Marketing Segments

Hi All
I need to restrict the Target group member list to certain number in the target group of Marketing Segments.
Could you please guide me on this.
Do we have any class like 'CL_CRM_OPPORTH_RUN_BTIL' which we have for Opportunities.
Best Regards
Anil Mula

HI
I have solved this on my own.
Thank you.
Best Regards
Anil Mula

Similar Messages

  • Enhance output of Target Group opened in segment builder

    Hello Experts,
    We are implementing SAP CRM Lean Marketing using CRM 7.0. Our business requirement is to do segmentation based on Company attributes and Relationship Category. The output of the target group should enlist the persons related to the Company based on the relationship category selected while doing the segmentation.
    Using standard InfoSet CORM_MKTTG_BP_ORG_CDE and while creating data source selecting BUT000_PER-PARTNER_GUID in the field business partner, we are able to get the list of persons matching the segmentation query (based on the relationship category e.g. Has Supplier, Has Contact Person, etc) . But the issue is , the output of the target group (shown as an ALV grid , when the target group is opened in segment builder) only enlists matching Persons, it does not enlist the related company ID /name in front of the Person ID in the output of the target group. And this Company BP ID is not available if I try to modify the output layout. So business is unable to understand the Person enlisted in TG belongs to which Company. Can we enhance this ALV grid output of the target group displayed in segment builder ? if yes , how can it be achieved ? If this is possible and we are able to add related company BP ID/ name in front of every person enlisted in the target group then our issue gets resolved. Or is there any alternative solution to resolve this issue ?
    Highly appreciate your early response in order to resolve this critical issue.
    Thanks and Regards
    Ambar
    Edited by: AMBAR ADHAV on Sep 10, 2011 11:52 AM
    Edited by: AMBAR ADHAV on Sep 10, 2011 2:21 PM

    Naresh,
    Thanks for the response.
    As per your suggestion I made additions to my z Infoset , and added all the fields you suggested.
    While creating the data source I selected following fields
    Business Partner: BUT000_PER-PARTNER_GUID (as my requirement is to return Persons and this field works with only GUID)
    Reference Object: BUT051-RELNR
    Reference Object Type:  BUT051-RELTYP
    Now when I create the target group with this data source unfortunately I am still not getting the the relationship number when I click in Show assigned Objects in the target group screen of web UI.
    Please suggest where I am going wrong
    Thanks
    Ambar

  • Target groups in Marketing....Urgent

    Hi,
    I have created a Profile set and Target groups  in the profile set. i have executed the campaign for that.
    My Question, is can i add the target group created earlier to the another profile set, if so How?
    I am in urgent need of documentation of the same.
    Regards
    Yaswanth.k

    Please read carefully the rules regarding target groups in CRM Segment Builder:
    <i>-A target group can exist without reference to a profile. If so, it must however reference a profile set ("lies in profile set..") or as a subset, if present ("is attached to profile set ...").
    -If a target group is created with the profile set reference "is attached to" (that is, to a subset), it will have the status "active"; and any available target groups of the profile of the subset will be set to "inactive".
    -A target group with profile reference always has a set reference ("lies in profile set ..").
    -A target group with profile reference cannot be attached directly to a profile set.
    Within a profile set, a target group without profile reference is represented by an icon indicating a single target group.</i>
    <i><b>-You cannot move target groups from one profile set to another, however you can copy existing target groups.</b></i>
    The documentation is available here:
    http://help.sap.com/saphelp_crm50/helpdata/en/b6/ef0b3bcbe24b74e10000000a114084/frameset.htm
    If by "add target group to another profile set" you mean to say "COPY target group to another profile set", then yes it is possible to do it.
    As for the "how" ... please read the help again:
    <i>To copy a marketing segment, select the required segment in the staging area of the Segment Builder and choose either the Copy pushbutton or choose Copy Segments from the context menu. If no individual segments are selected, the entire profile set is copied.
    You can choose whether the copied segments are created in a new profile set, an existing profile set, an existing subset, or in a new subset of an existing profile set.</i>
    http://help.sap.com/saphelp_crm50/helpdata/en/1c/611d429e66da2ce10000000a1550b0/frameset.htm
    Hope this helps,
    Rahul
    PS. Please mark all helpful answers. If you question has been answered, please mark it as such so that the forum stays clean!

  • CRM Target Groups and Product Segments - BW and BPS settings

    Hi gurus,
    I have some questions regarding the CRM Target Groups and Product Segments as it relates to BW and BPS planning layouts.
    1. When a target group is created in CRM, is it supposed to also be create master data entry for the object 0TGGRP_ID in BW? If it is, what kind of settings need to be made to ensure that? When we create target groups in our CRM instance, we donu2019t see the master data being updated for the  0TGGRP_ID info object.
    2. Where exactly (in BW) is the relationship between the target group and the underlying customer/business partners  stored/updated? We have a requirement to use target groups for defining the trade promotions and still being able to explode and plan on (individual) customers in the embedded BPS Planning layout. I believe that we need to have target group and associated customer assignments stored somewhere (?) in BW and use BPS characteristic relationships to populate all the possible combinations for a target group ID being passed from CRM. Am I correct in my assumptions? Any ideas if SAP has already delivered something similar in the BPS business content for TPM? 
    3. We are planning to use product segments to define the trade promotions as well. I believe BW info object is 0CP_SEGMENT. Similar to what I mentioned in Question 1, I donu2019t see any master data being updated for 0CP_SEGMENT. Am I looking at a wrong BW object or missing some key settings?    
    4. Where is the relationship between a Product Segment and the associated products stored/updated in BW?  How do I create a trade promotion using a product segment and make the BPS planning layout populate individual products in the lead column?
    Thank you for your help

    Hi Anna,
    After reading your post, what i understand is that there is no existing relationship present in CRM system between the Org BP and the contact person BP.
    As per my Knowledge in order to create a Target group with Contact Persons you should have an active relationship persent in the CRM system bewteen the BP and the Contact person.Now as your sceanrio suggests that the Contact person's are present in the BW system but not in CRM, i would assume that the relationship also exsits in the BW . So if it does then your BW team should be able to help you in creating the necessary infocube with there analytical tools and you can then use there cube as the datasource and create the necessary Target Group with Contact persons.
    Comming to the second part of your question, your guess is absolutely right but to give you more detailed infomation , the BP ID is converted in a unique GUID and this is passed into the program to retrive the necessary information from the BP after the campaign is executed.
    Hope this helps!!
    Regards,
    Naveen

  • 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

  • Enhance output of Target Group in segment builder

    Hello Experts,
    We are implementing SAP CRM Lean Marketing using CRM 7.0. Our business requirement is to do segmentation based on Company attributes and Relationship Category. The output of the target group should enlist the persons related to the Company based on the relationship category selected while doing the segmentation.
    Using standard InfoSet CORM_MKTTG_BP_ORG_CDE and while creating data source selecting BUT000_PER-PARTNER_GUID in the field business partner, we are able to get the list of persons matching the segmentation query (based on the relationship category e.g. Has Supplier, Has Contact Person, etc) . But the issue is , the output of the target group (shown as an ALV grid , when the target group is opened in segment builder) only enlists matching Persons, it does not enlist the related company ID /name in front of the Person ID in the output of the target group. And this Company BP ID is not available if I try to modify the output layout. So business is unable to understand the Person enlisted in TG belongs to which Company. Can we enhance this ALV grid output of the target group displayed in segment builder ? if yes , how can it be achieved ? If this is possible and we are able to add related company BP ID/ name in front of every person enlisted in the target group then our issue gets resolved. Or is there any alternative solution to resolve this issue ?
    Highly appreciate your early response in order to resolve this critical issue.
    Thanks and Regards
    Ambar
    Edited by: AMBAR ADHAV on Sep 10, 2011 11:53 AM
    Edited by: AMBAR ADHAV on Sep 10, 2011 2:22 PM

    Hello Experts,
    We tried implementing BADI CRM_MKTTG_SEG_MEM_EX in order to add Company ID/ Name , but the issue is the BADI gets Input as persons BP id, nothing else, due to this if a person is having relationships with multiple companies, the BADI is unable to identify which company to choose as Relationship Category is not available to the BADI. And further issue is if a Person is having same relationship category with 2 companies e.g. Supplier for company A and for Company B too , in this case too the BADI is unable identify correct Company to return to the target group output
    Is there someting in the Infoset that can resolve our issue ? How can I make available the fields in the infoset to the ALV output of the target group. Using SQ02 I am able to add fields to the field groups for selection in segmentation, but can anyone guide, how to make the field available in the output list ?
    Please provide your technical assistance
    Thanks
    Ambar

  • Segment Builder: 'Business partner does not exist in target group'

    After having built a target group in the segment builder the following error message occurs: 'Business partner does not exist in target group'. What is meant by this error message and what has caused this error?

    Hi Mahesh,
    Are data sources based in infoset¿? If the are based in infoset u can do simple queries.
    I create infoset in t-code 'SQ02', once the infoset has been created u can go to 'Enviroment' --> Queries, and here u can created simple queries based in the infoset. With this tool u can check if this infoset has been created sucessfully.
    Hope it helps u.
    Regards,
    Mon

  • Changing archived status for target group or segmentation model.

    Hello, CRMies!
    In SAP CRm WEBUI i set "To archive" flag for segmentation model and now it has status "Archived". The problem is hat it became inactive now and i can't reset this status. I didn't execute any archiving reports, just set the flag on.  I was looking for any FM or reports to recover the status.
    Anybody knows how to unarchive segmentation model or TG?

    Hi Katya,
    as far I know the segmentation model is archived with the next scheduled archive run once the status 'to be archived' is set. The status can be undone before the archive run, once this is archived there is no way other then generating the segment again.
    Please refer to the online help about further information:
    Archiving Segmentation Elements - SAP Library
    For target groups andproduct segments there is also a read program in transaction SARA, which you can use to display the archived segmentation elements again at a later point in time, if required.
    Furthermore, the information structure SAP_CRM_MKTTG_I is available for target groups and product segments in the transaction SARA.
    You can not only read, but can also load archived segmentation models into the system. However, you should only use this function when it is absolutely necessary. For further information, see Reloading Archive.
    Since you cannot load target groups or product segments into the system, you need to generate these again to be able to use them.
    I hope this helps.
    best regards,
    Johannes

  • Creating New Target Groups in Background - is this possible?

    We are currently working on CRM 4.0.
    We have created some custom infosets for criteria that we wish to segment our data by. However when we try and run this using the segment builder a time-out short dump occurs.
    Does anyone know of a way to create the target groups through the segment builder via a background process that means we could avoid the time out issue?.
    Many Thanks
    Caroline

    Hi Caroline,
    I am sorry. I wrongly wrote it as Segment builder. But, as you correctly said,.... we can send target group to channel in marketing planner only.... not segment builder.
    But, as you are saying that you have a problem in the segment builder when creating the target group........I guess when you right click on the profile set to build the target group, we also have an option,.... something like....."Build target group in background".
    I am not sure, as i am not infront of the system. But, please check for this ......
    Reward points if it helps....
    Thanks.
    Sindhu.

  • Synchronization of Target Group with BW

    Hi,
    In SAP Library, it is mentioned that "To keep target group information in the BW System up-to-date, CRM and BW must be synchronized. You activate this synchronization by choosing the Synchronization with BW indicator from the properties of the target group. "
    The link is : http://help.sap.com/saphelp_crm50/helpdata/en/2b/59dc46c50911d3b29b0050da3ee986/frameset.htm
    When I open the Target Group Properties in Segment Builder, there is no field for setting this indicator.
    Can someone please help.
    Regards,
    Monica

    Hi Monica,
    Unfortunately I am not a BI expert. But the best practice document "Essential Information for SAP Best Practices for BI" might give you some insight. Please refer to the document
    <b>Reward if helps,</b>
    Regards,
    Paul Kondaveeti

  • XSLT transformation error when importing target group in CRM Survey cockpit

    Hi,
    I created a target group using the segment builder and exported that to a local file. Then when creating a survey using CRM survey cockpit (tcode: SURVEY) and trying to import the same target group from the local file; I get an error :
    "Error when applying a XSLT transformation"
    System Response
    Data transformation cannot be executed. Application functions that depend on the transformation cannot be executed
    I tried various file formats : RTF, TXT, XLS, HTML but still I get the same error. Export to XML option is neither available while exporting from segment builder nor while importing into Survey cockpit. The target group is not empty.
    Are there any settings to be maintained to resolve the error ?????
    Dhaval.

    Hi Suhel,
    Thanks for the response... as far as my understanding goes, the crm survey suite can be used for maintaining questoinnaires that are transaction specific. also the functionality of question tables and rows is not available in the survey suite but is available in the survey cockpit (tcode: SURVEY).
    However the same does not allow me to refer to the target groups created using the segment builder.... Is there a way I can use the target group created through the segment builder in the survey cockpit ????
    Dhaval.

  • How to create a target group with all prospects?

    Hi guys,
    I am wondering how do I have to set up my data source when I would like to build a target group in my segment builder which includes all persons/contacts/organizations with the bp role prospect?
    Which infoset do I need to choose in my data source? What do I need to fill under details?
    Thanks a lot for your help.
    Best regards,
    Janine

    Hi Janine,
    What I could understand is that you require to create target group of all BPs having BP role as prospects.
    To do so, you can create an infoset joning tables BUT000 and BUT100. The table BUT100 , has a field "BP Role"->select it, so that it is available when you are creating the attribute list using this infoset.
    Create a data soucre for this infoset. Then when creating a attribute list, include this datasource and under this select the attribute "BP Role". Add filter to this attribute for prospects.
    This filter can be used in segmentation builder in UI to create TG containing BPs having BP role as prospect.
    Hopes this helps you.
    Thanks,
    Apoorv

  • Rule-based reducing of target groups

    Hi,
    When you use the reduction rule; 'percentage-based, first entries' on a target group in the Segment Builder, what will 'first entries' mean? First, I thought that it depend on the layout sorting, but now I am unsure. Can anybody help me??
    Thanks,
    Camilla

    Hi again!
    It works the way I thought for percentage-based. It gives me the first entries in the list in Segment Builder. However,there seem to be some bug with the rule; Absolute, first entries. I working in CRM 3.1, have anybody heard about this issue? Is there an available note?
    Regards Camilla

  • Target group to channel

    I have created  a new campaign and assigned products , channels and taget group to campaign.
    i have changed campaign status to ' Released'.
    When i m trying to send Email to Target Group , that option was grayed out . Please le me know if i need any changes .
    Regards,
    Ravi kumar

    Hi Ravi,
    Can you please check for following settings are maintained
    In the Campaign Screen.
    Basic Data Tab
    Piority : high/medium
    Transfer to ERP : Generally should be unchecked
    Status : Released
    Campaign Element Screen
    Channels Tab
    Communication Medium : INT
    Form for Email : ( maintain the mail form which you want to send)
    Work flow task : CA1 Send target group to channel
    Segmentation Tab
    Maintain target Group
    Go to the campaign automation screen using F5
    Drag and drop the start node and element side by side and connect using connection
    In the start node of the campaign automation
    schedule the campaign
    After starting the campaign check the status and log in the start node as well as element in the campaign automation screen.
    Status should be released
    Log should have completed.
    Hope it helps
    Please reward points if it helps.
    Regards,
    Madhu

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

Maybe you are looking for

  • Issue Regarding Training and Event Management

    In development system we are unable to book resourses to business event.This is happening because of inactive tab resourse selection under tab Edit. Also this can not be done through pp01. Please suggest solution for this problem Thanks. Edited by:

  • VMware Fusion.. PC(on the Mac) compality

    I work at an Education Foundation within a hospital and we have an Auditorium with a windows based live production suite. we are wanting to upgrade to a Mac because we want Final Cut Studio for editing. if we purchase VMware fusion, can i install and

  • Itunes wont sync music to my iphone 4 after iOS 5 update

    after my iOS5 update on my iphone 4 Itunes changed a few settings. I had it set up that my iPhone would have music and no photos synced. And my iPad2 All Photos would sync and NO music. After the update and sync, my iPhone will not sync Music, With i

  • MySQL installation in Snow Leopard Server appears to be broken?

    I tried sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config and it failed. The mkmf.log said (in part): "gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DXOPENSOU

  • GR value to be apportioned over n years

    Hi All, We have a peculiar scenario in our client business. Below is the scenario Our client buys packaging material from vendors say (Qty of 300 ) and receives them in the system through GR. After receving them these boxes are issued to the farmers.