WD ABAP: close main application window without logging off

Hi all,
I need to fire a url (like www.yahoo.com) when a button in a popup window is pressed. The popup as well as the main window need to be closed but not logged off. I was able to close the popup but not the main window.  What are the steps in doing it and if u could provide the code too, it would be helpful. 
Thanks,
Sravanthi

Hi Sravanthi,
Yes, this is possible by using the suspend/resume functionality. More information can be found here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63a47dd9-0b01-0010-3d8e-de27242bf011</a>
Best regards,
Thomas

Similar Messages

  • Close main application window in WD for Java

    Hi there,
    Is there anyway I can close the main application window(not popup) programatically.
    I tried calling the exit plug in the interface view controller, but doesnt seem to close the window automatically.
    I am having 2 components, one calling the other..
    Any help will be greatly appreciated.
    Many Thanks
    lm

    Hi LM,
    Check Re: Close the parent window especialy Nibu`s suggestion.
    <i>
    1) In your Interface view, create an exit plug with a parameter Url of type string.
    2) Add your Interface view controller to your current view's required controller. (in properties tab of your view)
    3) After opening the new External window fire the outbound plug as :
    wdThis.wdGet<your interface view controller>().wdFirePlug<your exit plug's name>("javascript:void(window.close())");
    </i>
    It should work for you.
    Best regards, Maksim Rashchynski.

  • Where are my screens!!??? All my task windows work but the main application window where I Can see my work is missing!

    All my task windows work but the main application window where I Can see my work is missing!
    Help Me!
    I have two operational websites that I can't acces!

    Try the following:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.
    If that doesn't help continue with:
    move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
    launch iWeb, create a new test site, save the new domain file and close iWeb.
    go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
    move your original domain file from the Desktop to the iWeb folder.
    launch iWeb and try again.
    OT

  • My macbook froze up. Finger gestures work, but I cant close out of any windows. How do I close out the windows without using the track pad?

    My macbook froze up. Finger gestures work, but I can't close out of any windows by clicking on the red "X". How do I close out the windows without using the track pad?

    Command + W will close a window. Command + Q will quit a program.

  • How to change the style of the main application window shell

    Hello,
    I am migrating my application from eclipse 3.x to eclipse 4.3 and I want to set the style of the main application window i.e. the shell that is created in application MTrimmedWindow in e4.
    Earlier we were doing it using
    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(0, 0));
    configurer.setShowCoolBar(false);
    configurer.setShowStatusLine(false);
    configurer.setShellStyle(SWT.DIALOG_TRIM | SWT.RESIZE);
    But now in e4 application after reading some forum replies I got to know that custom renderer needs to be created for that.
    I created my own renderer extending WBWRenderer and as I wanted to change the style of shell I am overriding createWidget method.
    Now the problem is that if I am just creating a new shell in this createWidget method then it is not working. Might be because this method has a lot of other code also.
    So I copied all this code into my overridden method of createWidget & just changed the style of shell according to my need. Then this worked but for this I have to put some private methods also into my custom renderer class from WBWRenderer.
    SO my question is to confirm that if I am doing it in a right way?
    or is there any other mechanism to do this in a more efficient way?
    Thanks

    This can now be solved with a specific "persisted state" key flag, as documented in https://bugs.eclipse.org/bugs/show_bug.cgi?id=386951 . For example to realize a NO_TRIM window, add the key/value styleOverride/8, where 8 is the value if you get the numeric of
    int val = SWT.NO_TRIM;
    System.out.println(val);
    Hey Zugi: Liebe Grüsse! Master UIBK/2010

  • HTMLLoader, main application window and scrollbars

    If I instantiate HTMLLoader with "new HTMLLoader.createRootWindow()," scrollbars show up correctly when text overflows the set width and height. I can add it to the stage, but I'm still left with an empty popped up native window
    If I instantiate HTMLLoader with simply "new HTMLLoader()," you can add it to the stage, but it doesn't include scrollbars when the window overflows with text.
    What I want to do is incredibly simple - create a new HTMLLoader instance, have as part of my main application's stage, and get the benefit of the built-in scrollbars.  Why is that so difficult?

    OK - my problem with the HTML Control is I can't seem to add it to a child custom class.
    i.e. - I have my main Air app and a custom class extending UIComponent. I add the custom class to the stage in the main app, and in the custom class, add an HTML Control.  I'm also adding a different HTML Control to the main app.
    Only the HTML in the main app actually shows up. No errors given. What am I missing here?
    Main Air app mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.controls.HTML;
    var _myComp:Comp;
    private function init():void {
    _myComp = new Comp();
    _myComp.init();
    _myComp.x = 200;
    _myComp.y = 200;
    addChild(_myComp)
    var html:HTML = new HTML();
    html.htmlText = "Text on main application window"
    addChild(html);
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    Comp Class:
    package {
    import flash.display.Shape;
    import mx.controls.HTML;
    import mx.core.UIComponent;
    public class Comp extends UIComponent {
    public function Comp() {
    public function init():void {
    var shape:Shape = new Shape()
    shape.graphics.beginFill(0,1)
    shape.graphics.drawRect(0,0,200,400);
    shape.graphics.endFill();
    addChild(shape)
    var html:HTML = new HTML();
    html.htmlText = "Text Inside child component";
    html.x = 200
    this.addChild(html);
    trace(html.htmlText)

  • My Java application cannot exit properly when Windows Vista log off

    When I run my Java swing application and show to user (only in active window state), log off / shutdown process of Windows OS will be interrupted by dialog box, mentioned that the process is blocking by my Java application. The dialog box has 2 buttons, 1st button, log off / shutdown now, 2nd button, cancel log off / shutdown. If I click cancel button, terrible thing happen!!! My Java application hang there with CPU usage 90 something....
    I using 1.5 and having above mentioned problem. But when I using 1.6, no dialog box is pop up, my machine can go log off / shutdown as my expectation.
    Any expert know how to solve this?
    ps: due to my library constraints, i have to using 1.5.
    Thanks in advance

    The GeForce 8800 GS in an iMac is equivalent to a GeForce 8800M GTS in a PC.
    Forceware driver 178.15 offers support for GeForce 8800M GTS:
    http://laptopvideo2go.com/forum/index.php?showtopic=20927
    Run that exe in Vista 64x, and then select the INF file from the Device Manager manual driver update instructions instead of picking from the list (which doesn't contain GeForce 8800 GS).
    GF 8800 GS does NOT equal GF 8800 GT. Very different cards.
    http://en.wikipedia.org/wiki/GeForce8_series#8800GS
    See http://discussions.apple.com/thread.jspa?messageID=8281574#8281574 for more info.
    I didn't figure out how to get this to work on 32-bit Vista.

  • How to close sub-application without close main-application?

    My main application has a menu which is used to open sub-application window. When I want to close the sub-application, I do not want to use System.exit(0), because it will close the main-application too.
    And if I use setVisible(false), the sub-application remains in memory.
    How can I close a sub-application clearly and keep the main-application open?

    Stephen:
    Some other object may be holding reference to this object.
    Here is how you debug such as problem.
    1. Run your app in the IDE's debugger.
    2. After you think all refs to the object should have gone away, pause the debug session.
    3. Using the View/Debug Windows/Heap menu, bring up the heap window.
    4. Right mouse click on the heap window. Enter the class name (package qualified) of the object which isn't being collected.
    5. Then, find the object that instance. Select it.
    6. Do right mouse click on that and select 'Show Reference Paths.'
    It will show paths to this object. It will show you who's holding ref to this object, preventing it from being garbage collected.
    Thanks.
    Sung

  • Why does FF open two windows when I open it? Why can't I close the second window without closing FF altogether?

    After FF automatically updated it started opening two windows whenever I start FF. One window has the open tabs from my previous session and the other window has only the FF home page open in one tab, nothing else. I can't close either window without shutting FF down altogether. I have limited RAM (3GB), running Mac Lion, which eats up a lot of resources and now FF eats up the rest. It's a real pain in the ass.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • How to close a JFrame window without its obj ??

    Hi
    I have a pure standard alone java applocation. When app was run, a GUI window/class ( JFrame class ) was launched/new to show some message. After a while, I want to close this window. If I did not pass or save this window obj, can I close this window ?? If yse how to close? In other word, it is hard for me to save or pass this window obj. But I have to close this window later on. I plan to use some static variables or method so I can call any time and try to close this window later on, but I failed. Thanks for help
    gary

    Hi
    Thanks all response. I am sorry I forgot to mention I can't use System.exit(0) because the application has not finished. But window message has finished its function and it no long be used again. In other word, I want to close window only , not whole application. If you use System.exit(0), it will close whole application. Message window can be used only during a piece of time. Thanks
    gary

  • RF Device logging onto a second SAP server without logging off.

    Hi All,
    We currently use SAPConsole with Georgia Softworks telnet server with a script that displays two SAP servers.  One for ERP and the other for SAP WM server.  The user choose one or the other and logs in.  If they want to log on to the other server the most log off and it takes them back to the menu option where they would have to log on to the other SAP box again.  
    Question is: Can this be done without the user having to log off and then log on again to switch back and forth?
    Thanks,
    Milton

    Are you using OIM 10g or 11g?
    One thing I noticed incorrect in your log.properties. You are using backslash "\" as the directory separator. Use forward slash "/" instead.

  • Why won't Windows Embedded POSReady 2009 (Windows XP) log off, shut down or restart?

    Hello,
    I have recently installed Microsoft's Windows Embedded POSReady 2009 or Windows XP on my Dell latitude D510.  Anytime I try to log off, shut down, or restart it says logging off with the bar going across but even after 1/2 an hour the thing still says
    that.  I tried disabling my sound card, reinstalling the driver, and the Microsoft UPH thing but still nothing.  Anytime I want to turn off my laptop I have to hold down the power button which I know is bad for it but I have no choice!  Any
    help is appreciated, Thanks in advance.
    Laptop Specs:
    Intel Pentium M 740 @ 1.73GHz
    1GB DDr2 RAM
    Windows Embedded POSReady 2009 SP3
    Dell Latitude D510

    Download and install all the Windows XP hardware drivers available from
    Dell Support.
    Carey Frisch

  • Force end of session when user closes window without logging out

    I want to protect sensitive employee data. Does anyone know how to force a user's portal session to be terminated after a user closes a window with the "X" instead of logging out?

    Web application is connectionless. So there is no way to tell if a user has disconnected. If the user diligently logout, then invalidating a session is no problem. However, if you wish to invalidate the user upon closing of window, I suggest you drop that idea and change to different approach.
    1. If you are trying to impose single logon policy, you may consider invalidate an existing session if the same user login again.
    2. If you really need to invalidate a user session as soon as he is inactive (or closes window). I suggest you set a very small timeout interval (maybe 3 minutes). Then for all the pages, implement a simple invisible IFRAME that will keep refreshing itself (say every 2 minutes) on a dummy JSP/servlet URL. The fact that this IFRAME always hit the URL at 2 mins interval will keep the user session valid. Once the browser window is closed, the session will be invalidated in max 3 mins time.
    The final suggestion is to drop that idea altogether, the point is ... implement such feature is like twisting web application to do something that it is not design to do naturally.

  • I want to close the iMessage window without quitting the program

    Hi,
    I have run into this problem before and I figured it out before but now it is an issue again and I can't change it. When I let a friend borrow my computer, I logged out of iMessage and now after relogging in, I find that my iMessage program quits once I close the window. This makes it quite difficult if I am running a full screen app and it takes me out of it as soon as I get a message. I don't want to have iMessage on "offline" and this box is unchecked when I quit but it still puts me on "offline". How can I remedy the situation by being able to close the window but not quit the program itself? I just want the notifications on the top but not the whole window to open on me during work or class. Please help

    HI,
    It should, and I repeat should, close the Window Only if you use the red blob to close the window.
    The Messages Window (See Window Menu > Messages CMD + 0) should come back into view using the Window Menu or the keystrokes.
    I tend to run Messages with my Buddy list showing.
    I have used the red Button to "Hide" all of these.
    The red button on the Messages window did not close/Quit the app for me.
    Having said that you seem to be describing different behaviour.
    I rechecked by logging out all my Buddy lists so that the Messages window would be the only window on view.
    It still does not quit the app when I use the Red Button.
    The indicator under the icon in the Dock remains in place.
    I went one stage further and logged the iMessages Account Off Line as well and still the Red Button did not Quit the app.
    IN the Finder > Go Menu > Go to Folder type in ~/Library/Preferences in the Dialogue box that appears.
    Find com.apple.ichat.plist  (this holds the Window locations and actions).
    Drag it to the Trash
    Restart Messages.
    The will recreate the .plist
    You may need to change some settings in the Preferences if you are not using defaults (Font, Colour of Balloon etc)
    10:34 PM      Wednesday; January 16, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • What happend when i am minimizing a Jframe (main application window)

    i notice something weird in my Swing application
    i am tracking the "Windows task manager" and i see that
    when i minimize the main frame and
    the memory reduces
    maximizing the application back make the memory go back again
    bet using less memory this time
    how come ?
    thank you

    [Bug ID #4412569|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4412569]
    Closed as "Not a Defect." It was/is a Window's quirk. Native applications (ex: Notepad or MSPaint) should do the same thing on your computer.

Maybe you are looking for

  • How to change the size of playlist icons

    I find the bigger sized icons for playlists in iOS 7.0.3 to be way too big-this causes lots of wasted space and is impossible to see all your playlists at one time. Is there any way for me to resize them?

  • Trying to install iLife 06 on MacBook Pro. Apps to install are greyed out.

    I transferred all my files from a G4 PowerBook 17" to a MacBook Pro 17" just recently and accidentally overwrote the Universal Binary version of iLife that came installed on the MacBook Pro with the PowerPC version of iLife. I called Apple and they s

  • Hyperlinks greyed out

    Hi there, I am trying to create hyperlinks in an Indesign TOC. However the Hyperlink option is greyed out in the options menu. I looked at other discussions and the advice when this happened was always to trash or change the preferences. I looked at

  • Python-scipy vs. python-numpy [solved]

    Up till now I have been using a custom package for python-numpy (the successor of python-numeric) and the AUR package for python-scipy (which depends on a working numpy installation). However, now the scipy package seems to be adopted and when I try

  • Where can you get the power cord for a 2012 airport express?

    Where can you get a power cord for a 2012 airport express or the equivalent? I couldn't find one in the online store.