Regarding Closing the application

Hai Experts,
I have developed an application with table UI element and in that table if i select the record i.e lead selection it has to navigate to another new application.This operation is working fine but if the new application opens on that time i need to close the application with table UI element.
I dont know how to close the application .Can u tell me the solution? 
With Regards

Hi,
Here u can make use of Exit Plug.In the window create an outbound plug of Exit type with Interface Check box ticked along with an importing parameter CLOSE_WINDOW of type boolean.
Also create and inbound plug in the window and in the handler methos of this plug,fire the exit plug as,
wd_this->fire_<exitplugname>( close_window = 'X').
Now in ur view,while selecting via lead selection,on the action fire the outbound plug of the view that is linked with the exit plug of the window.
Now while ur record is selected,the outbound plug of the view calls the exit plug and in turn coding inside the hander is executed and the applicaton window is closed.
Hope it helps u!!!!!!!!
Thanks,
Divya.S

Similar Messages

  • 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

  • The PSE 10 process doesn't stop after closing the application. Why??

    On Windows 7, the PSE 10 process doesn't stop when closing the  application, therefore the PSE 10 app. will not restart once it is closed. The user must stop the process from task manager or reboot before PSE 10 can be restarted on a Windows 7 machine. The forum suggestion to double-click the exe (instead of the shortcut) as a solution, obviously isn't a solution and can't work. There are no updates to PSE 10 and the only access to any support is through this forum. There have been complaints about this on blogs all over the Internet. Why can't Adobe come up with a fix/update or if they have where is it posted?

    First of all, there is no difference between the files on the disk and those downloaded as the trial. The only difference is that one comes with a serial number and the other does not. You can put your serial number into the trial version and it will then be activated. The only way the disk would behave differently is if there is some physical flaw (scratches, warping, etc). Usually such damage will cause the installation to fail, it's pretty difficult for such damage to modify the files in such a way that they still install but behave differently.
    If you are dropping a file on the shortcut and the Photoshop Elements Editor is opening but the file is not, there could be a few different things going on there. Check your shortcut properties first: does it go to PhotoshopElementsEditor.exe or Photoshop Elements 10.0.exe? If the former, then there are probably some missing support files. If the latter, this is the Welcome Screen, which has likely been configured to launch the Editor automatically. However, you would be sending the file to the Welcome Screen, which doesn't do anything with the file. It is not capable of passing the file off to the Editor, only capable of launching it.
    Also, double-clicking a shortcut is generally the exact same thing as double-clicking the file the shortcut points to, but you can add modifiers to shortcuts to make them behave differently.

  • Why FF usaes 25% of CPU, even after closing the application..?

    After opening two or more browser, automatically FF stars using 24/25% of CPU.
    Even one tab having Youtube running.
    As well as using huge amount of memory, and this gradually increases.
    Closing the application doesn't solves the problem.
    After that the application doesn't opens. A window appears and shows.. Firefox already running and is not responding.
    Going to Task manager and kill the process solves the problem.
    And it's happening every time.
    In cyclic order need to follow the annoying process.
    .....Tried the processes but NO result found.....
    Re-installation of FF didn't worked.
    Re-installed Flash player.
    No malware found by Malwarebytes.
    Even tried running FF in safe mode. (disabling all plugin and extensions)
    And the result is.... NO progress. CPU 25% usage and had to kill the task.
    Please some one help.
    (OS: windows 7 professional)

    Your computer isn't getting slower, it's other things demanding faster.  If you are installing all the possible updates to software those will be designed for newer computers.  Once you start browsing you're browsing a web designed by people who because they spend all their time designing pages they themselves have powerful machines with fast connections because it is their job.  It's like if all city streets were designed by racecar drivers.  A 2008 computer is already considered vintage by Apple and close to no longer being supported in any manner.  Vintage and obsolete products - http://support.apple.com/kb/HT1752  I have an even older computer than you and it is annoying but that's the way things are.
    Frankly 4-6 icon bounces doesn't sound long to me.  Don't forget that for applications such as iTunes how long it takes to open will also depend upon the size of the library.
    I don't think CPUs wear down.  Conceivably some slow-down could be the result of excessive bad sectors on a hard drive but you say you replaced that (and I would expect it to have shown more serious symptoms were that happening).
    You can use Activity monitor to check your RAM usage.  Newer applications and newer OS versions will require much more RAM than posted "minimum"  If a computer doesn't have enough RAM it starts using the hard drive which is slower than chips.

  • Prompt user to save change before abnormally closing the application

    Hi,
    I've some trouble prompting user to save change before abnormally closing the application (logging off, shutdownding machine...). I tried to use Runtime.getRuntime().addShutdownHook() and it doesn't seem to work. Here's part of my code. Help please!!!
    program print out "1" and stays in a "dead-lock" mode...
    private void shutdown() {
    boolean saveConfig = true;
    if (saveConfig) {
    System.out.println("1 ");
    int answer = JOptionPane.showConfirmDialog(null,
    "Configuration has been changed. Do you want to save
    configuration before exit?",
    "Save Config"
    JOptionPane.
    YES_NO_CANCEL_OPTION);
    JOptionPane.showMessageDialog(this, "Can't connect to unit. Error in Heal unit!", "Error", JOptionPane.INFORMATION_MESSAGE);
    System.out.println("2 ");
    if (answer == 0) {
    savefileButton_actionPerformed();
    jMenuFileExit_actionPerformed();
    else if (answer == 1) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    else {
    int answer = JOptionPane.showConfirmDialog(itself,
    "Are you sure you want to exit? ",
    "Exit",
    JOptionPane.YES_NO_OPTION);
    if (answer == 0) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    private class MyShutdownHook extends Thread {
    public void run() {
    shutdown();
    // add shutdown hook
    MyShutdownHook shutdownHook = new MyShutdownHook();
    Runtime.getRuntime().addShutdownHook(shutdownHook);

    doesn't much matter. shutdown hooks are not guaranteed to run or be able to finish.

  • HT4414 I get a message "In order to continue installation, please close the following application.  I closed the application, but the message does not close and the installation is "frozen" ... how do I reset?

    I get a message "In order to continue installation, please close the following application.  I closed the application, but the message does not close and the installation is "frozen" ... how do I reset?

    Try posting in the Mountain Lion forum. Here is the link below. This forum is for old software circa 2003.
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion

  • Closing the Application Browser.

    Hi Experts,
    I had been Posting on the forum about closing of the Application Window.
    Thanks a lot for the ideas,the purpose is yet to be solved.
    Let me explain my requirement in detail.
    I have an application in which there are View Layouts.
    I am able to close the Application Window on Click of a Button(say CLOSE).
    But the requirement is such that,the Application Browser window needs to be closed.
    Is it Possible in Web-DynPro to Close the Browser window on Click of a Button.
    Please provide the necessary information in this regard.
    Thanks and regards,
    Chandrashekar.

    chk it
    closing browser window via button
    How to close parent window

  • Error when closing the application

    Greetings,
    I'm having a strange problem when I do close the application xcelsius.exe; the error info is this one:
    AppName: xcelsius.exe      AppVer: 1.1.0.3      ModName: msvcr80.dll
    ModVer: 8.0.50727.762      Offset: 0000eb36
    This problem only happens when I'm logged as a normal user under Windows XP.
    Under Windows Vista the error message doesn't appear and it quits just fine.
    I've installed the application as Administrator in both machines, but this problem only occurs when I'm using an user that belongs to the "Users" group. If I try to do the same using an user that belongs to the "Administrators" group then the application will close and no errors will appear.
    I've tried different versions of the Visual C++ Redistributable installations but with no success.
    I'd like to get more information about how to solute this bug. Can anyone support on it ?
    Best Regards,
    Diogo Reis

    Hello Diogo,
    This is a known issue.  It is required that the user be an Administrator, as detailed in the release notes of SP1/FP1.
    The same issue will occur in Vista if UAC is enabled.

  • Prevent user from closing the applications

    Hello,
    we would like to deploy to our users web application using Internet Explorer which is published over RemoteApps. Because this application takes long time to load we would like to prevent user from closing application. So we would like that session and application
    stays opened when the user clicks on close button on Internet Explorer that is published over RemoteApps.
    In other words, we would like to disconnect client from RemoteApp session, but stay logged in and keep the application running in the background.
    Is this possible to do?
    Thank you!
    Best wishes,
    Marko

    Hello,
    thank you all for your answer. I guess this is not a good news. Any other idea how to solve this problem - to start Internet Explorer web application as soon as possible.
    Last week I have found a VB script on one forum that would close the RemoteApp Windows without closing the appliaction on server but I can't find it today. Does anybody know something about this script?
    Thank you!
    Best wishes,
    Marko

  • Regarding changing the application settings for Financial management (BPM)

    Hi,
    I have built the sample Comma application in HFM 9.3.1 using the BPM functionality from workspace as outlined in the documentation. The consolidation rules are set to "N" for this application when I open the XML using the window client. Can anyone tell me how I can change this to "Y" through workspace and load the application again. Since its a BPM application it does not allow me to load from window client. How to modify the application properties of a Financial manegement application through workspace (BPM). Any help will be appreciated.
    Thanks in Advance......

    If you extract your application from the web using the extract tasks, check on the Financial Management Application format, this should provide you with a file with an app extension something like this:
    hfmmetada.app
    When you hit extract and then click on 1 Click here to download, then save, on the save as file type button, make sure is .app; then open your app file with a text editor, change the application settings for ConsolidationRules=N to Y.

  • Regarding closing the cursor

    Hi,
    I've one doubt. If we've opened any cursor in pl/sql session, & did not close it during code run, is there any chance that the cursor will remain open?
    My problem here is as below:
    We're calling a pl/sql package through a java based application, & the connection will automatically close oracle session after 1/2 hour inactivity. But the oracle session is not getting closed. Probability is that the oracle session is still active(which may be because of open cursor)
    Inside a package, a open cusror call was made, but there was no close cursor statement. Can this statement create any problem like above or is there any other possibility.
    Thanks
    Deepak

    The issue seems to be a concern that rows listed in V$OPEN_CURSOR are currently open. My experience is that that may not necessarily be the case.
    While rows in V$OPEN_CURSOR were probably open sometime in the recent past, there's no guarantee they are open RIGHT NOW. Sometimes entries get left in the V$ tables long after I think they should be aged out (this morning I found a last executed time in V$SYSSTAT from 2 days ago). Conversely, sometimes I cannot find things I am looking for that are running right now.
    I agree with Rob's assessment that if you're not using a cursor it needs to be closed to release system resources.

  • Regarding closing the thread

    experts,
    how to close the answered posted threads from the forum.
    thanks and regards

    hii
    Above your thread there will be a small message displayed like
    Your question is not answered.
    Mark as answered.
    from there you can click on mark as answered..and your thread will be closed ..another option is if you give 10 points to somebody's answer then also that thread will be closed automatically.
    regards
    twinkal
    Edited by: twinkal patel on Jul 24, 2008 8:54 AM

  • ITunes stopped working on windows 8 while closing the application

    while closing itunes it stopped working unexpectedly, i faced this problem for more than couple of times. last time when i tried to debug it using microsoft visual studio I got a result like " Unhandled exception at 0x77D2A94F (ntdll.dll) in iTunes.exe: 0xC0000374: A heap has been corrupted (parameters: 0x77D3E1E8). " what may be the problem? and how can I fix it?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    It shouldn't really take that long to do, assuming it goes smoothly.
    tt2

  • Closing the Application

    Hi Everyone,
    My requirement is that when i click on a button in a page,it will close the system.
    Thanks in advance.....

    Take a look at this :
    Close window for firefox in ADF application in jDev11g
    If this isn't enough, please let us now a bit more about your web app.

  • ITunes re-opens after closing the application down.

    Lately, after I click the 'x' to close down iTunes, my computer slows down a bit, and iTunes opens itself back up and is mostly black instead of the normal color and look. Any ideas as to why this is happening?

    Alright heres the thing: Gimme Some Tune has to be deactivated just before iTunes. Therefor I wrote a very short script but now I have to quit iTunes by activating this.
    Here comes the source .... wait for it .......... code:
    tell application "GimmeSomeTune" to quit
    tell application "iTunes" to quit
    Anything beyond that exceeds my AppleScript "knowledge". So maybe someone with a little bit more skill can pick up the idea and write a script that opens iTunes, waits for the "cmd+q" and then shuts GST right before iTunes? Would really appreciate it!

Maybe you are looking for

  • Call R/3 program from PI

    I have a scenario where a file will be placed by 3rd party into a FTP directory accessible by PI. PI's file receiver channel keeps polling the directory, and as soon as the file has come, it should trigger a program in SAP which was waiting for that

  • Sending SAP Script output as a PDF attachment through mail

    Dear Guru, I am using SAP 4.0B version, DATABASE Oracle 8i, OS is sun solaris 7.5. I want to send SAP script output as a PDF attachement through mail.Please suggest a solution. Regards, Rajesh

  • Problem with ResultSet

    Hi all, i m giving select query n after that rs = prepareStmt.executeQuery(); after that i gave one sout to chk the flow it is coming after that statement properly.and after that i gave :--- while (rs.next()) sout("test"); but it didn't print. if i r

  • Mailer Program Not Triggering Mail in ECC 6.0

    Hi Experts, We have upgarded  from 4.6b to ECC 6.0, In an program we are using function module SO_NEW_DOCUMENT_ATT_SEND_API1 It was working fine 4.6b but In ECC it is not triggering mail to an internet address mentioned. In SBWP I can see the mail in

  • Datasource as a function module

    hi,   I am looking for a sample code to use function module as a datasource.   Is there any document which i can use for this ? Thanks in advance.