Form Hangs / Browser Closed

We have developed custom forms which are slighly huge in size, too many fields, too many user events etc.
When we click certain dropdowns, which has user events, The brower is abruptly getting closed loosing all data entered or form freezes forcing to close the browser and restart.
Has anyone experienced such issues? Is this due to some coding issue or are there any specific SAP solution?

Hi,
On which form event of the dropdowns have you written the user events ?
Thanks,
Omkar Mirvankar.

Similar Messages

  • Applicaiton form hangs when trying to make C# form visible from menu event

    I have a MDI windows app, running as an addon on Verion 2007A
    The applicaion is written in C# ( VS 2005)
    I am a newbee to C# ( VS too ) as well.
    All I want is to display the MDI container form when a menu is clicked. But the windows form hangs forever, and does not show.
    if I try to show the form within Main method then no issues! The problem happens only off the SBO menu event .
    I cannot have the form loaded all the time. so I need the services of the SBO menu click, so a user can open it whenever he wants.
    Note: I can open any other form off the menu click, but that , provided they are not MDI containers and they are opened with ShowDialog(); If I use Show(); then again hangs.
    I tried opening the MDI form in Main method, ( wich of course works) and hide it when not needed. I could hide the form, but when I issued a command myForm.visible = true;  through the SBO menu event, again hangs!
    my applicaion Main function is as follows. The class AA_SBO_MAIN  holds the SBO application events.
    static void Main()
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Classes.AA_SBO_MAIN oSBOMain = null;
                oSBOMain = new Classes.AA_SBO_MAIN(); 
                 Application.Run();        
    the menu event simply does
                  frmMain fm = new frmMain();
                  fm.Visible = true;

    Hi
    I try doing these few steps and it seems to work!  The code is in Visual Basic though!
    Declare the form variable
    Private mMDI As New frmMDI
    In your menu click event enter a code like this
    If mMDI Is Nothing Then mMDI = New frmMDI
    mMDI.Visible = True
    On your startup function do something like this
    Public Sub New()
           mMDI.Show() : mMDI.Visible = False
    End Sub
    And more important ... in the form class comment all the code inside the Dispose method
    and finally do the following
    Private Sub frmMDI_Closed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Closed
            Me.Hide()
    End Sub
    it seems to work for me . Hope it helps you too!

  • RMA request, internet browser closed during process....help ple

    my browser closed after the order had been submitted and during the "thank you" screen, as soon as i had read the terms and instructions on the RMA request on a ZEN 4gb and was clicking "I Agree" or whatever that button says, thats when it closed by mistake. The order still came through, i think, as my account says its processing. but its been over fifteen minutes and no email verification, could this untimely closing (right as i hit the button to accept terms of repair) have caused an error? please help, thank you.

    No, I did not manage to get the RMA number . Basically it froze right before i could get it, right as i clicked the "I Agree" (or whatever its called) button on the "Thank You/Acceptance of Terms" form or whatever they are called. So basically I payed but cannot get what i paid for. To resend it i would have to pay another 25 dollars for labor, which i have paid once; and since its my mom's money, i need to get what i paid for or she will be quite the angry one.
    Do you think i could tell customer support my order number and maybe they can tell me the RMA number phone or email it to me, or resend the order without and additonal charge for me?

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • HCM form hangs

    Hi everyone. I am encountering a problem with Adobe forms within the HCM Processes and Forms framework. I am not able to press the check and send button because of the never ending hour glass symbol. The form just seems to hang. This is not related to the hanging problem before when you press check and and send button then the form hangs. This has been fixed. In this case, I cannot even press check and send.
    I created the form using ALD 8.0 and tried to open in the portal using Adobe reader 9.0 and 8.1.1 but the problem still persists. What is strange is this is not happening to the standard forms like Birth of Child etc... There seems to be no problem with my custom form as I also tried it using a blank form and it still happens. The Form Wide ISR scripts and ZCI scripts have already been embedded into the form.
    Could it be because of ALD 8.0?
    Does anyone have any ideas of what's wrong?
    [IMG]http://i576.photobucket.com/albums/ss206/alexanderb522/HCMhanging.jpg[/IMG]

    Hi Chris,
    I have read your blogs before. Great work! However, this is not the problem I am encountering. I was able to fix the bug you described that occurs when you press check and send. This was fixed by upgrading from ECC 6.0 patch 12 to 19.
    I am experiencing a different problem where I cannot even press the check and send button. It does not hang on the form i.e I can enter data but if I move my mouse outside the form into the surrounding web dynpro component there is the never ending hour glass that does not let me press the buttons on the web dynpro component.
    I think it may be related to the version of the script installed...
    Any ideas?
    Thanks!

  • Oracle.forms.webutil.browser.BrowserFunctions bean not found [SOLVED]

    Hi. We develop our 10g forms on the Windows side and then deploy then on our UNIX server.
    I have an application that compiles and runs fine when deployed on the UNIX-side of things, but when I attempt to run it on the Windows-side of things I get the error:
    oracle.forms.webutil.browser.BrowserFunctions bean not found. WEBUTIL_SEPARATEFRAME. IsSeparateFrame will not work.
    If I acknowledge this message then the form continues to run, but if it attempts to execute the WebUtil Client_Host functionality then I get the error:
    oracle.forms.webutil.browser.BrowserFunctions bean not found. WEBUTIL.HOST.Execute will not work.
    Any suggestions as to what I might have messed up configuration-wise on the Windows-side of things? Any help would be greatly appreciated!

    Ugh. I wasn't pointing to the WebUtil configuration. All good now.

  • Forms hangs when using result of an OUT parameter to do an Insert

    Hello,
    I think I have slightly odd problem here... I'm currently migrating a Forms 6i client-server application to Forms 10g904. I found that one of my Forms was hanging i.e. screen goes blank, 'activity' bar on the bottom right just keeps whirring away indefinitely.
    After much investigation, the hanging-form problem occurs in the following scenario:
    - In a routine in a Forms pll library, a variable is declared e.g. w_capture_output
    - In the first round of a loop, this variable is passed into a database stored proc, which has an OUT parameter to return a result e.g. SOME_PROC(w_some_input, w_capture_output);
    - w_capture_output comes back with a value e.g. 'P'
    - This is then used in an Insert e.g. INSERT INTO some_table (a, b) VALUES (1, w_capture_output)
    - The next round of the loop; the variable is passed in again into the proc. It still holds the value from the last round e.g. 'P'
    - In this round, the logic of the proc is such that the OUT argument is set to null i.e. when the proc has finished, w_capture_output is now null. This can be confirmed with IF w_capture_output IS NULL THEN display_some_message. The code is still all running fine.
    - But now when I run INSERT INTO some_table (a, b) VALUES (2, w_capture_output) - the form hangs.
    I can, however, work around this and prevent the form from hanging simply by ensuring at the start of each round of the loop that I explicitly set w_capture_output back to null before passing it into the proc that sets it. Or alternatively, after it comes back from the proc, the following also prevents the hanging problem:
    w_capture_output := NVL(w_capture_output,NULL);
    To summarise - if I pass a variable into a proc taking an OUT parameter, AND that variable is not null going into the proc, AND the proc sets it to null AND I then try to use that variable in an Insert statement - the form hangs. Something horrible is happening to the variable inside the procedure, I think.
    Now, I can kind of see why passing a non-null variable into an OUT argument might cause problems (although only if you then try to set it to null - not if you set it to another, non-null value). However, exactly the same code works fine under Forms 6i, using the same database instance and proc. And if Oracle have changed the rules, shouldn't it throw an error, rather than just hanging? I'd prefer not to have to use the workaround, as this is a very large app and I don't know yet how many places would need it.
    Has anyone else come across this issue..? (Database is 9.0.2. btw, Forms are 10g904)
    Cheers,
    James

    Try
    v_log_name := 'Fnd_File.LOG_OUT';Hey, what r u doing with above code?
    You are assigning string value to a variable?
    The compilation won't give any error.
    And OP thinks it's solution!!!!!!!!!!!
    LOL

  • How to track browser closing event?

    Hi Everyone,
    I ran into a problem, which I thought at first would be a very easy thing to solve. Unfortunately, I spent few hours already reading through the forums posts and could not find the answer. Some say it is impossible to implement. I think there has got to be a solution to this problem.
    I need to track user's login time into the JSP application and record both login and logoff timestamps. I had no problem with the login. Just instantiated my TimeTracker object on the index.jsp page and it writes a new row into the database every time user hits this page. However, things are different with the logoff. User can exit out in three dirrent ways. One is to click the "Exit" button, second is when session expires and the third is when "X" button of the browser is clicked and browser shuts down. I can control first two scenarious. I don't know what to do about the user closing the browser.
    I tried capturing onCLose, onUnload or onBeforeUnload events but all of them are also invoked when window gets instantiated or when user clicks on a different page within the application. I also tried instantiating an applet within my JSP template and invalidate session inside its destroy() method but the problem here is that the applet gets destroyed every time a different page within the application is accessed.
    I am ready to give up and just leave it as it is now, let the session expire on its own and take care of the logoff time.
    Did anybody have similar problem and found the resolution?
    Any help would be greatly appreciated.
    Thanks,
    YM

    The common answer is that there is no good way to track the browser closing. A page can't tell the difference between the browser closing and simply navigating to a different page, so determining when the broswer is actually closed is a tough task. There have been some complex solutions in the past, but none seemed to be guaranteed to work, and as such, are pretty much useless for most applications.

  • I want to make sure a check box is selected before allowing a form to be closed.

    I want to make sure that a check box is selected before allowing the form to be closed in X Std.  I have set the field as a required field but want to make sure that whoever fills in the form cannot exit, print or save without first ticking the box.  How do I do this?

    There is no way to prevent those actions. The best you can do is alert the user just before any of those things happen.

  • A particular form hangs while saving in Oracle Apps 11.5.10.2

    Hi Friends,
    I am using Oracle Apps 11.5.10.2 on Linux.
    In a custom Responsibilty ,In a particular form after entering the valuses when i give confirm button the application forms hangs for a long time without saving the values.
    Please let me know the Fix.
    Regards,
    Arun

    Hi,
    Was this working before? If yes, any changes have been done recently?
    Can you find any errors in the Jinitiator Console Window, application log files, and the database log files?
    Please verify that you have no invalid objects in the database. Also, try to generate the form via adadmin and see if this helps.
    In none of the above helps, please obtain FRD file, and see if more details about the error are reported in the log then -- See (Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i) for details.
    Regards,
    Hussein

  • Forms hangs after using FileUpload PJC  in our application

    1) I've successfully tested the stand-alone FileUpload demo form provided by Oracle for moving files from C/S to the middle tier machine. That tells me all the environment variables, etc. are good to go.
    2) When i try to use the same demo form from my application using the call_form function, it works till the point of transferring the file to the server. Then when I try to close the demo form by hitting the close button to go back to my application, the form hangs up with no error message either in the Java console or the Application.
    3) Even when i made changes to my application to implement the PJC as per the Oracle implementation paper, the same result as #2.
    We are using Forms 6i (v6.0.8.19.2), iAS Rel1 (v1.0.2.2.2a) running on W2000.
    BTW, the size of the file is 1K. The last message I see in the Java console is oracle/ewt/laf/basic/ProgressBarPainter.class
    Any ideas or help appreciated. Thanks.

    Hi,
    You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
    JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
    The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
    In the simplest case, one line of Java code can solve your problem.
    Good luck!

  • How to stop Execution of Queries when the Browser closed in middle?

    Hi,
    I have JSP search page, which takes search parameters from previous page runs queries and display the results. I am using connection pool to connect to AS400 database.
    The problem I am facing is... The query still runs on database server, when the user closes browser before getting the search results.
    I am closing all my statements and returning connection to pool at the end of the JSP page.
    Is there any way to terminate the execution of the queries, when the user closes browser?
    Thanks in advance.

    Allright.
    As you know there is no direct way to catch that event, you will have to do this workaround :
    1. Create a class which implements HttpSessionBindingListener. The valueUnbound method will have flag or code to stop running query.
    2. Instantiate this in your search page, and add it into session.
    3. Add javascript in search JSP to access another(dummy) JSP on unload event(to catch browser closing) something like:
    function unload()
    location.href = "/kill.jsp";
    4. The code in dummy JSP will remove the object from session, and will fire valueUnbound method.
    Let me know if this helps.
    -Mak

  • Condition to test for the browser closing/refreshing

    I have an applet that rotates pictures in a html file. I have it in an eternal loop to keep it running. It loads fine, but if you refresh or try to close the browser, the browser locks. Without question this happens because the loop does not test for the browser closing or refreshing so the loop never stops. Does anyone have an idea of a Java condition to test for the browser closing/refreshing so I can stop my loop when these events occur.

    The applets stop message should be called on a reload and/or a close. You could set a flag in your stop method that could be checked by a thread that actually sits and loops.
    When the flag is set, kill the tread.
    You should clear that flag in your start method.
    I have an applet that rotates pictures in a html file.
    I have it in an eternal loop to keep it running. It
    loads fine, but if you refresh or try to close the
    browser, the browser locks. Without question this
    happens because the loop does not test for the
    browser closing or refreshing so the loop never
    stops. Does anyone have an idea of a Java condition
    to test for the browser closing/refreshing so I can
    stop my loop when these events occur.

  • Lock not always released if browser closed in edit mode.

    We have had a few instances in the last couple weeks (since deployment of an I.P. application) where a user has either closed the browser while in edit mode, or received some sort of error when saving plan data and the browser closed, where the Lock in RSPLSE/SM12 was not deleted. In the last case, the lock stayed for 6 hours before we were notified to manually delete the lock. The user had closed all windows, even restarted her machine.
    Any insight on how to enforce removal of locks if browser is closed? We are on SAPKW70017 and BI Java Support Package Patch SP015

    Hi Cote,
    this is a frequently discussed topic. Usually the lock should be released, the session should be closed etc at the time closing a window.
    One idea for this one: Does a small popup window appear when you close your browser? If the users have activated the popup blocker this will cause problems because the locks and sessions can not be released. Also it might cause problems using other browsers than IE...
    Good luck.
    Brgds,
    Marcel

  • Oracle.forms.webutil.browser.BrowserFunctions

    Hi,
    I try to use the 'webutil_browser.showstatusbar(false)' in the trigger WHEN-NEW-FORM-INSTANCE.
    When I run form I have this message :
    Your form contain the following Bean for this function to be available : oracle.forms.webutil.browser.BrowserFunctions.
    I don't know what It is ??
    Could you help me ???
    kind regards
    Giordano

    Please read the documentation carefully - you cannot call WebUtil Functions from the Startup triggers in the form such as When-New-Form-Instance
    See Page 14 of the manual - "Adding Webutil Code"

Maybe you are looking for