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

Similar Messages

  • 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

  • Segment Builder

    Hi All,
    Can any one guide me the usage of below in the Segment Builder (CRM 5.0)
    "AND Within an Attribute",
    "OR Within an Attribute",
    "AND Across all Attributes" and
    "OR Across all Attributes" .
    Thanks for your assistance in advance.
    Regards,
    Krish

    Hi Krish,
    You can use the and/or functionality when selecting multiple attributes at once in the segment builder.  use the control key to select multiple filters at once.
    Here's the details.
    <b>And Within and Attribute</b>:it will check to see if an filter is being met along with another filter across the single attribute for which you have selected the filters. (intersection)
    Example: attribute is "Products owned".  Filters selected and dragged to the staging area of the segment builder are Product1  and product2.  So the result would be all business partners who have product1 and product2 in the query behind the attribute.
    <b>Or within an Attribute</b>: Looks at all the business partners who meet either filter criteria within the filters selected.
    So in our example above using OR within and attribute we'd get back every business partner who has product1 or product 2.  this was a lot more work in previous versions.
    <b>And/OR Across all attributes </b>allows you the option to mix things up across attributes in your attribute list in the segment builder.
    So an example
    And Across all attributes is set
    Or within an attribute is set
    If we had two attributes being used. Product being one and Industry being the other.
    for product we select product1, product2 for industry we select mining.
    we would get back the business parters who have (product1 or product2) and mining.
    The "AND" functionality was present in previous versions by using the "Keep" option. the OR was a little bit trickier to do so this new option is a great feature. Using the AND or OR functions will change how the query on the back end is executed.  So in many cases you'll see a major performance increase because the query is being built at the data source level with all your criteria at once instead of running, bringing back the BPs and intersecting with another query that brought back BPs.
    Be careful the and(keep) and the and(across/within attribute) will bring back different results in cases when your data source isn't always using the business partner as the root.  So in cases like infoset of  business transactions/ custom tables be careful.
    I would also recommend implementing all available OSS notes for the segment builder as there are some current fixes available.
    let me know if you have any more questions,
    Nima

  • Print Layout Designer (PLD) - Displaying Selection Criteria

    Does anyone know how to display the selection criteria on a pld form.  Specifically, I would like to display the selected 'Item Property' on the Inventory > Inventory Reports > Items List report.
    I noticed on the Inventory > Inventory Reports > Inactive Items report that it displays the Date From selection criteria and the document types selected, but I can't figure out how it is doing this. They are Text fields and I don't see any dependencies.
    Thank You

    Vaughn,
    The selection criteria are pre-build to be included on some of the reports and are not on others.  If they are not available on the PLD template you could not add them.
    Suda

  • Report Painter - Change multiple selection criteria

    Hi Experts,
    I am new to report painter. I need to change a report which is being developed in Report Painter. I need to add extra selection criteria.
    Please help.
    Regards,
    Nitin.

    Please search for available information before posting, do not post basic questions.
    Thread locked.
    Thomas

  • Order of Variables in selection criteria involving multiple queries

    Hello,
    I've a query Q1 which has one of it's variables defined with replacement qry Q2. The query Q2 has a variable defined with replacement qry Q3. When i put qry Q1 in a application designer template and run the report, The selection criteria has the variables in the order of Q3, Q1 instead of Q1, Q3.
    How can i control this order of variables appearing in sel criteria.
    (i've observed that if there are 2 queries in the report the order is correct i.e Q1, Q2).
    The second problem is, in the report i've added a
    'Text Element' object. In the webitem tab, for property
    'List of Text Elements', i've added all the variables
    of the Query, The variable of qry Q1 are populated in the report output, but the variable of qry Q3 are not, How do i display this variable.
    For the  variables where no criteria is given, the report shows the text as 'Empty Demarcation'. How can this be made blank.
    Regards,
    Nagendra.

    Hi Nagendra,
    For removing the Empty Demarcation, in SE38 > SAPLRRSV > look at Text Element 301 and blank it out.
    Hope this helps...

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

  • Copying selection criteria in XLR advance report builder

    Can anyone tell me if it is possible to copy columns, rows or cells in the XL Reporter advance designer and copy the selection criteria as well?
    Thanks

    Have you tried to save the file as .rcr so that you could reuse the columns, rows or selection criteria?
    Thanks,
    Gordon

  • One TPV for multiple Countries

    Hi Experts,
    Could you pls share experirnce/knowledge around having one TPV for multiple countries together. The scenario is like below:
    1. There are mutiple Countries in Central America which are small islands for whom we need to roll out the Travel and Expense Solution.
    2. The Company code is only one which contains employees from all these Countries.
    Could you tell us how can we do the setup. Should we create one TPV at the company code level. OR should we rather use some other criteria for selecting the TPV maybe at the Personnel area or Personnel Sub Area level.
    Your help is much appreciated.
    Regards,
    Vijay

    Hi Kiron,
    These things I am aware about too. My real question is if I create only one TPV for the company code and assign the Country of the Company code then what issues would this cause. To name a few pls see below.
    1) The domestic Country would always be the Company code Country so would be treated as Domestic Country and show on the Form also as domestic Country even for the employees who are from other Countries.
    2) There are setting which SAP allows differently for Domestic and International like per diem, miles cumulations. So these necessarily have to be kept as same even though local laws are different in all these countries as Domestic is only the Company code Country.
    So I need detailed analysis of what impact I will have by having only one TPV as against making many TPV like one for each Country by using some other parameter like Personnel area/Personnel sub area etc.
    Appreciate your help!
    Regards,
    Vijay

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

  • How to specify custom query as well as a selection criteria

    Hi
    I'm struggling to specify a custom select query with variable no. of agruments through toplink.
    The custom query looks like:
    select outer.col1, outer.col2, outer.col3,
    outer.effective_date, outer.capacity_rate, outer.expiry_date, outer.comments, outer.create_date,
    outer.create_user_id, outer.modify_date, outer.modify_user_id, outer.vol_uom_type_code
    from tbl outer,
    ( select max(effective_date) effective_date, col1, col2, col3 from tbl
    where expiry_date is null
    or (trunc(effective_date) >= to_date('01/01/'||to_char(sysdate,'yyyy'), 'dd/mm/yyyy') )
    group by col1, col2, col3
    ) inner
    where outer.col1 = inner.col1
    and outer.col2 = inner.col2
    and outer.col3 = inner.col3
    and trunc(outer.effective_date) = trunc(inner.effective_date)
    My domain class TBL.class is mapped one to one with DB Table TBL.
    With this customer query, I want to add a selection criteria depending upon what is specified on the UI-screen - I can get col1, col2 or a combination of these as search criteria.
    So far I have tried multiple approaches:
    1. Specifying the custom query (without arguments) as a ReadAll Query in toplink descriptor and then using expression builder to add the criteria but this doesn't work as custom ReadAll query gets overridden and i get back all the results from
    TBL which match the criteria specified.
    expFinal = new ExpressionBuilder().get("col1").equal(srchCriteria.getCol1());
    results = (List) getTopLinkTemplate().readAll(TBL.class,expFinal,false);
    2. Using Named Query:
    Toplink doesn't allow me to specify a custom SQL along with a selection criteria - both for the same NamedQuery.
    3. Specifying the DB query in java layer and then adding arguments and argument values. When query is executed, i don't see arguments being added.
    ReadAllQuery query = new ReadAllQuery(TBL.class);
    query.setSQLString(READ_ALL_QUERY);
    ExpressionBuilder exp = new ExpressionBuilder();
    query.addArgument("col1", Long.class);
    Vector vect = new Vector();
    vect.add(srchCriteria.getCol1());
    query.addArgumentValues(vect);
    result = (List) getTopLinkTemplate().executeQuery(query, false);
    Please suggest. Would be great if you could share some code bits.
    Thanks
    Nitin

    Nitin,
    This style of query does require code to apply logic as it is created. If you wish to have this used as a named query you can use a query re-direct so that instead of executing a query we call a method of yours.
    You can setup your named query to use re-direction into a static method as:
            QueryRedirector redirector = new MethodBaseQueryRedirector(QueryRedirectorExample.class, "redirectMethod");
            ReadAllQuery raq = new ReadAllQuery(Employee.class);
            raq.addArgument("FIRST_NAME");
            raq.setRedirector(redirector);
            descriptor.getDescriptorQueryManager().addQuery("findByFirstNameLike", raq);The static method that then gets invoked where you can dynamically create a query looks like:
        public static Object redirectMethod(DatabaseQuery query, Record record, Session session) {
            String firstName = (String)record.get("FIRST_NAME");
            ReadAllQuery raq = new ReadAllQuery(Employee.class);
            if (firstName != null) {
                raq.setSelectionCriteria(raq.getExpressionBuilder().get("firstName").likeIgnoreCase(firstName));           
            return session.executeQuery(raq);
        }Doug

  • Segment builder and/or functionality....

    We are looking for a technical / functional explanation of the AND / OR functions within the segment builder tool u2013 how they work on their own and how they work together (AND OR / OR AND / AND AND / OR OR).  Anyone have a good answer?

    Hi Ned,
    I can give some oversight on the use of these operators in Segmentation while creating a Profile set.
    To use these first you need to understand the concept of MultiFilters.
    Multifilters: All filters that are selected at one time are treated as  one multifilter.
    Which means you can select more than one filter at a time and drop in the segmentation profile set screen to create one profile.To do this you need to first select one filter and hold ctrl key on your keyboard and select the other filter.
    So to explain this multiple selection i have an example below:
    Note: To achevie this both the Attributes are from one Attribute List: Attribute List XYZ has
    Channel Attribute 1         
    Filter 1 - Email               
    Filter 2 - Phone
    Priority Attribute 2
    Filter 1 - High
    Filter 2 - Medium
    Filter 3 - Low
    Scenario1 -
    So now if i select OR within Attribute and select both the filter email, phone and drop on the right hand screen i will get a profile (Email OR Phone)
    Scenario 2-
    If i select OR within  Attribute and AND across all attribute
    Select filter email, phone (together) and select filter high,low (together) and drag and drop in the profile set screen i would be seeing a Profile (Email OR Phone) AND (High OR Low)
    In the same way you can change the operands (OR,AND) for within an Attibute & across all attributes depending on your requirement to create your Profile & TG.
    Thus this is how you use these operands during multifilter selection.
    Hope this helps !
    Regards,
    Naveen

  • 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

Maybe you are looking for

  • No longer seeing photos from linked library.

    Greetings all, I'm using iPhoto v 9.6 and I've just tried to open it to arrange some photos and now I do not see any photos from my linked iPhoto library (besides those in my camera roll).  iPhoto is giving me the instructions on how to add photos to

  • [JS] Export whole document as a snippet

    Hi, I'm trying to export a whole document as a snippet.  The code works for a page item, i.e myPageItem.exportFile(ExportFormat.INDESIGN_SNIPPET but not for a document.  i.e , new File("/D/test/templates/working.inds")); myDoc.exportFile(ExportFormat

  • XDK support for UTF-16 Unicode

    Hi, Does the Oracle Java XDK, specifically the XSQL servlet and api, support UTF16-Unicode. Presumably, .xsql files have to be stored, read and queries executed in a Unicode compliant format for this to work. Is this possible currently??? Thanks, - M

  • Can i just upgrade to the OS X Mavericks from a 10.6.8 Snow leopard?

    wondering if i need to upgrade to mountain lion first or I can just jump straight to Mavericks? Plus, will any data be lost?

  • Where does my incoming mail go?

    Every time I check to see my mail I see that it says "incoming x amount"(30, 40 or any number) but when I check the folders - every folder - they don't show up. Where should I look, where are they or they're not coming in?