Is there a way to suppress calls to modify view method?

We have a WDP application which consists of a tabstrip with multiple tabs. We find that everytime we click on a tab, all the modify view methods in the other tabs get executed, even though it is not necessary.
This adds to response time BECAUSE WDP executes on the server and there are round trips to the server!
Is there a way to suppress this?

Hi Yew
Why dont you find out which tab has been selected and execute only the relevant set of methods for the tab selected. Check this post for code samples on how to determine the selected tab
Re: How to get the name of a Tab at runtime
Regards
Pran

Similar Messages

  • Is there a way to suppress calling of the standard screen

    Hi,
    I need to suppress the standard screen being called in  the function module SO_DYNP_OBJECT_SEND . Any idea how can i do that?

    /people/ajay.kumar/blog/2005/02/25/suppressing-unwanted-sap-gui-screens-from-bapirfc-when-calling-them-from-external-system-in-background133

  • Is there a way to make Call Of Duty 2 run in Lion?

    Hi,
    I have a 2011 Mac Mini runnin Mountain Lion. Is there any way to get Call Of Duty 2 to run? I have hte disc and it wont run as it requires Rosetta but can i copy some files from a older mac with the game installed or somthing? Also if i re purchase it from the App store will it run that way?
    Thanks.

    If it is a PowerPC app (which it would be if it requires Rosetta), then no, there's nothing you can do unless the makers of the game have released an Intel update. You will need to check with them about that.

  • Is there any way to block calls on a Pantech?

    Is there any way to block calls on a Pantech?

    Hi Miniv,
    Unwanted calls can be annoying! What make/model Pantech device do you have? We offer a Free Call & Message blocking feature to help prevent unwanted calls http://spr.ly/6586f3Qw* .
    Thanks,
    PamelaF_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Is there a way to automatically open the Activity Viewer & make it float?

    I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail each time and keep it floating above the other windows (so I can have an indication of what's going on like in Panther Mail)?
    I'm afraid I'm going to shut mail down in the middle of a crucial activity. No doubt that might well be behind all the problems that develop with it over time.
    Thanks!

    I had two problems relating directly to the Tiger upgrade, one I solved with help here. That was importing saved mail that failed to be imported into one mailbox, the saved messages were showing up as IMAP messages ("haven't been downloaded from the server yet"). When both my accounts were POP, I never even had an IMAP account. I solved that and everything else with mail is fine now, except I want to see what's going on like I was able to in Panther. I especially miss not seeing outgoing mail sent progress, especially with long messages.
    The other issue was font related, and I still cannot get Fontbook to save the fonts I have disabled, so I just removed the duplicates manually (leaving the ones in the system folder as the defaults). As long as I don't open fontbook again, and it doesn't automatically re-enable the fonts, my system is fine. I will leave it alone now for a couple of years like I was able to in Panther. I have over 3000 fonts installed and available at all times which I need for my print work.
    Other than that and a 25 minute log-in time (as it reads the fonts; in Panther it was 7 minutes and I learned to live with that) everything is finally ok.
    The long log-in might also be Spotless related; I don't know enough about it to figure it out; all I know is if it is, it is a small price to pay for the way the system flies not having to index all my loaded drives all the time, not to mention the wear and tear on my drives.
    Tiger is so much faster than Panther (once I shut down Spotlight) it's like having a processor upgrade. Once you work out all the glitches, it's definitely worth the money and time put in. I was very careful with the install... counting backup time the usual precautions and updates to everything afterward (including third-party programs), it took over 30 hours.
    Thanks!

  • HT204088 is there a way to see what songs were VIEWED (not bought) and what device it was viewed on?

    can someone please help me,
    is there a way to see what songs were VIEWED (not bought) and what device it was viewed on?
    because there were some songs viewed on my history that noone in my family has viewed as they all have access to this account, and i want to find out where it was viewed from

    no

  • I've got a iPod classic 80g I've got loads of pictures on there and I want to get them off. I've tried something where the files I get off come up as thumbnails which I can't open. Is there any way of getting them off and viewing them as a normal photo?

    I've got a iPod classic 80g I've got loads of pictures on there and I want to get them off. I've tried something where the files I get off come up as thumbnails which I can't open. Is there any way of getting them off and viewing them as a normal photo?

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • Is there a way for all attachments to be 'viewed as icon' both sending and receiving?

    In Mail for Mac OSX 10.9, is there a way for all attachments to be 'viewed as icon' both sending and receiving?

    Not sure if this still works with Mavericks, but in Terminal try:
         defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

  • Is there a way to identify calls being forwarded to my phone apart from calls directly to my phone?

    Ok so, i now have a "Work" phone.. this is a after hours type deal for customers to get ahold of me if they are having issues with their industrial machines. What i am curious is..i am forwarding all calls to the work phone, to my iphone. for ease of use... plus the work phone is about as old as dinosaurs. Anyways, is there a way i can make it so that calls coming into my phone that are being forwarded in either sound different or anything really. That way i can tell the difference between people who are calling me on my actual cell number and people who are calling my work number.

    Call Verizon.

  • Is there a way to block calls on FaceTime on IOS Mavericks?

    i Keep getting unsolicited calls on my macbook air  is there a way to stop them like blocking them as you can on IOS

    No.  FaceTime on Mac does not provide such a blocking capability.

  • Is there any way of grouping calls logs from same person/number/contact in call record on iPhone5?

    I've just moved from BBry to iPhone5, and must admit that I am pretty dissapointed with the device.
    I cannot find the way to group call logs from the same person/nmber/contact in call records, so I ended up with having multiple records (sometimes 7-10) for calls to and from the same number. Any solution for this?
    Also, I cannot find the way to insert multiple attachements to my e-mails. How to do it?
    Another issue I have is that I am not able to use most of the apps via WiFi, won't load pages, refresh, etc. When switched to cellular network, works fine. How to solve it?
    All in all, device that costs $800 should have at least those basic functions, rahter than just being pure teenagers' show off phone! Business phone - no way!

    Anupam,
    If you are using 11.5 just keep in mind that the JCO connection points to a single application server (based upon the SAP Server alias connection settings), but the traffic itself to make a BAPI request is effectively the same as any client user traffic.  There will obviously be limitations on performance and throughput, with network and server constraints added to the number and size of the R/3 requests, but there is no magic formula to plug-in because of all of these variables.
    If you are using 12.0 (or plan to migrate when it goes GA) then taking advantage of the JRA (java resource adapter) and the associated application server pooling that it offers on the NetWeaver side of things will greatly help you in the throughput capacity.
    If you have put some of your xMII application into either test or productive use and are running into issues then I would highly recommend entering the specifics into the customer / partner support portal so that they can help you through any associated problems.
    Regards,
    Jeremy Good

  • Is there a way I can call a python script from within a Robohelp script?

    Hi,
    I want to integrate an external python script into the current extendscript I use in RoboHelp 10.  Is there a way to do that?
    Thanks,
    Lauren

    You can use the command line to call any kind of external application.
    Personally, I use the following function to create bat files to do such
    work.
    I've taken these functions from my free RH Extendscript library -
    http://www.wvanweelden.eu/product/robohelp-extendscript-library
    function ExecuteBatchFile(command, waitforbatch) {
         if(string_isEmpty(command))
             return false;
         if(!waitforbatch) {
             if(waitforbatch != false) {
                 waitforbatch = true;
         var path = Folder.appData.fsName + '/';
         var batFileName = 'ExtendScriptBatchFile';
         var batFileExtension = '.bat';
         var batFile = new File(pathbatFileNamebatFileExtension);
         if(batFile.exists) {
             var i  = 0;
             while(batFile.exists) {
                 i++;
                 batFile = new File(pathbatFileNamei+batFileExtension);
         command+= "\ndel /F /Q \"" + batFile.fsName + "\"";
         writeFile(batFile, command, false);
         if(!isFile(batFile, true))
             return false;
         batFile.execute();
         /* Wait on batch file execution if needed */
         if(waitforbatch) {
             while(batFile.exists) {
                 msg(".");
                 $.sleep(100);
         return true;
    function writeFile(file, szOutput, encoding) {
         var szFilePath = file.fsName;
         if(!encoding || encoding == true) {
            encoding = "UTF-8";
         var fileObj = new File(szFilePath);
         fileObj.encoding = encoding;
         fileObj.open("w");
         fileObj.write(szOutput);
         fileObj.close();
    Kind regards,
    Willam

  • Is there a way to run part of the Pain() method once?

    I'm working on a paint program.
    I'm using AWT and Applet supplied by Java, and in the Paint method I have it drawing the UI and checking to see if this or that has been clicked to change color. Problem is, the Paint method is always running, and so the UI is always being redrawn, and so the color is always black, which is the last color to be changed.
    So, is there any way I can have it stop drawing the UI, and just checking the colors? Or is there another method to use to put the UI code in?
    Here's the code:
    // CiPaint
    // Version 0.2
    // Programmed and Designed by Paul Adamski
    // This program is inflexible and exhibits poor design
    // ZOMG!!
    // TODO:     80% -      Changing colors
    import java.awt.*;
    import java.applet.*;
    public class CiPaint extends Applet
         Rectangle red, green, blue, purple, black, white, yellow;
         Color backgroundColor, eraseColor, currentColor;
         int numColor;
         Image virtualMem;
         Graphics gBuffer;
         int oldX, oldY, newX, newY;
         int appletWidth;          
         int appletHeight;
         public void init()
              backgroundColor = Color.white;
              eraseColor = Color.black;
              red = new Rectangle(10,10,25,25);
              green = new Rectangle(40,10,25,25);
              blue = new Rectangle(70,10,25,25);
              purple = new Rectangle(100,10,25,25);
              yellow = new Rectangle(130,10,25,25);
              black = new Rectangle(160,10,25,25);
              white = new Rectangle(85,40,25,25);
              numColor = 0;
              appletWidth = getWidth();
              appletHeight = getHeight();     
              virtualMem = createImage(appletWidth,appletHeight);
              gBuffer = virtualMem.getGraphics();
              //gBuffer.setColor(Color.white); Makes screen flicker
              //gBuffer.setColor(Color.red); Makes whole right side of menu screen red
              gBuffer.fillRect(200,0,appletWidth-200,appletHeight);
         public void paint(Graphics g)
              // Draws the borders and UI     
              g.drawLine(200,0,200,600);
              g.drawLine(1,1,800,1);
              g.drawLine(800,1,800,600);
              g.drawLine(800,600,1,600);
              g.drawLine(1,600,1,1);
              g.setColor(Color.red);
              g.fillRect(10,10,25,25);
              g.setColor(Color.green);
              g.fillRect(40,10,25,25);
              g.setColor(Color.blue);
              g.fillRect(70,10,25,25);
              g.setColor(Color.magenta);
              g.fillRect(100,10,25,25);
              g.setColor(Color.yellow);
              g.fillRect(130,10,25,25);
              g.setColor(Color.black);     // This line unwantingly is the drawing color
              g.fillRect(160,10,25,25);     // This whole section is repeatidly called, it only should be called ONCE
              g.drawRect(85,40,25,25);
              // End Drawing
              switch (numColor)
                   case 1:
                        g.setColor(Color.red);
                        currentColor = Color.red;
                        System.out.println("ITS RED NUBCAKE");
                        break;
                   case 2:
                        g.setColor(Color.green);
                        currentColor = Color.green;
                        break;
                   case 3:
                        g.setColor(Color.blue);
                        currentColor = Color.blue;
                        break;
                   case 4:
                        g.setColor(Color.magenta);
                        currentColor = Color.magenta;
                        break;
                   case 5:
                        g.setColor(Color.yellow);
                        currentColor = Color.yellow;
                        break;
                   case 6:
                        g.setColor(Color.black);
                        currentColor = Color.black;
                        break;
                   case 7:
                        g.setColor(Color.white);
                        currentColor = Color.white;
                        break;
                   case 8:
                        break;
              // Works, but doesn't change color
              if (oldX > 200)
                        g.fillRect(oldX,oldY,2,2);
                        //g.drawImage(virtualMem,0,0,this);     
              /*UBER Flicker and doesn't even draw
              if (oldX > 200)
                        gBuffer.fillRect(oldX,oldY,2,2);
                        g.drawImage(virtualMem,0,0,this);     
         public boolean mouseDown(Event e, int x, int y)
              if(red.inside(x,y))
                   numColor = 1;
              else if(green.inside(x,y))
                   numColor = 2;
              else if(blue.inside(x,y))
                   numColor = 3;
              else if(purple.inside(x,y))
                   numColor = 4;
              else if(yellow.inside(x,y))
                   numColor = 5;
              else if(black.inside(x,y))
                   numColor = 6;
              else if(white.inside(x,y))
                   numColor = 7;
              else
                   numColor = 8;
              newX = x;
              newY = y;
              oldX = newX;
              oldY = newY;
              repaint();
              return true;
         public boolean mouseDrag(Event e, int x, int y)
              newX = x;
              newY = y;
              oldX = newX;
              oldY = newY;
              repaint();
              return true;
         public void update(Graphics g)
              paint(g);
    }

    You have only to move your switch block from paint method to mouseDown method: in this way you first assign correct value to currentColor variable.... then pain method will use the color you have already set.
    Notice that methods mouseDown and mouseDrag are deprecated: you should better use processMouseEvent and processMouseMotionEvent methods (see documentation of class Component to more details.
    Below the implementation I tried.
    Bye
    Diego
    import java.awt.*;
    import java.applet.*;
    public class CiPaint extends Applet
         Rectangle red, green, blue, purple, black, white, yellow;
         Color backgroundColor, eraseColor, currentColor;
         int numColor;
         Image virtualMem;
         Graphics gBuffer;
         int oldX, oldY, newX, newY;
         int appletWidth;          
         int appletHeight;
         public void init()
              backgroundColor = Color.white;
              eraseColor = Color.black;
              red = new Rectangle(10,10,25,25);
              green = new Rectangle(40,10,25,25);
              blue = new Rectangle(70,10,25,25);
              purple = new Rectangle(100,10,25,25);
              yellow = new Rectangle(130,10,25,25);
              black = new Rectangle(160,10,25,25);
              white = new Rectangle(85,40,25,25);
              numColor = 0;
              appletWidth = getWidth();
              appletHeight = getHeight();     
              virtualMem = createImage(appletWidth,appletHeight);
              gBuffer = virtualMem.getGraphics();
              //gBuffer.setColor(Color.white); Makes screen flicker
              //gBuffer.setColor(Color.red); Makes whole right side of menu screen red
              gBuffer.fillRect(200,0,appletWidth-200,appletHeight);
         public void paint(Graphics g)
              // Draws the borders and UI     
              g.drawLine(200,0,200,600);
              g.drawLine(1,1,800,1);
              g.drawLine(800,1,800,600);
              g.drawLine(800,600,1,600);
              g.drawLine(1,600,1,1);
              g.setColor(Color.red);
              g.fillRect(10,10,25,25);
              g.setColor(Color.green);
              g.fillRect(40,10,25,25);
              g.setColor(Color.blue);
              g.fillRect(70,10,25,25);
              g.setColor(Color.magenta);
              g.fillRect(100,10,25,25);
              g.setColor(Color.yellow);
              g.fillRect(130,10,25,25);
              g.setColor(Color.black);     // This line unwantingly is the drawing color
              g.fillRect(160,10,25,25);     // This whole section is repeatidly called, it only should be called ONCE
              g.drawRect(85,40,25,25);
              // End Drawing
    //          switch (numColor)
    //               case 1:
    //                    g.setColor(Color.red);
    //                    currentColor = Color.red;
    //                    System.out.println("ITS RED NUBCAKE");
    //                    break;
    //               case 2:
    //                    g.setColor(Color.green);
    //                    currentColor = Color.green;
    //                    break;
    //               case 3:
    //                    g.setColor(Color.blue);
    //                    currentColor = Color.blue;
    //                    break;
    //               case 4:
    //                    g.setColor(Color.magenta);
    //                    currentColor = Color.magenta;
    //                    break;
    //               case 5:
    //                    g.setColor(Color.yellow);
    //                    currentColor = Color.yellow;
    //                    break;
    //               case 6:
    //                    g.setColor(Color.black);
    //                    currentColor = Color.black;
    //                    break;
    //               case 7:
    //                    g.setColor(Color.white);
    //                    currentColor = Color.white;
    //                    break;
    //               case 8:
    //                    break;
                    g.setColor(currentColor);
              // Works, but doesn't change color
              if (oldX > 200)
                        g.fillRect(oldX,oldY,2,2);
                        //g.drawImage(virtualMem,0,0,this);     
              /*UBER Flicker and doesn't even draw
              if (oldX > 200)
                        gBuffer.fillRect(oldX,oldY,2,2);
                        g.drawImage(virtualMem,0,0,this);     
         public boolean mouseDown(Event e, int x, int y)
              if(red.inside(x,y))
                   numColor = 1;
              else if(green.inside(x,y))
                   numColor = 2;
              else if(blue.inside(x,y))
                   numColor = 3;
              else if(purple.inside(x,y))
                   numColor = 4;
              else if(yellow.inside(x,y))
                   numColor = 5;
              else if(black.inside(x,y))
                   numColor = 6;
              else if(white.inside(x,y))
                   numColor = 7;
              else
                   numColor = 8;
              newX = x;
              newY = y;
              oldX = newX;
              oldY = newY;
              switch (numColor)
                   case 1:
                        currentColor = Color.red;
                        System.out.println("ITS RED NUBCAKE");
                        break;
                   case 2:
                        currentColor = Color.green;
                        break;
                   case 3:
                        currentColor = Color.blue;
                        break;
                   case 4:
                        currentColor = Color.magenta;
                        break;
                   case 5:
                        currentColor = Color.yellow;
                        break;
                   case 6:
                        currentColor = Color.black;
                        break;
                   case 7:
                        currentColor = Color.white;
                        break;
                   case 8:
                        break;
              repaint();
              return true;
         public boolean mouseDrag(Event e, int x, int y)
              newX = x;
              newY = y;
              oldX = newX;
              oldY = newY;
              repaint();
              return true;
         public void update(Graphics g)
              paint(g);
    }

  • Is there a way to send a camera live view using skype

    I have a Canon Rebel with EOS live view.  I can connect my camera to my Mac and see a live image from the camera.  Is there a way to make a Skype call and send the live view images?

    Perhaps you should ask on the Skype forum:  http://forum.skype.com/

  • Is there a way to force a user to view all of Accordion Widget?

    Is there a way to force a user to read, or at least view,
    all sections of the Accordion Widget? We want to make sure the learner reads
    all of the material before advancing to the next slide. Is there a way to do
    this? I have searched all over, but I have been unable to find.

    No way. This is a static learning interaction, no event that could be used eventually. Personally I prefer offering reading material that is engaging over looking for a way to push the learner to look (reading doesn't mean he understands or grabs it) at all the stuff. But that is my teacher's past, if student doesn't read your stuff, something is wrong with the stuff, not with the student.
    If you have to force, you'll have to find another way than the accordion interaction .

Maybe you are looking for

  • No SID found for value '0CURR' of characteristic 0CURRENCY

    Hello dear friends I am getting this above error message 'No SID found for value '0CURR' of characteristic 0CURRENCY' when i am trying to load data in my cube from an ODS. For the Keyfigure that is using the currency  i had to write the following rou

  • Adding a company logo to Standard Purchase Order Stylesheet

    Hi, On Metalink Note:352604.1 suggests notepad can be used for editing or is there better editing tools recommended. How could I using notepad or simular editing tool to add my companies logo to the Standard Purchase Order Stylesheet template? Thank

  • Unable to read beyond end of the stream

    I am coding a Training log for a college project and I am getting this error:  An unhandled exception of type 'System.IO.EndOfStreamException' occurred in Microsoft.VisualBasic.dll Additional information: Unable to read beyond the end of the stream.

  • Connection closed message by RFC function module.

    Hi experts, I have an RFC function module where I have no own exception defined. I use 'standard' ones. EXCEPTIONS   communication_failure = 1 MESSAGE ls_proto-message   system_failure        = 2 MESSAGE ls_proto-message Inside this FM I do update of

  • Smartforms in Dot Matrix

    Hi all, Can anyone tell me how to make a smartform in Dot Matrix mode.?