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

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

  • BAPI to build target group for segments

    Hi all,
    I looking for a BAPI that builds target group for segments and not for profile sets.
    Transaction CRMD_MKTSEG allows to create TG in two ways :
    - Build for Profile SET
    - Build for Selected segment
    BAPI_TARGETGROUP_CREATE is like u201CBuild for Profile SETu201D, since it requires a profile set guid as input
    I have not found anything to u201CBuild for Selected segmentu201D, putting as input only a Profile.
    The reason is that I need to "refresh" every day the target group and it is possible only if I create a TG for segment and not for profile set. In this second case the TG is frozen and no more refreshable,
    Thanks.
    regards
    Emanuele

    Hi Emanuele,
    There are three types of Segments:- Profile Sets, Target Groups, Profiles. 
    (You can check this yourself:- Go inside Find segments, then choose Advanced Search. You will get option to find Marketing Segments based on whether they are Profile sets or Target Groups or Profiles )
    It means Profile Sets is also a type of Segment. So i am bit confused with your question.
    If i understand your question correctly, you simply want to create a target group which should be refreshed automatically on a daily basis.
    You can very well achieve this daily refresh by building the Target Group in Background Mode. While creating a Target Group there are two modes possible :- 1)Build Target Group in Dialog Mode 2)In Background Mode.
    So u need to build your Target group in background mode and While creating the Target Group in Background mode:-
    Select the Checkbox "Active"
    Do not select the checkbox "Modelling Completed".
    Hope this helps in resolving your issues.
    rgrds,
    Randhir

  • 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

  • Target Group creation & Segmentation

    Hi Friends,
    Can you tell me the use of the toggle buttons OR/AND WITHIN AN ATTRIBUTE / OR/AND ACROSS ALL ATTRIBUTES below the Attribute Lists in the Segment Builder.
    I my Project there is a requirement where the Client wants to use OR & AND CONDITIONS while creating a Target Group.
    Thank you,
    Rajendran S

    Hi Rajendra,
    When you have more than one filter to create a target group then use these toggle buttons to set AND / OR conditions between filters of different attributes or different filters of same attribute.
    OR/AND WITHIN AN ATTRIBUTE :
    If you have two filters with in same attribute, select two filters and while drag and drop the condition you see in toggle button will be set between two filters.
    Ex: If Toogle button is set to : OR WITHIN AN ATTRIBUTE
          Attribute : City
          filter1:  Havana
          Filter2: Atlanta
    select two filters and drag and drop to the work area, then an OR condition will be set between two filters
    If Toogle button is set to : AND WITHIN AN ATTRIBUTE
    Then the condition between two filters will be AND.
    Similar functionality with other toggle button OR/AND ACROSS ALL ATTRIBUTES.
    Thanks,
    Priyanka

  • How to create master group in Portal - Segment Builder?

    Hi All,
    May i know how to create master group by using existing target group in segment builder PCUI in portal?
    I manage to do it in sapgui:
    tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
    I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
    Can guide me on this?
    Appreciated your guide. Thanks.
    Regards,
    wyee

    Hi All,
    May i know how to create master group by using existing target group in segment builder PCUI in portal?
    I manage to do it in sapgui:
    tc: crmd_mktseg_mgr -> create new master group -> assign existing target group -> execute button -> master group is created.
    I tried in portal: click on segment builder tab -> search existing profile set -> open existing profile set -> click on target group tab -> mark one of target groups -> click on Master group button -> save changes -> go back to sapgui crmd_mktseg_mgr -> search for all the master groups -> i dun see result that i did in portal.
    Can guide me on this?
    Appreciated your guide. Thanks.
    Regards,
    wyee

  • 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

  • Creating Target group

    HI all,
    I am trying to create the target group in Segment builder, for which I have done the following settings
    1)I have maintained Attributes and attribute set,
    2)i have assigned attribute set to Business partner.
    3)I also have created Data source here i have maintained
    Origin type as attribute set
    maintained name of attribute set
    function module used Cross-selling: function module CRM_MKTPR_PP_CS_TG_READ,and description.
    4)Created attribute list as follows
    Description_______
    Category:Product proposal
    Segment type:Product Proposal and saved.
    Then assigned data source and highleted what ever attributes required to display in Segment builder.
    The issue here is:
    When i go to Segment builder(crmd_mktseg):
    in Segment builder when i tried to create profile set for product proposal the system is asking for Profile set description and Master group.
    and i am unable to drag and drop profile set onto staging area and create target group.
    can u/any one advice me in this regard/
    Thanks in advance.
    mdv.

    Hi mdv,
    For the purpose of creating your target group, the name of the profile set is of no importance. CRM just requires that you do create the target group within a profile set. That being said, when you create a profile set and system asks you for profile set description and master group, just put any words in the description field that is meaningful to you, and don't select anything in the master group.
    Once this is done, you will need to drag and drop your 'filter' that you created for your attribute list into the staging area. Then, one very important step (which I missed in the beginning and it took me 8 hours to figure out) is that you need to click on the 'Count' button. Once you see a number on the target group, it means the filter is working. From there you can create your target group and open it for list export.
    Hope this helps.
    Leon

  • Creating the Target group

    Hi ,
    i would like to create the target group in segment builder.i got the list of business partners.how to create the target group using this list(excel sheet)
    your help would be appreciated.
    Thanks,
    kenny

    In CRM4, Segment Builder (CRMD_MKTSEG)
    Create New Profile Set
    Right click in main window area and select Create Target Group
    Right click on New Target Group, select Properties
    Click on the Load File and Create New Target Group tab
    Follow directions there:
    The file must contain a column with BP number or BP GUID.    
    The file must be an ASCII file (e.g. *.txt or *.csv).        
    The first line of the file must contain the column heading.  
    The columns must be separted with ; or ,                     
    The new target group receives inactive status.                                                                               
    BP Column                                                                               
    Action          1 Add Business Partner to Target

  • Editing Target group Post process

    Hello,
    I would like to know if there is a possibility to edit a target group of Segment builder  for a certain action. Some business partners of a target group should not be contacted for example. But this should just be done done for a certain action or campaign, it's should be a permanent change.
    Kind Regards
    Joachim Bertram

    Thanks for your reply..
    You are correct! Let me try.. Actually am doing,
    HashMap<String, Serializable> parameters_recon =
    bulkOrchestration.getParameters();
    but actually i should do,
    HashMap<String, Serializable>[] bulkParameters = bulkOrchestration.getBulkParameters();
    I am trying now and get back to you...

  • In PCUI - Not able to select Attribute list in segment builder

    Hi experts,
    I have CRM 5.0 PCUI, It is not showing the frame which I can choose Attributes list in order to create profile groups and target groups for Segmentation
    I'm looking for something similar as tcode: CRMD_MKTSEG in SAP GUI.
    I have already assigned Marketing Manager/Assistant in my profile.
    Am I forget anything ?
    regards,

    Hi ahm,
    Kindly assign the CRMD_MKTSEG role from GUI to u r User and for portal assign standard iview of Segment Builder and u'll see the tab Segment bulider in u r PCUi screen, u can create Attributes list, profile groups and target groups for Segmentation.
    Hope it'll help u .
    Thanks,
    Dipesh.

  • 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

  • Dedeplication method in Target group/segmentation

    Hi Gurus,
    I am having two question to ask,
    1) How to create Master group ? and using tagret group ?
    2) How to use Deduplication method in Target group/segmentation ???
    Please give step by step suggesion.
    Suggesion will be appricited by good points.
    Thanks in advance.
    Dipesh

    Hi Dipesh,
    With respect to your questions
    1. Master group
    Master group is a subset of all BP in which you would like to create a target group.
    Like you have BP across world in your system and you would like to create a master group for country like India and US.
    So these will form as the master group and when you would like to run a campaign you can restrict it to run only in India or US by selecting your master group in the segment builder screen and creating a target group
    There are few standard master group creation programs and you can infact build your own master groups also based on a Z program and assigning this master group to your segment category. You can make it as a mandatory for the user to select the master group.
    You can create a target group from a master group.
    2.Target group is nothing but bringing all the BP to whom you would like to target or run a campaign against. These are created from the attributes assigned to a attribute set which is again assigned to an attribute list. This attribute list is called in the segment builder screen and select the attributes in the profiling area to form a traget group and when you right click you will find the list of all BP that satisfy your criteria.
    For more details you can also folow this link
    Master group
    http://help.sap.com/saphelp_crm50/helpdata/en/2e/0f050769001a4eb8ceaa87dc7dba1a/frameset.htm
    target group
    http://help.sap.com/saphelp_crm50/helpdata/en/2e/0f050769001a4eb8ceaa87dc7dba1a/frameset.htm
    De duplication of segment
    http://help.sap.com/saphelp_crm50/helpdata/en/2e/0f050769001a4eb8ceaa87dc7dba1a/frameset.htm
    hope this clarifies and reward points if useful
    Thanks
    Srini

  • View List of BP's in Segmentation Basis and Target Groups

    Hi Experts,
    We are using Segmentation Basis for Segmentation. When I create the Segmentation Basis using WINGUI I see that the list  of Business partners in the Segmentation Basis is around 15,000 but I can view only 100 of them in the List output. Is there any other way where I can see all the BP's that are assigned to a Segmentation Basis/Master group.
    I have a similar issue with the Target Group members in a Target group. The Target Group to file export will save the file to an application server to which all the users will not access . Is there any alternate method to view all the BP's in a Target group other than the file export to the application server.
    Please Help.
    Regards,
    Pooja

    Hi Pooja
    I have the same problem with segmentation basis.
    I have created a segementation basis  for  certain number of targetgroup example: 500 members
    When  i am trying to create a new profile set by selelecting the created segementation basis , no target group was displayed and it is showing as Zero.  but  the target group is displaying in SAP GUI.
    Is anything i am missing , can you please let me know the steps for segementation basis procedure and how we can use them for further segementation.
    Thanks
    shashi

  • Segment Target Group

    Hello to all,
    I'm working on CRM 4.0.
    On Segment Builder Trx I've been created some Profile Groups within some Target Groups, when I creating Target and opening this one I see only Master Data BP but I need to see others datas, like customs Market Attributes.
    How can I view this otehers datas?

    Hey Guys,
    I am alos having problem witht the target group selection in the segment builder.
    I ma creatign the target group and opening up the Target group.
    I can see the list of BP present in the Target GRoup.
    But when I am trying to open the BP by Double Clicking on it a screen is opening up with
    "YOu are not Authorized to view this page".
    Any suggestions on how to avodi this error.
    We dont have any portal installed

Maybe you are looking for