Closing of a window

hi friends for closing a window we created one close button in view and we implemented code for this event handler but according to my requirements iam placing the code under wddoonexit method of component controller but iam getting errors.how i can close application by using code that is written under component controller wddoexit method without using closing button
data : l_view_cntr type ref to if_wd_view_controller,
l_win_cntr type ref to if_wd_window_controller,
l_window type ref to if_wd_window,
l_parameter_list type wdr_event_parameter_list,
l_parameter type wdr_event_parameter,
l_val type ref to data.
field-symbols <fs> type any.
l_view_cntr = wd_this->wd_get_api( ).
l_win_cntr = l_view_cntr->get_embedding_window_ctlr( ).
l_parameter-name = 'CLOSE_WINDOW'.
create data l_val type c.
assign l_val->* to <fs>.
<fs> = 'X'.
l_parameter-value = l_val.
insert l_parameter into table l_parameter_list.
l_win_cntr->if_wd_view_controller~fire_plug(
exporting plug_name = 'EXIT_PLUG'
parameters = l_parameter_list ).
explain what the above code doing
Edited by: ravidanda on Mar 8, 2011 6:06 PM

Hi ravi,
If the application is running in portal.. using WORK PROTECT MODE option.
Re: Webdynpro ABAP exit plug browser auto popup.
and also go through this... you get some idea.
Close Web Dynpro Application on click of button
Cheers,
Kris.
Edited by: kissnas on Mar 9, 2011 6:09 AM

Similar Messages

  • Open URL in a new window by closing the parent window

    Hi Friends,
    Is there any option to open URL in a new window by closing the parent window on a button click?
    Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window '  and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me  ..............
    Regards,
    Radhika

    hi,
    Do the following steps :
    -> Make an Outbound Plug to the Window.
    ->Make the type of Outbound plug to Exit Type.
    ->Add URL of type String as a parameter to the outbound plug of Window.
    ->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
    To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
    DATA lo_zexit TYPE REF TO ig_zexit .   <zexit is name of my Component>
    lo_zexit =   wd_this->get_zexit_ctr( ).
      lo_zexit->fire_out_window_plg(
        url =   'http://www.google.com'                            " string
    I hope it helps.
    Thanx.

  • I want to reset Firefox, and the message is that something is preventing the reset. I have closed all open windows and I still get the "Oops" message,

    I have uninstalled and reinstalled Firefox because I was receiving unwanted adware and was being directed to untrusted sites. Now I want to reset Firefox because I want to change the home page and toolbars, and something is preventing the reset. I have closed all open windows repeatedly, but the problem continues.
    =====Moved from Firefox OS product to Firefox for Desktop product category by Moderator. -feer56=====

    Check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder
    '''Linux:'''
    * [http://www.freesoftwaremagazine.com/articles/see_all_your_installed_applications_ubuntu_unity Ubuntu Unity]''' {web link}
    * Xfce: Applications Menu category sections
    * options depends on the package manager and the desktop environment
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''''' {web link}

  • Why does closing all open windows (15) and leaving only one drop ram usage from 1.5 to 1.4Gb and not more.

    Why does closing all open windows (15) and leaving only one drop ram usage by only 100mb from 1.5 to 1.4Gb.
    What is in this 1.4 gb ?
    I don't care much about ram, It's just that cpu usage spike like crazy by the end.
    ''Edited to remove swearing - TonyE''

    Hi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
    Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
    *[[Export bookmarks to Internet Explorer]]
    You should not use old versions they are insecure. Security fixes are publicised and exploitable.
    * [[Install an older version of Firefox]]
    * https://www.mozilla.org/security/known-vulnerabilities/firefox.html
    Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
    *[[Send performance data to Mozilla to help improve Firefox]]
    Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
    *[[Troubleshoot Firefox issues using Safe Mode]]

  • My 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help.

    my 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help. What can I do?

    Under CPU: 3.5% user; 5% system; 91% idle; 441 threads; 90 processes.
    Under System: out of 2GB - 54.7MB free; 530MB wired; 603MB active; 862MB inactive; 1.95GB used.
    Is too much of the system memory tied up? If so, what can I do to free some up?

  • Many times it happens that even I had closed the application window i had to manually  quit the application by going in 'forced quit'..any solution .. :(

     many times it happnes that even I had closed the application window  it keep running  on backend and I have to manualy close it again by going in  'forced quit'.. any solution.... 

    Closing the window doesn't quit the application on Mac like it does in Windows. You have to select Quit (Program Name) from the top menu or use the keyboard shortcut Command + Q

  • A second browser window will not open and then closing the 1st window firefox will restart. Taskmgr shows it still running, it will not restart until I end the process in taskmgr.

    I open the browser and close it every thing is fine. I open the browser and then attempt to open a second browser window, it will not open. Now because I've attempted to open a second browser window firefox will not restart after closing the open window. Until I've shut it down in the taskmgr. This just started the other day and I have removed the only update I made that was "flash" and I removed the 64 bit version of firefox.

    Win 7 with iTunes installed - I was also having problems with that.
    "netsh winsock reset" at the command prompt resolved all issues and Firefox launched normally.
    Check to see if Winsock is corrupted. May prevent FF from communicating with the web and consequently fails to launch properly - for my situation was not a firewall or antivirus block!
    http://support.microsoft.com/kb/936211#LetMeFixItMyselfAlways
    Click Start, and in Start Search, type cmd.
    Right-click the cmd entry that appears in the search results, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
    At the command prompt, type the following, and then press ENTER:
    netsh winsock reset
    Then, you should see the following message:
    Successfully reset the Winsock Catalog. You must restart the computer in order to complete the reset.
    Restart the computer.
    Note If you receive an “Access Denied” error message instead of the message that is mentioned in step 3, the command prompt was not correctly elevated. In this case, close the Command Prompt window, and repeat steps 1 through 3. Make sure that you correctly implement step 2.

  • New feature in SP5: Closing a popup window raises an event

    I'm trying to use this new feature that came in SP5, "Popup Enhancement - Closing a popup window raises an event to the containing iView".  Can anyone give me an example of how this works?  In the configure element for the popup, there is a new field called, 'Closure Event'.  I though by adding by event to this new field, that the event will be raised after closing the popup window, but it didn't.  What am I doing wrong?

    Hi,
    you should add an end-point to the popup and/or use the "Close" action.
    there's a difference between when closing the popup implicitly or explicitly

  • Source Safe causing LabVIEW Quick Start Screen to not appear after closing open vi windows?

    Hey All,
    We've recently implemented Source Safe version control for LabVIEW on XP and I've noticed that LabVIEW is hanging between closing open vi windows and showing the Quick Start Screen.  The usual pattern is for the Quick Start window to appear after the last open vi window is closed.  Instead the vi window is closed, the tab at the bottom of the screen says debug development and the Quick Start Screen does not appear, the tab does not read "Getting Started."
    I think it is a LabVIEW <--> Source Safe issue when I do a Task Manager Exit on the LabVIEW process that I sometimes see a dialog box asking if I want to save changes in memory to disc and those files are not checked out.  But it is too late at that point to do anything as XP clobbers the application before I can do anything.
    Anyone else have this issue?
    Message Edited by Drewski on 05-30-2008 02:28 PM

    What LabVIEW version do you use?
    I have used SourceSafe in every version from 8.0, and in the way some bugs are resolved.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Issue Tracker app closing the browser window on chart page

    Hi!
    I am walking through the Issue tracker tutorial. I have created page 10 (Issues Resolved by Month) which is the chart page. Everything looked fine until I try to run the page. Then it simply closed the browser window after it authenticates me. Anyone else see this? Any ideas?
    Thanks!

    Probably a problem with your SVG viewer installation. Does it happen on other chart pages as well? What browser/svg viewer version combination are you using? There are some known issues with what's labeled as the current svg viewer on Adobe's website and Firefox.
    Earl

  • Event handling for closing a browser window on portal in web dynpro abap

    Hi,
    I am new to portal as well as web dynpro. Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
    Thanks and regards,
    Amrutha

    Amrutha S wrote:
    Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
    Hi,
    I dont think that you can code to close IE browser window as you cannot access MS IE APIs in WD ABAP. I looked into closing IE browser and got http://p2p.wrox.com/general-net/16588-handling-ie-close-event.html . reading this, it seems the coding can be done in C#(asp) etc.
    also refer Closing of IE window
    I hope this is useful for you.
    Thanks,
    Chandra

  • Closing the Capture window crashes Premiere

    Hi,
    I'm attempting to capture video from a Sony DHR-FX1. The capture window doesn't show the video as it plays, but it appears to record it; when I stop and save the clip, the saved video appears in the Library window with a visible thumbnail of the video. As soon as I close the capture window, Premiere suddenly shuts down.
    The settings in Premiere:
    HDV 1080i30 (60)
    29.97
    1440x1080 (1.33 anamorphic)
    16x9
    48kHz 16 bit
    The computer is a MacPro Tower with OSX Snow Leopard and I'm running version CS5.5.
    Thanks much,
    --Chaz

    My version of OSX is 10.6.2
    I purchased the Master Collection just this week so this is my first time using CS5.5 (and on a Mac no less). I downloaded the latest updates for Premiere [5.5.2] and there was a small improvement. Which now means the program doesn't crash immediately after closing the capture window, though it does eventually. I'm wondering if the crash when closing the capture may have been a coinidence before anyway.
    There was a small delay before my latest crash which gave me enough time to save a short 5-sec test snippet. The footage was still in the file when I restarted so we're headed in the right direction. I'm attempting to record the entire tape at once to see if I can manage to save that with the same results.
    Are there Codecs associated with this product or for the Mac that you're aware of?

  • How to create a Child Window without closing the parent Window

    Hi All,
    I have a requirement to create a child window without closing the parent window. I have to click an item in the parent window, then one child window should get open. The parent window should not be closed before closing the child window.
    Kindly help me in this.
    Thanks and Regards,
    Myvizhi

    Hi All,
    I found the solution for this. I have created a new page. Then i created an item as link item style in the parent page and i have set the following properties in the Link item:
    Destination URI : OA.jsp?page=/seagate/oracle/apps/seasoa/que/webui/SeaSoaHeaderDetailPG&headerId={@ErrHeaderId}&retainAM=Y&addBreadCrumb=Y&backPage=S
    Target Frame     : _blank
    This is opening the new child window without closing the parent window.
    Thanks and Regards,
    Myvizhi

  • My tabs are seperated into groups. Once I accidentaly opened a site in a new window (not a new tab). After that, I accidentaly closed the Firefox window with all my grouped tabs. Now, I can't recover it. Are there any solutions?

    I have my tabs seperated into several groups (for example, bank tabs, music tabs, social life tabs and so on). I do this with the help of the button in the top left corner. While I was surfing the internet, I accidentaly opened a site not in a new tab (as I usually do), but in a new window. The new window was without all the grouped tabs, which I had in the previous Firefox window. And then I accidentaly closed the Firefox window with all my grouped tabs. Now I can't recover it. Are there any solutions?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • REPRODUCABLE crash: javascript closing of child window

    I can consistently crash Safari (2.0.2) when closing a child window through javascript. All other browsers operate as expected. An example of this can be found here:
    http://www.kevinvaughan.org/testpopup.html
    Click the test popup link, and click cancel or ok. Sometimes Safari crashes on the first window close, sometimes it takes 20 times of bringing up the window, but it always crashes in the process of closing the child window.
    Has anyone else experienced similar problems?

    It seems clear to me at least that last batch of upgrades (I suspect QT 7.03) have altered something in Safari's DNA. I have frequent crashes when opening or closing windows, moving within websites, etc. It is not an issue related to 10.4 because I have 10.3.9 and have same problems. If you disable javascript, viola, crashing ceases, along with much compatibility/usability. I see little indication that Apple regards this as a problem, but Safari has become useless to me and apparently many others. I await their fix or somebody else's wise suggestions.

  • Exception when closing an Applet window

    Hi,
    Every one.....
    I have added Swing components to the JApplet. Everything is fine with the program . But when i am closing the appletviewer window it is throwing the following exception :
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
         at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
         at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source)
         at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
         at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
         at sun.awt.windows.WComponentPeer$2.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    So how to resolve this one, can anyone ?
    Bye

    I could be proven wrong, but I think you can use hide() and show() for your windows. You could make a windowListener that when a user tries to close the window you would have it hide that window instead, and show the underlying window:
    http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html
    You might also want to make the new window that pops up a modal dialog window.
    http://java.sun.com/products/jlf/ed2/book/HIG.Dialogs3.html
    Hope that helps.

Maybe you are looking for

  • Problem with restore in Backup.app

    I just bought a new external hard disk and did a full back up using Backup.app. Then I needed to restore my iPhoto libary and here's what I got. Restore failed. Here's the log. Begin restore at 2007-03-01 01:04:33 +0900 Created alias at /Users/ronbel

  • Converting Multipule Reqs to a Purchase Order with Delivery Schedule Lines

    Is it possible to convert a multiple Purchase Reqs for the same items to a PO that has one line but multipule deliver dates in the Schedule lines - Where the Purchase Reqs have been generated by MRP Example I have an SAP Contract 46***** that runs vi

  • [Fixed] eric5 no longer works after -Syu

    Fixed: New eric5 package for Python 3.3 is now available in the repositories.  Works as intended now. Edit 3: filed bug report: https://bugs.archlinux.org/task/32044 Edit2: the exact package name for eric5 in pacman is "eric" Edit: Ok, this is likely

  • How can I trim a variable?

    I have an applescript with a variable containing the POSIX path of a file. I would like to assign a variable with the POSIX path of the folder that contains the file. eg : pathVariable is "/Users/name/Desktop/file.ext" then folderVariable should be "

  • Camera Kit

    I bought the camera connection kit at the same time as my iPad, I understood that there was no provision for connecting compact flash cards other than by connecting the camera directly to the iPad. I was not keen on that idea as it would add drain to