Problem in BUS1001006

Hi Experts,
When i try to test the Business Object BUS1001006, getting following error.
Object type 'ZRSP1001' is not defined.
How to slove this problem.
Thanks in Advance.
Regards
Nani

Hi,
1. Go to transaction SWO6
2. You will find an entry with business object BUS1001006.
3. Select the business object (BUS1001006) and click on details button (CtrlShiftF2).
3. You will find that a subtype is assigned to the standard business object.
     Object type - BUS1001006
     Deligation Type - ZRSP1001.
4. Come back to initial screen and select your business object and delete the entry. Your problem will be solved.
Please make sure that deleting this doesnt effect other developments in your project. and also check if the subtype ZRSP1001 is same as that of BUS1001006 and person who ever has deligated did not add any methods or attributes.
If you delete the entry here, all the workflows related to BUS1001006 will get effected.
Please revert back if any further help is needed.
Regards,
Gautham Paspala

Similar Messages

  • Trex problem of too much memory consumption

    Hello all i have problem to see even the front screen of server server is too busy with creating indexes. I started creating indexes for these Business objects
    AES_DOC 00000100
    BUS0001 1
    BUS1001006 1 Standard material
    BUS1077 1 Specification / Substance
    BUS2032 1 Sales Order / Sales Document
    BUS2078 1 Quality notification
    COCF_SN 1 Shift Note
    ERC_CAND NA Candidate
    ERC_CAND NA Relation of Candidate
    ERC_CDCY NE Candidacy
    ERC_CDCY NE Relation of Candidacy
    EXT_POST NC
    HROTYPE_E 1
    INT_POER NC
    LFA1 1 Vendor
    Two process (BUS0001, BUS1001006) are still running in SES_ADMIN but it doesn't how in the active state in SM37. i run all these process before 60 hours 9almost 2 and half day).
    I have ECC 6 with Ehp4 and Trex 7.1 on the same windows 2003 server, SQL server 2005 with 8 GB RAM and 1TB HD.
    before one day i was able to see snapshot of task manager it was occupying almost 18GB ram including page file size and it was showing Trex in Critical memory state (in RED sign). But now i am not even able to see server as it is not showing me any screen when i even logon to physical server.
    But i am able to connect to ECC server from other PC usin gGUi but very slow.
    So can any body suggest any solution, can i restart the server without stopping SAP ECC 6 and Trex server.
    i did not found any solution to this on forum.
    Mani

    see my other message.

  • Multiple events triggered in BUS1001006

    Hey Workflow guru's,
    I have a scenario where once the basic views are created for a material in MM01, two work-items are sent to create the Classification and Sales views for that material.
    I have delegated a Z business object from BUS1001006 and using the method CREATE to maintain the views.
    Now my problem is that once the basic views are created multiple workitems are being sent to the inbox i.e. instead of two work-items (one for Classification and one for Sales, there are two for Classification and two for Sales - identical)
    I have checked in SWEL and it displays identical line items with the object key in receiver data differing by 1.
    Appreciate any help!!!
    Thanks

    Hi Kedar,
    In SWEL under the Event Data tab the object key is the Material number ... which is identical in the two events raised. But, under the Receiver data tab the object key is the work item ID. This is the one which differs by one.
    For ex: when i created a material number 10000336, it created two events. In both the events under the Event Data tab, the object id is the material number which is the same. But, under the Receiver data tab, the object id in the first event is 7647 and in the Receiver data tab the object id for the second event is 7648. This i believe is the work-item ID and this is the one that differs.

  • Workflow for BO BUS1001006 not retreiving plantu2666

    Hi Experts,
    I have activated a workflow for material creation using BO BUS1001006 .
    It works fine , but the problem is it does not give me the plant details.
    My requirement is that i have to send the plant of the material created /changed.
    hope you offer quick solutions.
    <THREAD LOCKED. Duplicate of [Workflow for BO BUS1001006 not retreiving plant]. Please do not duplicate posts, read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info>
    Edited by: Mike Pokraka on Jan 28, 2009 7:33 AM

    Hi Martina,
    If you have done that then you are almost on the verge of completion!
    Follow this binding procedure between the task container and the method container and get the results.
    In the BO method, add an output parameter that would store the plant detail.
    Now create a data element in the method code of the same type as plant detail type.
    Then use swc_set_element to store the value of the plant detail in the output parameter.
    In the workflow task, create an output parameter of the same type as the BO method output parameter.
    In the binding between the task container and the method container fetch the value of plant details from method container to task container element.
    Now pass this parameter to the workflow container and use in the send mail step in the mail text.
    Make sure to save and generate the BO after doing all the changes.
    Regards,
    Saumya

  • How to create MRP view using BO BUS1001006 & Method CreateViews.

    Guys,
    I need to create MRP view using BO BUS1001006 & Method CreateViews.
    i am not able to unterstand, what i need to specify to create MRP view, other than material number.
    what field i need to send for MRP view.
    Regards.
    santosh.
    Edited by: santosh koraddi on Jun 23, 2010 6:14 PM

    Hi,
    I have a similar question, have done a search and I see this sort of thing has come up a few times but with no definitive answer.... this thread seems close but don't really understand the solution (I'm not an ABAPER)
    I have a material master creation workflow under construction, it uses BUS1001006 and method createviews.
    The issues is that I want to restrict creation of certain views to certain agents, I have a fork in my workflow and its meant to split up the various views for various agents.
    The problem is that if an agent in one of the forks completes their views the workflow tries to get them to completes teh other views which they do not have authoisation to do... anyway the end result is that the workflow thinks all teh views have been created and the workflow items dissappear from the others inboxes.
    How do I setup my workflow such that each agent in each fork only has to complete the views they have authorisation to maintain and leaves work items in the inboxes of other agents for them to complete?

  • BUS1001006 VIEWCREATED

    Hello everyone,
    I've made a SUB of BUS1001006, and added a new method which are calling a FM. This FM reads materialmaster and adds salesviews for all sales orgs. I use the BAPI_MATERIAL_SAVEDATA to save the views.
    I'm using the event fro BUS1001006 called ViewCreated to trigger the workflow where I call my own developed method.
    But here the fun part start!
    When I use MM1 and creates a material with Basis and Sales views The viewcreated event is triggered twice(2 views) this means my method is called twice 2, and when each incident of my method execute the BAPI_MATERIAL_SAVEDATA, then viewcreated is again triggered and soo on....
    My big question is. How do I make sure my method is only triggered 1 time only. I know its possible setting up conditions for the event, but not sure how and which condition parameters to setup.
    I really hope any got an idea of this, cause I cant seem to find my way out of this challenge.

    HI Henrick,
    YOu can use a Workflow Start check condition in your workflow. This will restrict the trigerring of the workflow on some condition.
    For this Go to Header -> Version INdependent Tab -> Start Events Tab-> Click on the Button in Column C adjoining your event to write the condition.
    I think in your case you can use condition evaluating value of "Maintenance Status" attribute. Please check before using this attribute.
    This should solve your problem.
    Regards
    Gautam

  • Method BUS1001006.CreateViews

    If you make use of Method 'CreateViews' in Business Object BUS1001006 it appears you get a bit of problem when a user tries to execute the workitem if you don't restrict the input parameter 'ViewListLine' to a single entry.
    Let's say a Material needs a couple of extra views completing, standard SAP makes sure you SAVE the current view before you move on to the next view.  But of course saving in the middle of a workitem causes a problem and you get a returned error 'the group data for the material XXX is locked by user YYY'.
    Any ideas on how to get through this?
    Of course you can loop through the uncompleted views one by one, but this is likely to get irritating for users needing to process alot of materials.

    Hi,
    Yeah, i debugged method in SWo1, it is working properly.
    Also that activity step is getting completed, after executing that code.
    But, prob is, control is not returning to main WF after executing all steps in sub WF, if i have that code.
    if i comment it, control is returning back to main WF.
    somehow, seems to be some commit work issue.
    I changed the above code & calling BAPI BAPI_MATERIAL_EDIT instead of MM02.
    it is working fine, but, i cant go directly to particular view with BAPI.
    regards.
    santosh.

  • Workflow for BO BUS1001006 not retreiving plant

    Hi Experts,
    I have activated a workflow for material creation using BO BUS1001006 .
    It works fine , but the problem is it does not give me the plant details.
    My requirement is that i have to send the plant of the material created /changed.
    from which field of bus1001006 can i get it  ?
    hope you offer quick solutions.

    Hi Martina,
    If you have done that then you are almost on the verge of completion!
    Follow this binding procedure between the task container and the method container and get the results.
    In the BO method, add an output parameter that would store the plant detail.
    Now create a data element in the method code of the same type as plant detail type.
    Then use swc_set_element to store the value of the plant detail in the output parameter.
    In the workflow task, create an output parameter of the same type as the BO method output parameter.
    In the binding between the task container and the method container fetch the value of plant details from method container to task container element.
    Now pass this parameter to the workflow container and use in the send mail step in the mail text.
    Make sure to save and generate the BO after doing all the changes.
    Regards,
    Saumya

  • Material upload: alternate unit of measure problem

    Hello,
    I'm uploading materials using LSMW (BAPI nethod: BUS1001006). I have a problem for the records with alternate units of measure. I put the units in a separate file and map the ISO code and the Numerator. However, I receive an error M3333 for the materials with 2 rows (one basic UoM and other alternate), which says that I have to maintain conversion factors for the alternate UoM. I thought, I'm doing so by providing Numerator (E1BP_MARM-NUMERATOR), but somehow it's not enough.
    Any assistance will be highly appreciated
    Thanks in advance,
    Eli

    Wrong definition in MARMX structure.

  • Delegation Problem

    Dear All,
    I am trying to delegate BUS1001006 to ZBUS1001006.
    This is for Material Creation.
    ZBUS1001006 has geen generated succesfully as well.
    My problem is that even though delegation has been done, why does ZBUS1001006 not come into the picture during Material Creation.In SWEL I can see BUS1001006 but ZBUS1001006 cannot be seen.
    Am I missing out on anything else that is required during Delegation.
    Due to this I am also unable to trigger my Workflow through ZBUS1001006.
    Rahul.

    Hi Rahul,
    Ok i have understood your question. But y do you want to trigger a workflow by using a cutom bor event, if all the custom components are available in standard BOR?
    You can directly use the custom components from standard BOR.
    First scenerio:  I suggest you that you remove the delegation then run the trace and see if you are able to see the custom BOR.
    Second scnerio: Now once again you delegate the subtype and run the trace(swels) and check are you able to see the custome bor in swel.
    I hope you are clear with the logic.
    Regards,
    Vijay.

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

  • A problem with Threads and MMapi

    I am tring to execute a class based on Game canvas.
    The problem begin when I try to Play both a MIDI tone and to run an infinit Thread loop.
    The MIDI tone "Stammers".
    How to over come the problem?
    Thanks in advance
    Kobi
    See Code example below:
    import java.io.IOException;
    import java.io.InputStream;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    import javax.microedition.lcdui.game.GameCanvas;
    import javax.microedition.media.Manager;
    import javax.microedition.media.MediaException;
    import javax.microedition.media.Player;
    public class MainScreenCanvas extends GameCanvas implements Runnable {
         private MainMIDlet parent;
         private boolean mTrucking = false;
         Image imgBackgound = null;
         int imgBackgoundX = 0, imgBackgoundY = 0;
         Player player;
         public MainScreenCanvas(MainMIDlet parent)
              super(true);
              this.parent = parent;
              try
                   imgBackgound = Image.createImage("/images/area03_bkg0.png");
                   imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
                   imgBackgoundY = this.getHeight() - imgBackgound.getHeight();
              catch(Exception e)
                   System.out.println(e.getMessage());
          * starts thread
         public void start()
              mTrucking = true;
              Thread t = new Thread(this);
              t.start();
          * stops thread
         public void stop()
              mTrucking = false;
         public void play()
              try
                   InputStream is = getClass().getResourceAsStream("/sounds/scale.mid");
                   player = Manager.createPlayer(is, "audio/midi");
                   player.setLoopCount(-1);
                   player.prefetch();
                   player.start();
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void run()
              Graphics g = getGraphics();
              play();
              while (true)
                   tick();
                   input();
                   render(g);
          * responsible for object movements
         private void tick()
          * response to key input
         private void input()
              int keyStates = getKeyStates();
              if ((keyStates & LEFT_PRESSED) != 0)
                   imgBackgoundX++;
                   if (imgBackgoundX > 0)
                        imgBackgoundX = 0;
              if ((keyStates & RIGHT_PRESSED) != 0)
                   imgBackgoundX--;
                   if (imgBackgoundX < this.getWidth() - imgBackgound.getWidth())
                        imgBackgoundX = this.getWidth() - imgBackgound.getWidth();
          * Responsible for the drawing
          * @param g
         private void render(Graphics g)
              g.drawImage(imgBackgound, imgBackgoundX, imgBackgoundY, Graphics.TOP | Graphics.LEFT);
              this.flushGraphics();
    }

    You can also try to provide a greater Priority to your player thread so that it gains the CPU time when ever it needs it and don't harm the playback.
    However a loop in a Thread and that to an infinite loop is one kind of very bad programming, 'cuz the loop eats up most of your CPU time which in turn adds up more delays of the execution of other tasks (just as in your case it is the playback). By witting codes bit efficiently and planning out the architectural execution flow of the app before start writing the code helps solve these kind of issues.
    You can go through [this simple tutorial|http://oreilly.com/catalog/expjava/excerpt/index.html] about Basics of Java and Threads to know more about threads.
    Regds,
    SD
    N.B. And yes there are more articles and tutorials available but much of them targets the Java SE / EE, but if you want to read them here is [another great one straight from SUN|http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html] .
    Edited by: find_suvro@SDN on 7 Nov, 2008 12:00 PM

  • J2ME problem with threads

    Hi all,
    I would like to ask you for a help. I need to write a small program at my university. I started to write a midlet which function would be to countdown time for sports activities. I woul like to start a new thread - the one that counts down - and at the same time make the main thread sleep. After the "countdown" thread finishes, the main thread wakes up and waits for user input. The problem is that when the "countdown" thread finishes his work, I've got Uncaught exception java/lang/NullPointerException. error and the midlet halts.
    Below you can find the code
    import java.lang.*;
    import java.util.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class intervals extends MIDlet implements CommandListener
    public Display ekran;
    private SweepCanvas sweeper;
    private Form rundy;
    private TextField round0, round1, round2, round3, round4, round5, round6, round7, round8;
    private long czas,x;
    private Command exitCommand;
    private Command addRound;
    private Command delRound;
    private Command start;
    private TextField repeat;
    private Form odliczanie;
    private Alert ostrz;
    Licznik thread;
    String test;
    StringItem test1;
    int parz,i,j,k;
    static int l;
    int ilrund;
    int ilpowt;
    Item sec;
    long sec1;
    public intervals()
        rundy = new Form("Interwa&#322;y sportowe");
        exitCommand = new Command("Wyj&#347;cie", Command.EXIT, 2);
        addRound = new Command("Dodaj","Dodaj rund&#281;", Command.ITEM,1);
        delRound = new Command("Usu&#324;","Usu&#324; ostatni&#261; rund&#281;", Command.ITEM,1);
        start = new Command("Start", Command.ITEM,1);
        odliczanie = new Form("Odliczanie");
        TextField dodaj(TextField kolej)
            kolej=new TextField("Podaj czas (s) rundy "+parz,null, 4, TextField.NUMERIC);//stworzenie nowej instancji do wybierania czasu trwania rundy
            if(rundy.size()==0)
                rundy.insert(rundy.size(),kolej);
                else
                    rundy.insert(rundy.size()-1, kolej);
            return kolej;
        void odliczanie(TextField round)
            monitor m=new monitor();
            k=Integer.parseInt(round.getString());
            ekran.setCurrent(odliczanie);
            thread=new Licznik(k,odliczanie);
            thread.start();
            ekran.setCurrent(rundy);
    public void startApp()// throws MIDletStateChangeException
        rundy.deleteAll();
        repeat = new TextField("Podaj ilo&#347;&#263; powtórze&#324;",null,1,TextField.NUMERIC);
        rundy.addCommand(addRound);
        rundy.addCommand(exitCommand);
        rundy.setCommandListener(this);
        Canvas obrazek = new MyCanvas();
        ekran = Display.getDisplay(this);
        ekran.setCurrent(obrazek);
        czas=System.currentTimeMillis();
        while (System.currentTimeMillis()<czas+1000)
            continue;
        ekran.setCurrent(rundy);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
        notifyDestroyed();
    public void commandAction(Command c, Displayable s)
        if (c == exitCommand)
            destroyApp(false);
            notifyDestroyed();
        else if(c==addRound)
            if(rundy.size()==0)//Sprawdzenie ilo&#347;ci elementów w celu poprawnego wy&#347;wietlania liczby rund w formie
                parz=1;
                else
                parz=rundy.size();
            switch(parz)
                case 1:
                    round0=dodaj(round0);break;
                case 2:
                    round1=dodaj(round1);break;
                case 3:
                   round2= dodaj(round2);break;
                case 4:
                    round3=dodaj(round3);break;
                case 5:
                    round4=dodaj(round4);break;
                default:
                    ostrz=new Alert("Uwaga","Maksymalna liczba rund wynosi 9", null, AlertType.INFO);
                    ostrz.setTimeout(3000);
                    ekran.setCurrent(ostrz);
            if(rundy.size()==1)
                rundy.append(repeat);
                rundy.addCommand(start);
            rundy.addCommand(delRound);
        else if(c==delRound)
            if(rundy.size()!=0)
                rundy.delete(rundy.size()-2);
                if (rundy.size()==1)
                    rundy.deleteAll();
                if(rundy.size()==0)
                    rundy.removeCommand(delRound);
                    rundy.removeCommand(start);
        else if(c==start)
            ilrund=rundy.size()-1;
            if(this.repeat.size()>0)
                ilpowt=Integer.parseInt(this.repeat.getString());
            ekran = Display.getDisplay(this);
            for (i=1; i<=ilpowt;i++)
                odliczanie= new Form("Odliczanie");
                 for (j=0;j<ilrund;j++)
                    switch(j)
                         case 0:
                             odliczanie(round0);
                             break;
                         case 1:
                             odliczanie(round1);
                             break;
                         case 2:
                             odliczanie(round2);
                             break;
                         case 3:
                             odliczanie(round3);
                             break;
                         case 4:
                             odliczanie(round4);
                             break;
                         case 5:
                             odliczanie(round5);
                             break;
                         case 6:
                             odliczanie(round6);
                             break;
                         case 7:
                             odliczanie(round7);
                             break;
                         case 8:
                             odliczanie(round8);
                             break;
    class Licznik extends Thread
        int czas1,k;
        Form forma;
        monitor m;
        public Licznik(int k,Form formap)
            czas1=k;
            forma=formap;
        public synchronized void run()
            while(czas1>0)
                forma.deleteAll();
                forma.append("Czas pozosta&#322;y (s): "+czas1);
                try{Thread.sleep(1000);} catch(InterruptedException e){e.printStackTrace();}
                czas1--;
            if(czas1<=0)
                m.put();
        }and monitor class
    public class monitor
    boolean busy=false;
    synchronized void get()
        if(!busy)
            try
                wait();
            }catch(InterruptedException e){e.printStackTrace();}
        notify();
    synchronized void put()
        if(busy)
            try
            wait();
            }catch(InterruptedException e){e.printStackTrace();}
        busy=true;
        notify();
    }Can anybody help me with this?

    Groovemaker,
    Your Licznik class has a member m of type monitor, which has not been instantiated (in other words is null) hence, when calling m.put() you get NullPointerException. Please also mind, that using Thread.sleep(1000) is not an accurate way of measuring time.
    If I may, please use recommended for Java class naming conventions - some of your names use lower case, while other don't which is confusing to the reader.
    Daniel

  • Problem with threads within applet

    Hello,
    I got an applet, inside this applet I have a singleton, inside this singleton I have a thread.
    this thread is running in endless loop.
    he is doing something and go to sleep on and on.
    the problem is,
    when I refresh my IE6 browser I see more than 1 thread.
    for debug matter, I did the following things:
    inside the thread, sysout every time he goes to sleep.
    sysout in the singleton constructor.
    sysout in the singleton destructor.
    the output goes like this:
    when refresh the page, the singleton constructor loading but not every refresh, sometimes I see the constructor output and sometimes I dont.
    The thread inside the singleton is giving me the same output, sometime I see more than one thread at a time and sometimes I dont.
    The destructor never works (no output there).
    I don't understand what is going on.
    someone can please shed some light?
    thanks.
    btw. I am working with JRE 1.1
    this is very old and big applet and I can't convert it to something new.

    Ooops. sorry!
    I did.
         public void start() {
         public void stop() {
         public void destroy() {
              try {
                   resetAll();
                   Configuration.closeConnection();
                   QuoteItem.closeConnection();
              } finally {
                   try {
                        super.finalize();
                   } catch (Throwable e) {
                        e.printStackTrace();
         }

  • Problem with Threads and a static variable

    I have a problem with the code below. I am yet to make sure that I understand the problem. Correct me if I am wrong please.
    Code functionality:
    A timer calls SetState every second. It sets the state and sets boolean variable "changed" to true. Then notifies a main process thread to check if the state changed to send a message.
    The problem as far I understand is:
    Assume the timer Thread calls SetState twice before the main process Thread runs. As a result, "changed" is set to true twice. However, since the main process is blocked twice during the two calls to SetState, when it runs it would have the two SetState timer threads blocked on its synchronized body. It will pass the first one, send the message and set "changed" to false since it was true. Now, it will pass the second thread, but here is the problem, "changed" is already set to false. As a result, it won't send the message even though it is supposed to.
    Would you please let me know if my understanding is correct? If so, what would you propose to resolve the problem? Should I call wait some other or should I notify in a different way?
    Thanks,
    B.D.
    Code:
    private static volatile boolean bChanged = false;
    private static Thread objMainProcess;
       protected static void Init(){
            objMainProcess = new Thread() {
                public void run() {
                    while( objMainProcess == Thread.currentThread() ) {
                       GetState();
            objMainProcess.setDaemon( true );
            objMainProcess.start();
        public static void initStatusTimer(){
            if(objTimer == null)
                 objTimer = new javax.swing.Timer( 1000, new java.awt.event.ActionListener(){
                    public void actionPerformed( java.awt.event.ActionEvent evt){
                              SetState();
        private static void SetState(){
            if( objMainProcess == null ) return;
            synchronized( objMainProcess ) {
                bChanged = true;
                try{
                    objMainProcess.notify();
                }catch( IllegalMonitorStateException e ) {}
        private static boolean GetState() {
            if( objMainProcess == null ) return false;
            synchronized( objMainProcess ) {
                if( bChanged) {
                    SendMessage();
                    bChanged = false;
                    return true;
                try {
                    objMainProcess.wait();
                }catch( InterruptedException e ) {}
                return false;
        }

    Thanks DrClap for your reply. Everything you said is right. It is not easy to make them alternate since SetState() could be called from different places where the state could be anything else but a status message. Like a GREETING message for example. It is a handshaking message but not a status message.
    Again as you said, There is a reason I can't call sendMessage() inside setState().
    The only way I was able to do it is by having a counter of the number of notifies that have been called. Every time notify() is called a counter is incremented. Now instead of just checking if "changed" flag is true, I also check if notify counter is greater than zero. If both true, I send the message. If "changed" flag is false, I check again if the notify counter is greater than zero, I send the message. This way it works, but it is kind of a patch than a good design fix. I am yet to find a good solution.
    Thanks,
    B.D.

Maybe you are looking for

  • Uploaded images are blurry

    Hi all, I have tried numerous options when resizing my  100MB TIFF files to JPEGS but all result in blurry images when uploaded. I have opened the files on my laptop prior to uploading and they're great. I was advised to limit the width to 600 pixels

  • How to update sales of last 3 months only

    I have a query which basically updates the sales for the whole year, but i just want that one to be changed such that it only updates for the past 3 months,irrespective of the year ( i mean to say if i run it today it must update march,april,may of 2

  • Using MovieClipLoader to load paused movieclip

    I am using MovieClipLoader to load an external swf file into a movieclip container. I would like it to be paused on load so that I can use a play button to play it. I can't seem to get it to load in a paused state. My code follows: stop(); var clipPo

  • Can't open Logic Pro after having installed Mountain Lion

    After having installed Mountain Lion I can't find Logic Pro (the latest version) back in my programs. I do still find all of my sessions. Trying to open a session a "Basic Content Download" starts. Just before the end of the download the computer ask

  • Stop creating multiple points when making a line

    Hello, new to this and for some reason when I go to create a line or shape it keeps creating multiple end points like a fan for example when using the line, or multiple boxes from the same start point etc...any help?  Can't seem to find any content o