Does Segment Builder compare only GUID?

Hi,
I'm working with a CRM 5.0 system. My problem is the following.
I want to create a Target Group containing BP with the following attributes:
Prog_id = PP
Date = 24.05.2010
The expected Target Group should contain 3 record, but I find 4 record in it.
For the "outsider one" I find in the table which contains 'Prog_id' and 'Date' fields the following records:
bp                        Prog_id              Date
0000227123          FF                    24.05.2010
0000227123          PP                    28.05.2010
I have this problem wether I use an InfoSet with Data Reading Program, or I use an Infoset with join.
I think that Segment Builder includes this record because it compares GUID only.
Could you please help me?
Is there anywhere something I should set?
Thaks in advance,
E.I.

...

Similar Messages

  • 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

  • Segment builder does not start in CRM 7

    Hello!
    I'm trying to get the segment builder in the marketing scenario to work in CRM 7
    It starts a java-applet, but I'm pretty sure it is suppose to start a flash variant instead....
    We have barely any rights/privileges in Windows, could that cause the problem?
    The java version on the PC's is 1.6.0_07-b06
    I get no error messages in the logs in CRM.
    I haven't found any good docs related to segment builder and if somebody has some good docs, pls let mer know where they are available!
    Thanks and regards!
    rollo

    Hi Rollo!
    Try the following steps:
    1. Download the latest update at www.java.com
    2. Check if the following services are activated:
    - /default_host/sap/public/bc/icons
    - /default_host/sap/public/bc/ur
    - /default_host/sap/public/bsp/sap/system
    - /default_host/sap/bc/bsp/sap/crm_ui_start
    - /default_host/sap/bc/bsp/sap/crm_ui_frame
    - /default_host/sap/bc/bsp/sap/crm_bsp_frame
    - /default_host/sap/bc/bsp/sap/gsbirp
    - /default_host/sap/bc/bsp/sap/thtmlb_scripts
    - /default_host/sap/bc/bsp/sap/thtmlb_styles
    - /default_host/sap/bc/bsp/sap/crm_thtmlb_util
    - /default_host/sap/bc/bsp/sap/bspwd_basics
    - /default_host/sap/bc/bsp/sap/bsp_wd_base
    - /default_host/sap/bc/bsp/sap/crmcmp_hdr
    - /default_host/sap/bc/bsp/sap/crmcmp_hdr_std
    - /default_host/sap/bc/bsp/sap/uicmp_ltx
    - /default_host/sap/bc/bsp/sap/bsp_dlc_frcmp
    - All Services unter /default_host/sap/crm
    4. Transaction /nSICF
        Activate the following service
        /default_host/sap/bc/bsp/sap/crm_mkttg_segap
    I think, that will work.
    Regards
    Oliver

  • 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

  • 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

  • How to Setup Flash Builder ActionScript only project for iPad?

    Hello!
    Can someone give a short guide on how to setup an ActionScript only prject in flash builder such that it can be compiled using adt and deployed to the iPad?
    i created successfully iphone games using FlashIDE and PFI.
    now I'd like to create an iPad app using Flash Builder (ActionScript only). but I fail to load the compiled IPA to the ipad, keep getting different errormessages thus i think something with my projectsetup is wrong

    Yes, in Terminal you type a single line which is made from the path to the adt application, some parameters, and paths to other documents. Here's the full list of things:
    /Location/to/AdobeAIRSDK_2.6/bin/adt
    -package
    -target ipa-test
    -provisioning-profile /Location/to/Provision.mobileprovision
    -storetype pkcs12
    -keystore /Location/to/Certificates.p12
    -storepass password
    NameOfApp.ipa ApplicationDescriptor-app.xml
    -C /Location/to/swf  NameOfApp.swf
    splashscreens
    icons
    That "-C" line is clever, it does a directory change to the folder you give it, so after the -C /location/to/swf part it will then look in that same folder for other documents, and for where to build the IPA file.

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

  • 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

  • Segment Builder in PC-UI

    Hi,
    We are going to use CRM Marketing and teh segment builder capabilities in CRM 5.0. We are using PC-UI (EP 7.0). Is it possible to have the same modelling functionality when creating profiles like in the SAP GUI? Ie drag and drop functionality, pie-chart graphics etc. The segment builder application in PC-UI is quite cumbersome compared to the one in SAP-GUI.
    Br
    Stefan

    Stefan,
    Yes you can get the same drag&drop fucntionality, pie chart graphics etc. into the PCUI.
    The only change is that you can not edit data sources (attributes...) into PCUI.
    All other fucntionality perfectly work.
    Hope this helps you,
    feel free to reward points if yes,
    regards,
    aldo

  • Marketing Segment Builder

    In Segment Builder We have a requirement where we need to create a Target Group for all the BPs in the role of Contact Person. How can I create a infoset for this requirement (using table for BPs Role).
    We used infoset CRM_MKTTG_BP_PER BP for with BP guid .ANd used filter BUT050-RELTYP Business Partner Relationship Category. And then created  filter with descritpion with value BUR001: BP ROLE CONTACT PERSON .
    When we search table BUT100 (BPs Roles), we find more than 15000 BPs with the role Contact Person. But when we created infoset as told by you it only shows 7 BPs in the target group. Is this infoset for BP role Contact Person or for the relationship category Contact Person
    Please help. Your help and input is greatlly appreciated.
    Thanks and Regards
    Mohanpreet

    Hi Mohanpreet,
    CRM_MKTTG_BP_PER  is a infoset with relationship category (Not BP Role contact person). (Works only on tables BUT000 & BUT050)
    This infoset will call all the business partners of contact persons who were maintained with other BP's with relationship category "Has contact person".
    You can create your own desired infoset from desired tables at T-code [SQ02].
    Regards
    Satish Kumar
    *-Reward points if found helpful.

  • Does the NavigationController work only when placed in appDelegate?

    I am trying to build application that has a tab bar controller with two view and the first view contains a segmented control.
    Based on the decision of the segmented control, I load the tableview. The table view has an instance of navigation Controller in which I have assigned the tableview controller as a rootview controller. When I click on any row of the table view, a new controller gets pushed on the table view. In my case, the new view does not show up on the screen, once the row is clicked. I used NSlog and checked that the views pushed on the stack are correct.
    I read many threads here and saw that all of them use tabBarController and then it directly uses the navigationController and viewcontroller. Is this the only config that works ?
    What if I want to have a tabBarController->tableViewController->NavigationController, isn't it possible? Can anyone please help?

    WitchKing wrote:
    So, if I understand this fully, I can initialize the navigation controller as soon as the any row is clicked and put the tableView I am on as my rootView for the navController. and also push the next view controller I want to see, on its stack. and present the navigation controller's view.
    The usual way to implement a table view drill-down would be to make the first table view (or the content view which includes it) the root view of the nav controller. I.e. the table view's controller would be the root controller. When you do it that way all the objects will do what they were designed to do, and the code to push and pop subsequent views will almost write itself.
    However there's no reason you can't do what you described, which (if I understood) would be to attach the nav controller's view to the hierarchy only after a row in the table is selected. Note however, that you couldn't then expect the nav controller to make that first transition from the parent table view. You would have to provide your own transition to the nav controller's view.
    You bring up a good point in any case. I never explicitly answered the question in the Subject line of this thread.
    does the NavigationController work only when placed in appDelegate?
    No, there is no requirement to create a nav controller in any particular position of the view hierarchy. Unlike a tab controller, a nav controller need not be the root of the hierarchy (i.e. added directly to the key window). In fact you'll find several examples in the docs which show one or more nav controllers under some other controller.
    there might be some problem with adjusting bar heights and etc though.
    I'm not sure you proposed anything that would make it difficult to configure a table view. One nav controller issue that will impact table view position and size is the attempt to hide the nav bar which would otherwise appear above the table. I walked, unsuspecting, into this problem when I tried to help with another, currently ongoing thread that might interest you: [http://discussions.apple.com/message.jspa?messageID=9606805#9606805].
    While I'm pasting links, this one is also relevant to your post: [http://discussions.apple.com/message.jspa?messageID=9607946#9607946].
    Thank you for the very kind words about my posts. For some reason, this past few weeks I've been spending most of my forum helper time writing about table views and nav controllers. I sure hope I've been dispensing correct information. It's not like I have any knowlege of the internals. These puppies are black boxes to me, so I'm just going by the same docs you have and my own (growing!) collection of test beds.
    \- Ray

  • Segment builder with bw query

    Dear Guru´s
    We are facing problems with segment builder transaction.
    We created a segment with several filters, then select Count.
    The system displays a short dump:
    Erro tempo execução CALL_FUNCTION_REMOTE_ERROR
    SAP suggested us to : Additionally you may compress the InfoCube content, which will most likely lead to less entries in the fact table of the InfoCube.
    Compress&agreegates via manage cube can be initiated in the BW side.
    But this task did not solve our problems.
    On further tests we detected the following behavior:
    The short dump CALL_FUNCTION_REMOTE_ERROR,occurs when a TIME_OUT short dump occurs on BWP server.
    At BWP the parameter rdisp/max_wprun_time "Maximum work process run time" is set to 600, so, when the query runtimes takes more than 600 seconds, a
    TIME_OUT is raised and on CRP/400 the short dump CALL_FUNCTION_REMOTE_ERROR is also raised as consequence.
    We did some tests, setting the rdisp/max_wprun_time parameter to 0,
    which will make the TIME_OUT short dump not occur. The consequence is, the query runs for undetermined time, and any result is returned from BW server.
    If we create a segmentation with only one filter, the count returns.
    Does anybody have the same experience?
    Thanks in advance,
    Cristina Barbosa

    Cristina,
    We encounter the same problems as you have / had. SAP did several suggestions on the query definition, but this all did not solve the issue. We still get time-outs because SQL statements take so long. We have upgraded our systems to CRM 5.0 and BW 7.0.
    Did you solve this problem already?
    Kind regards,
    Raimon Blokland

  • Why does Scene Builder constantly create new instances of Nodes?

    Hi,
    I thought I had a simple idea for creating a control that would let me get some of the behavior of a card pane.  This is the entire control:
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.SimpleBooleanProperty;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.scene.Node;
    import javafx.scene.Parent;
    import javafx.scene.layout.StackPane;
    public class Card extends StackPane {
        private final BooleanProperty active = new SimpleBooleanProperty();
        public final BooleanProperty activeProperty() {return active;}
        public final boolean isActive() {return active.get();}
        public final void setActive(boolean active) {this.active.set(active);}
            visibleProperty().bind(active);
            managedProperty().bind(active);
            active.addListener(new ChangeListener<Boolean>() {
                @Override
                public void changed(ObservableValue<? extends Boolean> observable,
                                    Boolean old,
                                    Boolean active) {
                    System.out.println(toString() + " active changed to: " + active);
                    if(active) {
                        Parent parent = getParent();
                        if(parent != null) {
                            System.out.println("Parent is: " + parent.toString());
                            parent.getChildrenUnmodifiable().forEach(Card.this::deactivateIfCard);
                        else {
                            System.out.println("Parent is null.");
        private void deactivateIfCard(Node node) {
            if(node != this && node instanceof Card) {
                Card card = (Card) node;
                card.setActive(false);
    The idea is pretty simple; extend StackPane, add an active property, bind the visible and managed properties of the pane to the active property, and, whenever the active property is changed to true, iterate sibling nodes de-activating any siblings that are also of the type Card.
    However, this doesn't work with Scene Builder.  While trying to debug, I created an ExtStackPane:
    import javafx.collections.ListChangeListener;
    import javafx.scene.Node;
    import javafx.scene.layout.StackPane;
    public class ExtStackPane extends StackPane {
            getChildren().addListener((ListChangeListener<Node>) c -> {
                System.out.println("ExtStackPane children change: " + c.toString());
    All this does is log list change events.  However, I was very surprised by the output when working in Scene Builder.  I added both controls to Scene Builder and did the following:
    0) Added an ExtStackPane
    1) Added a Card to the ExtStackPane
    2) Added another Card to the ExtStackPane
    3) Added a Label to the first Card
    4) Added a Label to the second Card
    5) Changed the text of the first Label to Hello
    6) Changed the text of the second Label to World
    7) Set the first Card to active
    8) Set the second Card to active
    I get the following output:
    1)
    ExtStackPane children change: { [Card@5b9067b3] added at 0 }
    2)
    ExtStackPane children change: { [Card@6b6328bd] added at 0 }
    ExtStackPane children change: { [Card@6aca8cc5] added at 1 }
    3)
    ExtStackPane children change: { [Card@3b7bc340] added at 0 }
    ExtStackPane children change: { [Card@1879819e] added at 1 }
    4)
    ExtStackPane children change: { [Card@60ffed67] added at 0 }
    ExtStackPane children change: { [Card@64955a14] added at 1 }
    5)
    ExtStackPane children change: { [Card@5dc96bc4] added at 0 }
    ExtStackPane children change: { [Card@40667c26] added at 1 }
    6)
    ExtStackPane children change: { [Card@164770fa] added at 0 }
    ExtStackPane children change: { [Card@7decebbf] added at 1 }
    7)
    Card$1@f4f4850 active changed to: true
    Parent is null.
    ExtStackPane children change: { [Card@27442c8b] added at 0 }
    ExtStackPane children change: { [Card@643d810e] added at 1 }
    8)
    Card$1@4877c67b active changed to: true
    Parent is null.
    ExtStackPane children change: { [Card@7e8a473e] added at 0 }
    Card$1@2b4497c1 active changed to: true
    Parent is null.
    ExtStackPane children change: { [Card@5df6c8cc] added at 1 }
    This is what things look like in Scene Builder:
    Does Scene Builder recreate the entire hierarchy every time I make a small change?  Here's an application that does the same as the manual steps I performed in Scene Builder:
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.stage.Stage;
    public class CardApplication extends Application {
        @Override
        public void start(Stage primaryStage) throws Exception {
            ExtStackPane stackPane = new ExtStackPane();
            // 1
            Card card1 = new Card();
            stackPane.getChildren().add(card1);
            // 2
            Card card2 = new Card();
            stackPane.getChildren().add(card2);
            // 3
            Label label1 = new Label();
            card1.getChildren().add(label1);
            // 4
            Label label2 = new Label();
            card2.getChildren().add(label2);
            // 5
            label1.setText("Hello");
            // 6
            label2.setText("World");
            primaryStage.setScene(new Scene(stackPane));
            primaryStage.setTitle("Card Application");
            primaryStage.setWidth(600);
            primaryStage.setHeight(400);
            primaryStage.show();
            // 7
            card1.setActive(true);
            // 8
            card2.setActive(true);
    The output when running the above is:
    1)
    ExtStackPane children change: { [Card@6dfaa767] added at 0 }
    2)
    ExtStackPane children change: { [Card@6aa2c411] added at 1 }
    7)
    Card$1@1abf7511 active changed to: true
    Parent is: ExtStackPane@41993867[styleClass=root]
    8)
    Card$1@5733cd2 active changed to: true
    Parent is: ExtStackPane@41993867[styleClass=root]
    Card$1@1abf7511 active changed to: false
    The behavior is obviously a lot different than when I'm working with the control in Scene Builder.  Can anyone explain to me what Scene Builder is doing to change the behavior of my Card control so much?  Does my Card control break some rule(s) I'm not aware of?

    I think you're confused about what SceneBuilder is doing.
    SceneBuilder is a design tool, used by the programmer (not the end user) to generate part of the code that is used to execute the application. (Specifically, it generates the FXML code that is parsed by the FXMLLoader to create and configure objects that are typically part of the scene graph.)
    While you are using SceneBuilder to create the code, it generates a mock-up of what the UI will look like, if the generated FXML were to be loaded and displayed. This mock-up is not supposed to be an identical view of what the end user will see, but an aid to you, as the programmer, to generate the code you want.
    So, for your Accordion/TitledPane example, in the mock-up that SceneBuilder displays, the *selected* titled pane is always displayed expanded. This enables you to drag and drop items into it, and to configure it in other ways. If you uncheck the "expanded" checkbox in the properties pane, then it remains expanded in the mock-up so that you can continue to configure it. However, this property is not ignored: the state of those checkboxes is respected in the FXML file that is generated. So when you hit "save" in SceneBuilder, the generated fxml will contain TitledPane element with expanded="true" if the check box is checked, and expanded="false" if the check box is unchecked. (SceneBuilder will of course also enforce the rule that only one TitledPane in an Accordion can be expanded.)
    Similarly, for your custom control, you should be able to set it up so SceneBuilder displays the "active" property in the check box. If you uncheck that property, so active=false, that will be respected in the fxml and when you execute the application, active will be set to false, and so by your binding, visible will be set to false and the component won't display. But the mock-up in SceneBuilder will (of course) still display your component, because it would be extremely difficult for you to configure a component that didn't appear in the programming tool.
    In fact, there's no real reason for SceneBuilder to create any objects that you are configuring at all. It could just try to figure out what they look like and render a depiction of them on a canvas, for example. That's probably much (much) more difficult than instantiating them and the authors of SceneBuilder apparently chose to write SceneBuilder in a way that re-instantiated the controls many times. But that has absolutely nothing to do with what happens when you execute the application and it makes no sense at all to compare the two.

  • Issue while doing Segmentation using Relationship Category

    Hello Experts
    We are implementing SAP CRM Lean Marketing using CRM 7.0. We are implementing segmentation, mail forms and using "Follow-up Processing of Target Group" functionality to send e-mail/fax to the BPs in target group. We are not using Campaigns. The "Follow-up Processing of Target Group" functionality provides facility to send bulk mail by using the available "Export to Channel" function from the opened target group itself.
    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. e.g. While doing segmentation if I have selected company attributes Industry Sector of companies as Agriculture, company type as Partnerships and selected relationship category Has Supplier, then for the Companies matching the segmentation criterion, the target group should enlist all the persons related with the company with relationship category Has Supplier. As a further step the e-mail/fax will be sent to all these persons
    As per my understanding using standard InfoSet   CRM_MKTTG_BP_ORG_CDE and while creating data source selecting BUT000_PER-PARTNER_GUID in the field business partner, I am able to get the list of persons matching the segmentation query as documented in the example above. But the issue is , the output of the target group only enlists matching Persons, it does not enlist the matching company ID /name in the output of the target group. So business is unable to understand the Person enlisted belongs to which Company.
    We tried enhancing the output of the target group 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.
    Highly appreciate your early response in order to resolve this critical issue.  
    Thanks
    Ambar

    Hello Experts,
    Elaborating the issue further
    Using standard InfoSet CRM_MKTTG_BP_ORG_CDE and while creating data source selecting BUT000_PER-PARTNER_GUID in the field business partner, I am able to get the list of persons matching the segmentation query as documented in the example above. But the issue is , the output of the target group (shown as an ALV grid , when the target group is opened) only enlists matching Persons, it does not enlist the matching company ID /name in the output of the target group. So business is unable to understand the Person enlisted belongs to which Company. Can we enhance this ALV grid output of the target group ? if yes , how can it be achieved ?
    As an alternative we tried implementing the BADI CRM_MKTTG_SEG_MEM_EX , that is used to define data export from the target group. But 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.
    Any suggestion solution to resolve this issue. Appreciate your early response.
    Thanks
    Ambar
    Edited by: AMBAR ADHAV on Sep 10, 2011 11:00 AM

Maybe you are looking for

  • Question about read method of InputStream

    Hello everyone, I am using read method of InputStream to read a stream from a remote machine. The network connection is not very stable (for example, a wireless network whose the signal strength is relatively low). I am wondering if read method retur

  • I have a very tiny, fuzzy black speck on the screen of my Macbook Pro 15".

    I have a very tiny, fuzzy black speck on the screen of my Macbook Pro 15". It doesn't resemble dead pixels I've encountered in the past (it is only visible behind a white or brightly colored background), and I'm positive it isn't sitting on the surfa

  • Need some urgent help with Java code...

    Hello i am taking a java class..beginner..and i am a dud at programming... had a couple of questions ..how do make a program ignore negative integer values,make it terminate when zero is entered instead of a number ,how should i calculate maximum min

  • I cannot get sound on Facebook, SoundCloud and some other sites.

    If I use another browser, this is not an issue but Firefox is my main browser. Please help!

  • Getting long time to execute

    hi all, Table have more than 1.6milion records. to execute following query taking long time. select DISTINCT invoice_id, invoice_number, invoice_dis_id, dis_line, batch_id, invoice_date, cancelled_date, accounting_date, invoice_desc, dist_desc, invoi