Segment builder logic

Hello all,
I need some information of segment builder and hope you can assist me:
if I combine different attributes with AND / OR does the segment builder set brackets?
So if I choose attribute A or C and drag it to the profile and afterwards I combine it with D and E, does it work like (A or C) and (D and E) or like (A or C and D and E)?
Thanks for your help!
Regards Anne

Hi Anne,
To make the understanding more clear, let us take an example,
We have an attribute called Activity Channel which has two values FAX(A) and PHONE(C)
We have another attribute called Activity Priority which again has two values HIGH(D) and LOW(E)
- First you decide to combine attribute values of an attribute with OR:
  Attribute Activity Channel: Select FAX(A) OR PHONE(C) => You select all Business Partners who like to use the Activity Channel FAX(A) or PHONE(C)
- Next you decide to combine attribute values of an attribute with AND
Attribute Activity Priority: Select HIGH(D) AND LOW(E) => You select all Business Partners with Activity Prioirty HIGH(D) and LOW(E)
- Next you do AND select across all attribute (Multiple Attributes)
You can now decide to combine attribute values from different attributes with AND. You would like to select all BP who uses the Activity channel (FAX(A) or PHONE(C)) AND Activity priority (HIGH(D) and LOW(E))=> You select all business partners who Activity channel by FAX(A) or PHONE(C) AND Activity Priority HIGH(D) and LOW(E).
so finally, the answer for your question is it works like this,
(FAX(A) OR PHONE(C)) AND (HIGH(D) AND LOW(E))
so it is (A OR C) AND (D AND E)
I hope this answers your query and makes it more clear.
regards
Srikantan

Similar Messages

  • CRM: using BW cubes in Segment Builder

    Hello all,
    I am trying to use BW Cubes as data sources in the CRM Segment Builder uisng transaction CRMD_MKTDS. For this purpose I set up RFC destinations and logical systems in both the BW and the CRM 5.0 system. In transaction SM59 the connection test works fine, as well as the remote login.
    When I try to use the option "Business Warehouse Cube" in the data sources transaction and use the F4 help for the RFC destination, the system simply states "no values found".
    Is there anything else I need to configure for this to work?
    Thanks
    Thomas

    Dear Thomas,
       Did this get solved?
    Thank you,
    -Vijay

  • Creation of a Marketing Profile Set based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset thru the WebUI Segment Builder

    Objective: Creation of a Marketing Profile Set based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset thru the WebUI Segment Builder.
    Problems: Standard CRM_MKTTG_BP_BIRTHDATE Infoset DOES NEVER RETURN ANY RESULTS on the segmentation builder of the WebUI client (no matter the filter you specify).
    Other cases:  However if we create a new Data source with data "Extraction from Query" (transaction RS02) based on this standard CRM_MKTTG_BP_BIRTHDATE Infoset and we test the functionality using transaction RSA3, IT DOES RETURN RESULTS (using the same filters as in the segmentation builder)! Of course the segmentation builder works with other attribute lists.
    NEW: IF WE DON’T ESPECIFY ANY SEGMENTATION BASE IN THE PROFILE GROUP, IT DOES RETURN RESULTS!!! (GO TO THE END OF THE DOCUMENT FOR DETAILS)
    Steps followed:
    Review Standard Infoset CRM_MKTTG_BP_BIRTHDATE (Transaction SQ02).Review Data Reading Program code: do we have to change the standard code? We have only remove the "BREAK-POINT" statement.
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset (Transaction CRMD_MKTDS).
    Creation of an Attribute List based on that standard Data source and selection the Birth date as a filter in the Attribute list (Transaction CRMD_MKTDS).
    On the segment builder of the WebUI set any filter (Example: “TODAY”).
    Steps in detail:
    Review Standard Infoset CRM_MKTTG_BP_BIRTHDATE
    SQ02.
    (Image deleted)
    Review Data Reading Program code (Code attached)
    (Image deleted)
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset
    Data source: Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation - Maintain Data Sources and Attribute Lists: CRMD_MKTDS
    Create Data Source
    (Image deleted)
    Infoset: CRM_MKTTG_BP_BIRTHDATE.
    Business Partner Field: CRMT_MKTTG_IS_BIRTHDATE-PARTNER_GUID
    (Image deleted)
    Result:
    (Image deleted)
    Attribute List
    Creation of the Attribute List
    (Image deleted)
    Assign Data Source:
    (Image deleted)
    Selection of the Birth date as a filter in the Attribute list:
    (Image deleted)
    Result:
    (Image deleted)
    Segment builder of the WebUI:
    Access to WebUI with marketing role.
    Create Segment:
    Creation of Profile Set
    Graphical modeler
    Create Filter: We have already tried many different filters (we already seen notes referring to this matter).
    Example1: “today”
    Count target group. Here I would like to stand out that once you click on the “Count” option, immediately it shows 0 results. In other words, it doesn’t process any information. With other attribute lists it takes some time to process, no matter the filter or the attribute list you use. However if we create a new Data source with data "Extraction from Query" (transaction RS02) based on this standard CRM_MKTTG_BP_BIRTHDATE Infoset and we test the functionality using transaction RSA3, IT DOES RETURN RESULTS (with “today” filter and other)! So it seems that the problem has to do with the segment builder, not the Infoset.
    Result: it never return any results no matter the filter you specify.
    Other cases:
    Creation of a new Data source with data "Extraction from Query" where you enter the name of your new query
    Creation of a Data source based on the standard CRM_MKTTG_BP_BIRTHDATE Infoset
    Standard Infoset CRM_MKTTG_BP_BIRTHDATE:
    We fill the form and select “Extraction from Query”:
    Press SAVE and define which fields will be available for selection and which of them will be visible.
    RSA3: Extractor checker in order to test the Data source:
    We specify the Data source:
    IT DOES RETURN RESULTS:
    ALV Grid:
    NEW: It seems that it has to do with the Segmentation Basis selected in the creation of a Profile Set, because if we do not select any, it does return results. But we need to create this Profile Set based on a particular Segmentation Basis called BS Usuarios Registrados.
    Segment builder – Profile Set of the WebUISegmentation Basis: we leave it in blanc.
    Graphical modeler
    Create Filter: We have already tried many different filters (we already seen notes referring to this matter).
    Example1: “today”
    Count target group.
    Result: IT DOES RETURN RESULTS!!! àConclusion: the problem is the Segmentation Basis
    Define Segmentation Basis:
    Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation – Classic Segmentation - Define Segmentation Basis.BS Usuarios Registrados:
    Define Reports for Creating Segmentation Bases
    Transaction: SPRO – Customer Relationship Management - Marketing – Segmentation – Classic Segmentation - Define Reports for Creating Segmentation BasesZMK_UTL_MGR_SITES_UREG
    Define Usage for Segments:
    Transacción: SPRO – Customer Relationship Management - Marketing – Segmentation – General Settings - Define Usage for Segments.ZBS_UR à02 Segmentatión Basis
    Attribute List:Category:
    There is no Category 02 Segmentatión Basis!!! Why?? Why is not posible to select Category 02 Segmentation Basis in the creation of the Attribute List???
    Usage ID
    NEW: It seems that it has to do with the Segmentation Basis selected in the creation of a Profile Set, because if we do not select any, it does return results. But we need to create this Profile Set based on a particular Segmentation Basis called BS Usuarios Registrados. Why is not posible to select Category 02 Segmentation Basis in the creation of the Attribute List???

    It seems that the standard Infoset doesn’t work by itself with Segmentation Basis. Two SAP notes have been applied and a new Field Group has been added to the Infoset (in order to distint the Segmentation Base).
    CRMT_MKTTG_IS_BIRTHDATE-MGRGUID
    1966298: MGR_GUID is not populated correctly to infoset read program
    2007687:Segmentation InfoSet queries saved with incorrect Master Group
    For that reason we had to create a new Infoset based on the standard CRMT_MKTTG_IS_BIRTHDATE, but adding this new Field MGRGUID to the Group Fields.
    Issue solved

  • Campaign mgt segment builder in sap crm 7.0

    Hi All,
    In the segement builder, we need to have the feild employee responsibele and the industry code. Based on this two feilds and other criteria the filter can happen. They can create a target group based  on this.
    But when i check in the infoset for the BP, I find that the sales employee responsible is found. But i could not find the Industry code feild in the Infoset for BP.
    This is the infoset where the Business partner data is maintained u201CCRM_MKTTG_BP_ORG_CDE u201C
    How to create a segment builder based on the Employee responsibloe and based on the Industry code in the Graphical modeler. Please let me know if any other infoset contains this data.
    I need to know where this feild employee responsibele and the industry code is there, in which infoset it is maintained
    Please help me with the steps and configuration....
    Regards,
    karthik J
    Edited by: Karthik J on Nov 1, 2011 7:08 PM
    Edited by: Karthik J on Nov 3, 2011 12:20 AM

    Hi Karthik,
    I am not sure if there is a standard infoset which has the value of Industry and responsible salesrep.
    But to achieve your requriement i would advice you to create a custom Infoset using the table  CRMM_BUT_FRG0041 as it contains the information on industry sector and you will have to join this table with another table which contains the info on salesrep to create a custom infoset.
    You can create custom infosets by joining multiple tables using tcode SQ02
    rgrds,
    Randhir Soni

  • 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

  • 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

  • Problem in Segment Builder

    Hello all,
    I´m using a BW cube as a Datasource for segment builder. Everything goes well but when we try to create attribute list we only see the technical name of fields and we should see the description.
    Could anyone help me?
    Thanks in advance.
    Carmen

    hey kedar
    what i suggested as alternative is actually the standard way to achieve the segmentation
    and the another method which u havent tried was sort of alternative which u use when u have BW running with CRM
    i would advise u to be clear with the concept of how to use BW queries for segmentation cause .tell me if u r aware of this then we can proceed.
    in any case you are most welcome for any details u may want to know
    best regards
    ashish
    Hi Ashish,
    Thanks a lot for the answers.
    As of now in our system, we would be using only the standard way.
    Currently, we would not go ahead with the concept of using BW queries for segmentation.
    I will come back to you for support when we decide to change our approach.
    Thanks and Best Regards,
    Kedar

  • Marketing Attributes and Segment Builder performance

    Hello!
    Could you pls let me know
    1. Maximum number of Marketing attributes one can create at  - 
        CRMD_PROF_CHAR - Maintain Attributes
    2. What is the maximum number of BP's  that can be taken into segment builder
        for Target Group creation without Segment Builder performance suffering
    Thanks & Regards,
    Raju

    The solution for the problem is as follows,
    When you upgrade to JRE 1.6 version 19 patch 4, in the graphical modeler, the filter drag and drop doesnot work. In this case,    add the following line in you JAVA POLICY file.
        permission java.awt.AWTPermission "accessClipboard","read,write";
        you can find the POLICY file in the path:
           C:\Program Files\Java\<JAVA VERSION>\lib\security
    Please note that I found this in note 1359890

  • SQ02 Infoset returns different results in SQ01 Query vs. Segment Builder TG

    I want to get Segment Builder to use the same InfoSet and return the same results so, that I can then make a Target Group...but, I'm sure I'm missing some step along the way.
    My SQ01 query returns 79 contact persons, but my segment builder only finds 42, none of which appear to actually be the Contact Person, but are in fact the Business Partner the Contact Person has a Relationship to.
    I started by copying the CRM_MKTTG_BP_ADDR InfoSet and added the BUT051 table to it, which is when the SQ01 began returning the needed results.
    I suspect the problem may be in the Master Group where I am using the B2B/B2C Program, but I don't know if that's the answer or not.  I am not declaring an FM as I am using the BP-GUID in the data source, so I don't 'think' that's the issue...
    Here's what I'm currently trying as my Data Source settings in case that will help:
    Origin Type              03 InfoSet                                                              
    RFC dest.                                                                               
    Name of InfoSet          ZCRM_MKTTG_BP_ADDR                                                      
    Business Partner         BUT000-PARTNER_GUID                                                     
    Function Module                                                                               
    Sampling InfoSet         ZCRM_MKTTG_BP_ADDR_SMP                                                  
    Sample                   BUT000-PARTNER_GUID                                                     
    Object                                                                               
    Partner Function                                                                               
    Description              Z BP Address                                                            
    I already read every Segment Builder forum thread and the Sap Library on the subject, but either I missed something or there is a step not listed.
    Anyone have any suggestions?

    Solved!!
    I was wrongly using AND/OR options to add filters in the segmentation tool...ups!

  • Wrong number of members in a TG. Infoset query vs Segment Builder.

    Hi gurus,
    I've discovered an issue in our CRM System (BBPCRM 600) and I have no idea of how to solve.
    For our marketing segmentation, we've created a Infoset (SQ02) with a link between standard (BUT000, CRMD_ORDERADM_H, CRMD_OPPORT_H) and custom tables. Over this infoset, I've created an infoset query (SQ01).
    During our test, we've noticed the following: Using the same filters in segment builder and in infoset query, results are not the same!! Segment builder adds more partners to our TG's and even these partner doesn´t met the filters!
    For Example:
    Using POSTING DATE from CRMD_ORDERADM_H as filter: From 01/01/2014 to 01/312014.
    Using infoset query, all partners I'm getting are correct, all of them have CRM operations for this date interval.
    However, using this same filter in segment builder, the resulting list of partners has one more than query list...and this partner doesn´t have any operation for the chosen internval.
    How is this possible? Why results are not the same? Any ideas? Is there any BADI for segment builder that must be checked?
    A lot of thanks!!
    Message was edited by: SAP _ES

    Solved!!
    I was wrongly using AND/OR options to add filters in the segmentation tool...ups!

  • 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

  • Multiple countries as selection criteria in Segment Builder

    Hi folks,
    Requirement is, we need to create a Target group which consists of all BPs who belong to 25 countries. The attribute is 'Country' in the Attribute List.
    Current situation is, in the Segment Builder,  the user needs to select each country, by dragging and droping 25 times on the Target Group.
    There must be only one drag and drop which should cover all 25 countries. Can anybody give an idea how to resolve this issue.
    Regards,
    John

    Hi Amar,
    Thank you for your response once again.
    Regarding the selection of business partner who are in multiple countries, you told me that Crl and select the countries and click on 'OR with the attribute' button.
    This solution is ok, if couple of the countries are selected. But if 50 countries need to be selected, the user does not agree for this. So what is alternate solution. How to handle such a situation ??
    Regards,
    John

  • Creation of infoset in segment builder

    Hi experts,
    Please gudie me for the creation of infoset in segment builder.
    any doc or link will be higly recommendable.
    Thanks & Regards
    Prajith P

    1) Go to crmd_mktds t-code
    2) Click on Create Data Source to create a new data source
    3) Select the segmentation object from dropdown for example Business Partner
    4) Select the Origion type from dropdown list (Infoset, attribute set, ELM, BI cube)
    5) Give RFC destination if the data is coming from other systems
    6) Select infoset from dropdown list
    7) Enter description
    8) Select BP and category from the dropdown
    9) save
    10) Go back to previous screen (crmd_mktds)
    11) Clcik on create attribute list
    12) enter description
    13) Select category from dropdown
    14) Select Usage ID
    15) select segmentaion object as business partner
    16) Save
    17) click on assign data source
    18) Select the data source created from step 1- 8 and click on tick mark
    19) Now you can see the data source
    20) Click on arrow mark to expand
    21) Select the attributes which you want to use for filtration / see on the web UI
    22) save
    23) log on to web ui using marketing profession role
    24) go segment builder
    25) enter profile name and save
    26) click on the graphical Modeler (JRE must be installed)
    27) In graphical modeler you can see the attibutes created
    Hope this help.
    Regards,
    Niranjan Reddy G

  • 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

  • How to count criterias in segment builder

    Hello everbody,
    what i want to do:
    I got about 50 costumors in CRM, they have got different marketing criterias like job, hobby, age etc...
    I made a filter in segment builder saying show all customers that are cooks (e.g.).
    But when i click on my filter and drop it on my Profil, its just counts from one to two to three and so on, depending on
    how many filter i drop in my profil.
    Anybody any idea what could be wrong?
    Thanks a lot in advance
    Heinz

    Hi Heinz,
    Can you explain your problem in more detail.
    Generally count is used to find out no of BPs associated in the profile for the selected filters and based on the criteria selected ( keep, remove,split ) while positioning the cursor on the profile.
    Regards,
    Madhu

Maybe you are looking for

  • How do I add my JApplet to my website?

    I have the code all written, like public class Blah extends JApplet implements ActionListener{ ...code... How do I put it on my website. I searched on some search engines, and found stuff like <applet code="TumbleItem.class" codebase="examples/" arch

  • Burning dvd for first time takes me in new direction

    Hi Well, I just burned my first DVD's of videos from premiere cs3 and one video from a sample I got off the web. I had thought that getting stuff to look good on my monitor would suffice for now, as I'm just learning about Premiere and NLE stuff. But

  • Problem On Netra 210 Network

    Hi All, Why does my sun netra 210 cannot passed the network packet over HP Procurve 3500yl Core Switch? But, no problem occured when i use Cisco Catalyst Core Switch. Is there any incompability between Sun and Hp Procurve, or i need to install new pa

  • QuickTime Player Wont open

    Hello, when I double click on the quicktime icon nothing happens. Just sometimes it tells me that theres a problem and if I want to send it to microsoft. The Same happens with iTunes. I tried to uninstall and reinstall again but it didnt help. And wh

  • GSBER field not registered when posting under tx. OASV for balance transfer

    Dear gurus, We are facing a problem when using OASV transaction for balances transfer in our fixed assets reconciliation accounts, because even we enter "GSBER - Business Area" field in the corresponding positions the system does not register it if w