How to go back to the previous selection screen window?

I have a selection screen and I have a button that calls a basic report and displays it on screen 0. The basic report is displaying however when I push the back button the program exits.
If I use "set screen 0" and if I press back button, the program goes to the code. It does exit.
If I use "leave to list processing" and if I press back button, the screen is just stuck on that screen 0 forever.
What I want is to go back to the selection screen window when I press the back button at the top.
<b>Pls help. Im a newbie. Thanks people. </b>
at selection-screen.
case SY-UCOMM.
  when 'BTN1_PUSH'.            " Calls Plain Report
      set screen 0.
      perform plainreport.
  when 'BTNEXIT_PUSH'.
    leave program.
endcase."

Hi Jabbar,
The reason it is exiting the program is because you are using set screen.
Try the following instead:
at selection-screen.
case SY-UCOMM.
  when 'BTN1_PUSH'.            " Calls Plain Report
       call screen 0.
      perform plainreport.
  when 'BTNEXIT_PUSH'.
    leave program.
endcase."
Think of the call screen command as a chain that the program follows and exits the previous. When you say set screen you are leaving the history in the program and it will always go back to the last screen it remembers which is why you were stuck in screen 0.

Similar Messages

  • Anyone know how to revert back to the previous iTune?

    anyone knows how to go back to the previous iTunes?

    =Downgrading from iTunes 11 to iTunes 10.7=
    You may be able to go back with Time Machine but this may involve restoring other items too (https://discussions.apple.com/message/20441404).  Alternatively:
    Back up your computer first, in case the unexpected happens.
    Quit iTunes.
    Get iTunes 10.7 from http://support.apple.com/kb/DL1576 or the direct download link at:  http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
    Do a few preparatory steps by making sure all iTunes components are not running and cleaning old files.   See https://discussions.apple.com/message/20475394.  Do steps 3 and 4.  Steps 6-8 may be also useful but I don't know if they are essential.  Some of the other steps are not necessary, duplicate steps listed later in my post or are perhaps even unhelpful in the process.
    Replace the iTunes 11 application with iTunes 10.7.  Simply dragging the application to the trash may not work. Lion (OSX 10.7) and newer systems have iTunes integrated into the operating system and deleting is a bit more involved.  Two ways to do this are:
    1.  Use the shareware Pacifist utility (http://www.charlessoft.com/) to install iTunes 10.7 including all associated system files. Details at http://forums.macrumors.com/showpost.php?p=16400819&postcount=6
    2. Check this reference on how to delete the iTunes application itself:
        Delete iTunes in Mac OS X 10.7 Lion - http://osxdaily.com/2011/09/13/delete-itunes-in-mac-os-x-10-7-lion/
        After deleting the application there may be other files that need downgrading too. See the note about error -42408 at the end of this post. You may want to tuck these away somewhere safe until you have completed the installation of iTunes 10.7.  I have not tested this but ideally if newer versions are not found then the installer will put in the old versions. This may include these files in /System/Library/PrivateFrameworks/ which apparently get updated by iTunes 11:
    AirTrafficHost.framework
    CoreFP.framework
    DeviceLink.framework
    iTunesAccess.framework
    MobileDevice.framework
    After doing one of the two procedures above you will have to rescue the most recent old iTunes library from your iTunes > Previous Libraries folder. Rename it "iTunes Library.itl"  and replace the existing one in the iTunes folder. A newer version of iTunes irreversibly updates your library file so you have to replace it with the old one or you will get an error message. Note, this will revert your library to the version at the time of the upgrade and you will have to update any changes made since.  See:
    https://discussions.apple.com/message/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library from previous iTunes library file after upgrade/crash.
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
    Other issues:
    - https://discussions.apple.com/message/20432309 - solution to mobile devices saying they need to be restored after downgrading
    - If you encounter error -42408:
    iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - including specific error codes.
    Alternatively, check https://discussions.apple.com/message/20441424 which requires you have a Time Machine backup (though possibly if you remove the newer version of these files old ones may be installed with the iTunes 10.7 installer - untested).  A  variant of this is at: https://discussions.apple.com/message/20448184
    - Persistent "Show in iTunes Store" arrows after downgrade - https://discussions.apple.com/thread/4567064

  • How to go back to the previous window?

    Pls help me. I have this selection-screen window (my main window) and it has few buttons. One of the buttons of that main window is going to take you to another window which displays an ALV report. on that ALV report window when I press the back button (located at the top of the screen), it ends the entire program and goes back to my program editor.
    How can I go back to the main window? <b>PLS help.</b> im a newbie. <b>THANKS.</b>

    Hi Jabbar,
    I've got similar issue ..may not be same as your problem..
    I've solved as below..may be useful for you....
    AT USER-COMMAND.
      DATA : varb(10) TYPE c.
      CASE sy-ucomm.
        WHEN 'F3'.
          CALL FUNCTION 'POPUP_TO_DECIDE_INFO'
            EXPORTING
              defaultoption = 'Y'
              textline1     = 'Do you want to exit report ?'
              titel         = 'Exit report confirmation'
            IMPORTING
              answer        = varb.
          IF varb EQ 'J'.
            SUBMIT zreport.  "report name
          ENDIF.
      ENDCASE.

  • I downloaded current version of itunes today not knowing I would lose the ability to burn the music I purchased to a cd as well as nano. can anyone tell me how to get back to the previous version or help me to be able to burn my music to a cd as well?

    today i made the mistake of downloading the update for itunes, 12 26 12, not realizing i would lose the choice to also burn my purchased music to a cd as well as the nano. can anyone tell me how to get back my previous version so I may continue to make my cds that I play in my vehicle. are there steps I can take to be able to transfer the purchased music to another exterior drive where I can then burn it to a cd, besides the nano? as my name indicates I am just getting too old to keep up with all these changes..

    https://discussions.apple.com/thread/4572096?start=0&tstart=0
    As for moving you itunes library, just copy the entier iTunes storage folder to the exterior drive.  user/MyDocuments/Music/iTunes

  • How can I back up the contacts on this windows phone

    I just purchased the iPhone and need to back up the contacts fro the windows phone.  How can I do this?

    They automatically sync to your Hotmail when you add them, if you use your Hotmail address.  As for your contacts from Facebook and other social media that show up, those of course are part of that social media account. One other thing.  If you have Windows 8.1, your contacts are backed up automatically (as are your texts, your list of apps, etc.) so that if you need to restore, update, or get another Windows Phone, you'll have them made available to you again.

  • How to tab back to the previous item in sql form 3.0?

    Dear all,
    Which key combination is for doing this?
    Rgds,
    Edward

    Oraterm defines the keys for specific functions, e.g. F7 = Enter Query, F8 = Execute Query. Oracle has a standard list, but most applications redefine the keys.
    In Help -> Show Keys look for Previous Item to see which key to use (maybe Ctl-Tab or Shift-Tab).
    In Forms 3, if I remember correctly, Show Keys is Ctrl-K by default.

  • I downloaded Firefox 4, but don't like it. I want to go back to the previous edition

    I downloaded Firefox 4, but don't like it. I want to go back to the previous version. I don't like having the bookmarks over on the right after all this time of having them on the left and I don't like the way the cursor won't autosnap to buttons the way they used to. I don't have a question other than how to go back to the previous version.

        No worries, agoetz. You can change your voicemail feature any time you'd like. Just log into My Verizon http://bit.ly/xB4iTc and select Change Features. There's a voicemail section to pick from all the different voicemail options available for your phone.
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Why will Macfee Virus not work with the new version? How do I swich back to the previous version that did not have this issue?

    I selected to let Firefox install the update. After the update was done. A message came up and stated the new version of Firefox does not support the add-ons for Macfee virus software. How do I switch back to the previous version, that does support Macfee virus software add-ons? In the mean time I will have to switch back to IE until this is resolved.

    Your Anti-virus application is not disabled, just one silly little McAfee extension for Firefox.
    See McAfee for an updated version of their Firefox extension.

  • I downloaded the new version of Firefox and it will not open certain of the addresses that I use to run my business. How can I delete this version and go back to the previous version? thank you

    I would like to revert back to the previous version of Firefox. Please tell me how to do this

    hello and thank you for your suggestion. I have tried it and, when trying to open a program which I previously was able to, still get the following message:
    Remote XUL
    This page uses an unsupported technology that is no longer available by default in Firefox.
    Please contact the website owners to inform them of this problem.
    Seems unbelievable that I previously had no problem and now I do. Have you any suggestions to overcome this? Do you think I can go back further in Firefox history to get a version that will make it possible to access this. Many thanks! Lynn

  • Recently, I updated to Firefox 4.0.1, and the new version disabled several of my programs, including my anti-virus. How can I go back to the previous version of Firefox?

    I want to go back to the previous version of Firefox, because the new version (4.0.1 I think) that I downloaded disabled several of my programs, including my anti-virus program, because they were incompatible with the new version of Firefox. How do I get back to the previous version of Firefox and re-enable the disabled programs?

    * [/questions/777886]
    Some gestures have been removed in Firefox 4.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • I updated to new ios and now it is not syncing properly.  How can i revert back to the previous installed version?

    I updated to new ios and now it is not syncing properly.  New songs are not showing up on the ipod display but when I view the device on my computer, they are in the playlist but there is a dashed circle beside the missing songs.  It previously synced perfectly before the IOS update.  How can i revert back to the previous installed version?

    Downgrading the iOS is not supported by Apple.
    Try:
    Re: What does the gray dotted circle in iTunes mean?
    https://discussions.apple.com/thread/4676111?tstart=0\\
    Dotted circles next to songs, won't sync, red circle with square?

  • I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    Is your Yahoo account set up as POP3 or IMAP?

  • Firefox 4 is not compatible with the skin i had been using for my browser, old factory black... i would prefer to keep this skin rather than use firefox 4... how can i revert back to the previous version of firefox?...

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/816154]''
    firefox 4 is not compatible with the skin i had been using for my browser, old factory black... i would prefer to keep this skin rather than use firefox 4... how can i revert back to the previous version of firefox?...

    Older versions of Firefox are available here:
    http://www.mozilla.com/en-US/firefox/all-older.html

  • HT4623 How can I get rid of this new update and go back to the previous one and how can I register a complaint with Apple?

    How can I get rid of this new 7.0.2 update and go back to the previous one and how can I register a complaint with Apple?

    You can't go back.
    You can leave feedback: http://www.apple.com/feedback

  • Firefox 6 forces you to log into e-mail again & again, since you can't view an e-mail & simply close that tab.. I want to close the tab, not exit the function I am in. How do I uninstall Firefox 6 & go back to the previous version?

    With Firefox 6, you can't close the tab you are in and remain in the program; opting to close one e-mail means you are forced to exit the (e-mail) program completely and then go back into it...this is ridiculous if you are trying to read all your e-mails...not have this issue. How do I uninstall Firefox 6 & go back to the previous version?

    I am unwilling to attempt navigation away from these sites. The pop-ups that occur on the attempt to leave a site or to close the browser are exit traps offering incentive to stay.
    Once upon a time, when the internet was less dangerous, I would be willing to close the exit pop-ups. Now, after twice being infected with malware trying to close the pop-ups, I now force close whichever browser I am using.
    Recently, I clicked on the red X to close one pop-up, and it installed a trojan that I had to pay to be removed. When I clicked on 'Leave' in another exit pop, it didn't exit and it turned out I was giving permission to run a script file. Now that criminals have learned these exit pop-ups can be used to force a click action, the sites using them have become dangerous.
    If I force the browser to close using Task manager, Please tell me how to stop FireFox from sending me directly back to the same site because it mistakenly believes it crashed when it did not. I forced it to close because I was on a site that had taken control of my browser and was not allowing me to leave the site.
    No other browser sends me back to the potentially dangerous sites. I prefer Firefox, but the new version must have a setting that allows me to get safely away from a problem site?

Maybe you are looking for

  • Error while selecting date from external table

    Hello all, I am getting the follwing error while selecting data from external table. Any idea why? SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),   2        SE_CUST_ID NUMBER(38),   3        SE_TRAN_AMT_LCY FLOAT(126),   4        SE_REVERSAL_MAR

  • Watching video on screenand thru the output

    Is there any way to watch the video on both the screen and thru the video out? I have a monitor set up in my car and i would also like to be able to watch video on both. I know it's not possible as is but are there any hacks?

  • Problem in sending mail thru SAP.

    Hi All I have typical problem in sending Purchase order thru mail to vendor. We are sending Purchase Order to our vendor thru mail and copy of purchase order as attachment in pdf file. I am sending Purchase Order number 45XXXX01, vendor is getting so

  • Adobe Reader Asks for "Save as" Rather than saving changes in the file

    Hi everybidy, I have a fillable PDF form designed in Livecycle designer and it is reader extended. When I fill that form on MAC it let me fill and save the form as amny times as I like. Everytime I make any change I just click the save button it save

  • Possible in a decode

    So I am trying to use a decode statement with my query to do the following: If col_A is eqaul to the values 12, 13, and 117 output then output 'TEST' for column_B, else output 'Prod' when col_A is equal to 5 and 'Reg' when col_A is equal to 6 as data