Complete a GP after closing a pop up window

Hi all,
I have written a wd4j application to be a callable object.  When a user clicks to approve the request, a pop-up window appears and ask if they are sure.  Upon clicking yes, the window should be closed and the GP should be completed.  I am having an issue with completing the GP, as it completes before the window is destroyed and thus throws a null pointer. 
Does any one know where I should a)destroy the window and then b) complete the GP?
I am closing the pop up window from my main window, via events raised by the component controller.  I have tried to move the gp.complete around, but I am not able to get it to work
Thanks
Ryan

To finish the GP you should use
executionContext.processingComplete();
And to close the window popUp
Try to use this confirmation window
IWDConfirmationDialog dialog =
    wdComponentAPI.getWindowManager().createConfirmationWindow(....)....
And in the actions that you decide
you should destroy with this line, when dialog its the pop up.
dialog.destroy();

Similar Messages

  • Closing a Pop Up Window on click of a button

    Hi Forum,
    In the parent view there is a button, on click of this button a new pop up window is opened.
    This pop up window also has a button (Submit). Onclick of the submit button in pop up window I need to performe some code execution and then close this pop up window.
    I tried the steps given in the weblog
    /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
    But it does not seem to be working.
    Any other way to achieve this or what might I be doing wrong here?
    Thanks,
    Anubhav.

    Hi,
    I missed a parameter in parent window while calling the pop up window
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
    DATA lo_api_component  TYPE REF TO if_wd_component.
    DATA lo_window         TYPE REF TO if_wd_window.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window_for_cmp_usage(
                       interface_view_name    = 'WD_VALUE_HELP'
                       component_usage_name   = 'ZUSAGE_FORMNUM'
                       title                  = 'Additional Information For Item'
                      close_in_any_case      = abap_true <----Missed this earlier
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    lo_window->open( ).
    Now it is working fine.
    Many thanks to all.

  • After closing Firefox a small window appears with the title saying firefox.exe - Application Error.

    If I click OK the appears again, and again and again. No matter how much I click OK or try to Exit the window it just will not go away.
    The window says, The intruction at "0x1fb37800" referenced memory at "0x1fb37800". The memory could not be "read".
    Click on OK to terminate the program"
    Please somebody kindly help me.

    Hi,
    Please check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If the new profile is okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in [http://kb.mozillazine.org/Profile_folder another location (profile folder)] separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • Why data memory is not completely wiped out while closing a VI?

    I am facing some memory allocation issue in my LabVIEW project. Help me sorting it out. Followed below steps,
    1. Launching LabVIEW 2011.
    2. Checking memory allocation (say it is n kB) 3. Opening my project VI.
    4. Again checking memory allocation (say it is n + 10 kB) 5. Closing the VI.
    6. Again checking memory allocation.
    7. Expected it to be n KB. But it is not. There is some residual memory which is not properly wiped out.
    8. Repeated these same steps for NI example VI (C:\Program Files\National Instruments\LabVIEW 2011\examples\control\PID\Autotuning PID Online with Gain
    Scheduling.vi) found same results.
    Explain me why the data memory allocated while opening the VI is not completely wiped out after closing it.
    We are doing some memeory optimization in our LabVIEW project. So a clear justification is required for this question.
    Thanks,
    Rameshkannan

    mrk1 wrote:
    I am facing some memory allocation issue in my LabVIEW project. Help me sorting it out. Followed below steps,
    1. Launching LabVIEW 2011.
    2. Checking memory allocation (say it is n kB) 3. Opening my project VI.
    4. Again checking memory allocation (say it is n + 10 kB) 5. Closing the VI.
    6. Again checking memory allocation.
    7. Expected it to be n KB. But it is not. There is some residual memory which is not properly wiped out.
    8. Repeated these same steps for NI example VI (C:\Program Files\National Instruments\LabVIEW 2011\examples\control\PID\Autotuning PID Online with Gain
    Scheduling.vi) found same results.
    Explain me why the data memory allocated while opening the VI is not completely wiped out after closing it.
    We are doing some memeory optimization in our LabVIEW project. So a clear justification is required for this question.
    Thanks,
    Rameshkannan
    YOu may be seeing the file alloaction info being cached. LV will try to remeber where it found files so it can find them faster next time.
    I suspect you should ignore that part and focus on the parts of your code that is suffering from memory abuse.
    You can use the Profile VIs tools to locate who is gobling up the memory.
    Then use "show buffer allocations" to figure out where the issue is.
    Post image if you want the gang here to "play along".
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Returning to the parameter form in a report after closing the report page

    hi all,
    tell me a way to get the following solution
    how can we return back to the parameter form of a "parameterised
    report" after closing to the report window.
    i ve tried a little bit with "srw_run_report"
    reply me as quick as possible
    prabhakaran

    Try using menu options
    Tools\Parameter Form Builder
    you can either select/deselect any parameter from the list

  • Error window after closing Firefox!

    Hi,
    After closing Firefox an error window appears. And after closing that window another smaller one appears.
    Please help me.
    Best Wishes,
    Nick

    What errors are you having appear?
    Try to start Firefox in [[Safe mode|Safe mode]]. This mode disables all extensions, user customizations, hardware acceleration, etc. temporarily for diagnostic and troubleshooting. If Firefox works fine in Safe Mode, then this is likely an add-on issue. Restart Firefox in normal mode, then type "About:addons" (without the quotes) in the address bar. Disable your extensions one by one, restarting Firefox between each one, until you find the trouble maker. Once you do, you can disable that add-on and report the issue to that add-on's developer.
    A few other basic trouble shooting things you can try is this:
    Run all Windows Updates, install all needed service packs, etc.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers].
    Update all your plugins (Flash, Java, etc.): [http://www.mozilla.org/plugincheck/ http://www.mozilla.org/plugincheck/].
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.

  • Adobe reader 11.0.10 uses max. CPU after closing on Windows 8

    Hello,
    please advice how to solve the issue of max. CPU use of Adobe reader after closing it on a Windows 8 64bit system.
    Thank you.

    Try disabling Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • Closing Oracle Background Engine Window.

    Hello,
    I am working on Oracle Reports 6.0. When I run any report Oracle Background Engine Window opens & show which report is running. But after closing report still that window remains as it is. It there any way to close that window onces I complited report.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vijay ([email protected]):
    Hello,
    I am working on Oracle Reports 6.0. When I run any report Oracle Background Engine Window opens & show which report is running. But after closing report still that window remains as it is. It there any way to close that window onces I complited report.
    <HR></BLOCKQUOTE>
    I guess it's designed so that it does not have to reload the Background Engine everytime you run the next report.
    Maybe in your case you do not run reports frequently, but in our office report runs are quite often so it's a feature that is quite welcomed.
    null

  • Preloader Image Script and Pop-Up Window Behavior

    Hello --
    My client's referring site --
    www.moscaritolo.com/originals.htm. Please note: I am not a
    programmer, but more of a designer and don't possess the skills of
    writing code so in the development of this site for my client, I
    decided to use this preloadslider -
    http://www.dynamicdrive.com/dynamicindex14/preloadslide.htm
    - by Jason Moon to display the images. So far, I really like it and
    so does my client.
    However, I now have a problem with the pop-up window behavior
    for the triptych image on the originals.htm page. When you hit the
    triptych pop-up behavior, the preloader stops working on the main
    page and (#) stays in the address bar even when you've closed the
    pop-up window for the triptypch image. Next, I tried just making
    the word triptych a standard link to a new htm page and using the
    back button on the browser and STILL, the preloader will not work
    properly..? Any ideas..?
    Text

    please code sample ? demo code is enough to try
    with.This has nothing to do with samples. You should know
    which encodings you use. You decalre it in the HTML
    i have not mentioned encoding in the HTML.
    by html encoding , i think you mean this (bold letter)
    // created by dreamweaver 2004
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>
    <body>
    </body>
    </html>if you mean that...NO, I DID NOT USE that thing in my JSP. i deleted that.
    and XML headers. XML encoding, i have this at the start of XML....
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    // XML data
    Java, if nothing else is said, uses
    UTF16.
    in my form i have method="post".And what do you receive? What does "corrupted" mean?
    Not well-formed? Garbage characters? Truncated?error message: [STDOUT] xmlStringelectric.xml.ParseException: java.io.IOException: could not find 59 line 1, char 46682:
    NO, i dont blame my parser. if i provide the XML seperately, then my parser works fine.
    but when i send the XML via JSP to the parser it does not work.
    that means sending of XML is making some trouble.

  • After upgrading to 3.6.12 my browser is not opening pop-up windows and while closing the browser giving a message that some tabs are open and shall the same be closed? I have not encountered this problem with eralier version. Is there any known issues?

    Some of my web pages open a new pop-up window for entering credentilas and display sensitive information. After upgrading t0 3.6.12 i found that firefos is not opening pop-up windows (earlier version allowed). When I close the browser, it gives a quit message saying there are unclosed tabs and windows of firefox. shall they be saved for next time start.
    Also observed that the memory usage (from Task manager)is very high compared to earlier ones and the process is not closed even if I close the browser.

    3.6.13 is also behaving similarly.

  • Often when I try to open Firefox again after closing it, a message pops up saying Firefox is already running (it is not!), so I have to restart my computer.

    Many times when I try to open my Firefox (3.6.11) after closing it, a message pops up saying "Firefox is already running. You must close the porcess or restart your computer before you can open it." Because it is already closed and I have nothing else to close, I close the message and try again, and the same message pops up again... So I have no choice but to restart my computer. (charlie181818@*******.***)

    See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • Stop pop up ad that appears desktop after closing firefox

    Need help to stop Firefox advertisement that appears on desktop after closing Firefox. Not very proficient with computers and need help to discontinue this pop-up.
    Thanks,
    Lynn Johnson

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • HT2521 A pop up window in my safari is not closing. Even after several clicks on OK it keeps popping up. And the open window is not allowing me to use the Safari nor is it allowing to restart/Shutdown the Mac. Please help me rectify this error.

    A pop up window on my Safari does not close even after several clicks on OK... this window keeps popping up and is not allowing using the safari nor is it alowing to close the browser. The open Safari is also not allowing to restart or shutdown the notebook. Please help me rectify the problem.

    Force Quit .
    Press command + option + esc keys together at the same time.    Wait.
    When Force Quit window appears, select  Safari, if not already.
    Press Force Quit button at the bottom of the window.      Wait.
    Application will quit.
    If this does not help, press the power button for 7 or more seconds.
    Computer will shut down.
    Restart.
    Hold the shift key down and launch Safari.
    Best.

  • Reader 9.3 causing IE to stay in processes after closing

    After installing the latest Reader (9.3) for a client, their Internet Explorer remains in memory after closing it completely (iexplore.exe processes stay in task manager).  This wouldn't be a problem because IE still starts back up just fine, but it causes another program they use to hang when they are trying to perform some tasks in it.  When it hangs, I can close out the processes, but there's a 50/50 chance it stops hanging and continues or stays hung up.  After uninstalling Reader, IE closes out fine and immediately, and their other program works fine.  The other program is a little older, most likely a Windows 3.1 16-bit program.  I was not yet been able to disable the Link Helper add-on for IE to see if that was the cause.  Any other ideas?

    Try this:
    Right click on the IE8 icon in the taskbar. A menu pops ups up. Right click again on "Internet Explorer". Then left click on "Run as administrator". I had a different problem with Reader and this solved the problem. The problem I had was I could not save pdf files in IE8. This solved that problem.

  • I cant install an update to Firefox and cant remove the old version because a "Setup" pop up window "Your computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?" appears, reboots change nothing. What should I do?

    A friend said she downloaded an update to Firefox (a version of 6, I believe) but didn't install the update, but the desktop icon was gone. The only way to launch Firefox was from the Programs folder. When clicking on the Firefox file, a "Setup" pop up window appeared stating "Your computer must be restarted to complete a previous upgrade of Firefox. Do you want to reboot now?" Clicking "No" does not launch Firefox and clicking "Yes" reboots the computer, but nothing changes after restart and the same series of events keeps re-occurring. When clicking on the safe mode file, Firefox was launched. I went to "Add/Remove Programs" and found Mozilla Firefox 3.6.3. When attempting to remove the program, the same reboot "Setup" pop up appears, and the same non-results as previously described, persisted. I deleted all Firefox files and deleted the update set up .exe files. I again tried to remove the Firefox 3.6.3 program, with the same outcome as the previous attempt(s). I went to the Firefox website and downloaded the updated Firefox 7.0.1 set up .exe file, saved and ran it. When I reached the Setup Wizard page that prompts a "Standard" or "Custom" installation, I clicked on Standard and the same reboot pop up window appeared, again with no change after the reboot. So I have a Program installed (Firefox 3.6.3) with no files, and which can not be removed, an executed update/download .exe for Firefox 7.0.1 that can not be completely installed due to the failure to update by reboot problem. I'm out of ideas on how to try to resolve these problems. Any help would be greatly appreciated! Thank you

    Try a clean reinstall.
    * Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    * Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Profile_backup

Maybe you are looking for