Small Query in Selection Screen and Screen.

Hello Guys...
I have Created a program using Selection-Screen 1000. and Screen 2000.
At Selection-Screen I have written code
Start-of-selection.
  ok_code = sy-ucomm.
  CASE ok_code.
    WHEN 'BACK'.
        LEAVE PROGRAM.
end case.
and At the user-command of Screen 2000.
I have written Follow code.
ok_code = sy-ucomm.
  CASE ok_code.
    WHEN 'BACK'.
        LEAVE PROGRAM.
    when 'CANCEL'.
       LEAVE PROGRAM.
    when 'ADD'.
       Perform Add_New_Row.
    when 'REMOVE'.
       Perform DELETE_Row.
    when 'SAVE'.
       Perform SAVE_DATA.
    when 'EXIT'.
       LEAVE PROGRAM.
    endcase.
My Problem is that I am not able to come out from program through back button..
Follow is like that..
at Selection Screen user provide some input on that basis screen 2000 Call.
but when i press back button on screen 2000 Selection screen 1000 appear.
and my Problem is that when i press back button on selection-screen on 1000.
it's goes to screen 2000.
I know, it's little thing I am missing, Let me know ..what was that..
Cheers......
Swati...

Hello Guys...
Previous code I have given is modify by this but same problem..
I have dubug the program and trace it. it's will not goes on Selection Screen
on Each back button the event occurs which is user-command 2000.
I have Created a program using Selection-Screen 1000. and Screen 2000.
At Selection-Screen I have written code
Start-of-selection.
ok_code = sy-ucomm.
CASE ok_code.
WHEN 'BACK'.
LEAVE PROGRAM.
end case.
and At the user-command of Screen 2000.
I have written Follow code.
ok_code = sy-ucomm.
CASE ok_code.
WHEN 'BACK'.
      CALL SELECTION-SCREEN '1000'.
        EXIT.
when 'CANCEL'.
LEAVE PROGRAM.
when 'ADD'.
Perform Add_New_Row.
when 'REMOVE'.
Perform DELETE_Row.
when 'SAVE'.
Perform SAVE_DATA.
when 'EXIT'.
LEAVE PROGRAM.
endcase.
My Problem is that I am not able to come out from program through back button..
Follow is like that..
at Selection Screen user provide some input on that basis screen 2000 Call.
but when i press back button on screen 2000 Selection screen 1000 appear.
and my Problem is that when i press back button on selection-screen on 1000.
it's goes to screen 2000.
I know, it's little thing I am missing, Let me know ..what was that..
Cheers......
Swati...

Similar Messages

  • HT203254 Without any indication of a problem my MBP-15" screen diplayed a message saying closing down and began flashing colored screens and screens with gray vertical bars.

    Without any indication of a problem my MBP-15" screen diplayed a message saying closing down and began flashing colored screens and screens with gray vertical bars.  I had to power foo to stop it.  It has happened twice

    Welcome to the Apple Support Communities
    The graphic card is damaged. Take your computer to an Apple Store

  • How to create a new Structure of Data screen and screen sequence

    Hi,
    Can you give any link or explain all the steps required to create a new structure of data screen and how to assign it to our comapnay code or plant etc.  also when i check the screen ref. which is assign to material type in OUR system i ROH but i have not found this ref. in OMT3B where i can see the screen ref. ROH as this the the standard.
    regards,
    zafar

    Hi
    Download the pdf's from the below link
    http://www.pdf-search-engine.com/sap-mm-configuration-pdf.html
    It will help
    Thanks,
    Raman

  • Satellite P500-1D6 - Small bug between cover plate and screen.

    Hi
    I have a small bug (in Dutch: "donderbeestje") between the protective glass and the actual screen.
    Where I bought the laptop they yell me that they can't do anything about it and this is not under warranty of Toshiba.
    For me however, this should be under warranty of Toshiba.
    The screen with it's upper layers should be firmly closed so that no foreign objects can come in between.
    So, my question is if this is under warranty or if not, what can I do to get this thing out of there?
    Kind regards,
    Pascal.

    Hey,
    Regarding such hardware related problems you should contact an official authorized service provider. The guys can repair notebooks under warrant for free if its a warranty case. Furthermore they can give you an exact if its normal or hardware problem.
    Here its only an user to user forum so nobody can give you an exact answer but a full list of all ASPs you can find here:
    http://eu.computers.toshiba-europe.com > Support & Downloads > Find an authorized service provider

  • SAP query field selection order and text

    Hello All,
       Is there any way I can change the position of fields on the selection screen of query. Also can I change the text of the selection fields. Thanks
    Atul

    In SQ01 enter your query name and go into change mode, on the menu click "Goto" , "Field Selection" then "Field Selection"
    in there change the text of selection field, to change to ordering just enter the number sequence in the "No" the order in which you want them to appear. Like
    Production Order 02
    Order Type       03
    Plant            01
    after you execute the query selection screen will appear like below
    Plant
    Production Order
    Order Type

  • I have this weird stain in my ipad screen and screen protector that has formed around a crack in the glass.

    Some time ago my ipad 4 screen slowly began forming a long hairline crack at one corner and near the home button for some reason, perhaps daily rough and tumble taking it to class and whatnot.  The crack is not very noticeable so I have delayed getting the screen repaired. 
    I used to have a Boxwave Cleartouch Ultra screen protector on, and as directed, would peel it off now and then to give it a good wash(it's one of those reusable ones with adhesive on the edges only and yes they are meant to be washed now and then).  One day after doing this, I noticed a strange puddle of tiny round stains clustering near the crack.  I didn't think much of it until I equipped my ipad with a stronger ipad case with it's own screen protector.  The stain seemed to cling onto the Boxwave screen protector even after cleaning.  Now with a new screen protector the stains around the crack were these tiny rainbowy areas around the crack that sat on top of the glass and were visible as just some kind of smudge when the screen was turned off.  I recently discovered the stain has transferred to my new screen protector when I remove it and is visible when you look at it at an angle when removed from the ipad. Not even dish soap seems to get rid of it. 
    I am wondering what this stain could be, I mean there is no liquid pooling out of the digitizer or anything.  One idea I have is that maybe some adhesive from the first screen protector got loose after washing and pooled into the crack and thats why they have a smudgy appearance that they got when wiping the screen dry.  There are no liquid stains under the crack however.  Another thing I thought of was maybe something to do with oleophobic coating and the crack itself.  I am also wondering how  to get rod of it safety. 

    You are welcome.
    Despite Apple's incredible wealth, they don't/can't control the Internet. Sadly, this is an ongoing and ever increasing problem. The best defence is knowledge on the part of the user. Any message that pops up while surfing the Internet should ALWAYS be treated with skepticism.

  • When watching news movies, I go to full screen, and screen goes blank.

    The small video image which shows the news has a button to make the image full screen. When I press that, the whole screen goes blank.
    When I use Internet Explorer, it works OK. I think It was also OK when I used the previous version of Firebird.

    Did you look at this https://discussions.apple.com/message/23589702#23589702
    Phil

  • Impact of selecting "Removing Query from Selection List" in 2 channels.

    HI All ,
    I have customized a query in one channel (My Agreements and Contract Documents query in Master Agreements List channel) and have removed the standard query from the channel by checking the  "Remove Query from Selection List" and introduced my custom query in that query group .
    But  it resulted in break in chain for  "Master Agreements" link in "Contracts To Do List" channel as the link was pointing to standard  "My Agreements and Contract Documents" query and is displaying "The query can not be executed. Contact your system administrator" when ever I click on that.
    Any pointers on how to overcome above scenario wud be gr8!
    Regards,
    Uday

    Hi Uday,
    In order for To Do List channel to work, the query definition should be in the Master Agreement List query group. Do you still want the standard query in the To Do List? If so, you would have to leave it on the Query Group as To Do list is pointing to it. May be change the display name of the query so you can differentiate between the 2 queries. The other option is change the To Do channel to point to the custom query.
    Regards,
    Vikram

  • 3.5 Web report. Save Selection screen and navigation state??

    Hi,
    When we use BEx Analyzer, using excel, we have these two features:
    1. If query have selection screen, we can save variants, as in SAP R/3.
    2. If in the query results we perform drilldown, filters, and so on, we can save this as a new workbook.
    Now, I am using Web access. I use 0ADHOC web template. I have modified to ask always for variables.
    For feature 1, is there any possibility of saving the selection screen? Any property of web template?
    For feature 2: I can save a view in the standard template, but there are no button to recover it. Modifying this template is too hard for me. I have seen an object to select query view, but I have to specify queries and views, and I need an open solution.
    Is there any template or easy way for offering the user the possibility of saving a navigational state for any query and after recovering any of this states (as a workbook in excel).
    I don't know if views are the only option.
    Thanks a lot.

    Santi,
    Did you look into Bookmarks?
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/53213c51febb2be10000000a11402f/content.htm
    This will solve your second issue at least.
    Regards,
    Gilad

  • What is a Selection Screen and how to make it ?

    What is a Selection Screen and how to make it ? Please explain the process.
    Best regards,
    Ryan

    Selection Screen are used for the program reports. These allows you to input some values that are required to show the desired output.
    for example : you want to show the list of sales orders between 1000 to 1999, you would write a select query as this (to make u understand better)
    select vbeln from vbak into it_vbeln
                 where vbeln GE 1000 " greater than or equal to
                   and vbeln LE 1999. " less than or equal to
    now if you wnat to do it dynamically, you need a selection screen
    tables : vbak. " declaration
    selection-screen : begin of block block1 with frame title text-003.
    select-options : so_vbeln for vbak-vbeln. " selection range from __ to __
    selection-screen : end of block block1.
    now you can write the same select query as
    select vbeln from vbak into it_vbeln
                 where vbeln in so_vbeln.
    Hope this is clear now
    Regards
    Gopi

  • My iPad is stuck with a small blue screen saying iCloud Backup, this iPad hasn't been backed up in 4 weeks.Backups blah blah- Click OK. I can't get it off the screen and I can't use the iPad because of it. Can anyone out there help?

    my iPad is stuck with a small blue screen saying iCloud Backup, this iPad hasn't been backed up in 4 weeks.Backups blah blah… Click OK. I can't get it off the screen and I can't use the iPad because of it. Can anyone out there help?

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • Selection Screen and Output

    Hi,
    I am developing one report. My customer is requested me he needs Selection-screen and Output of the report both need in the same screen i.e upper part is selection screen below is the Output..
    Is it possible?
    If  YES could you please help me..........?
    Thank you advance.......

    Hi Kishore,
                   It is possible create the upper block using selection-screen this will be screen 1.Then create the another block and use INCLUDE to include the upper block.Hope your query resolves.
    An example to create selection-screen.
    SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
      PARAMETERS: CITYFR LIKE SPFLI-CITYFROM,
    CITYTO LIKE SPFLI-CITYTO.
    SELECTION-SCREEN END OF BLOCK SEL1.
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
      SELECTION-SCREEN INCLUDE BLOCKS SEL1.
      SELECTION-SCREEN BEGIN OF BLOCK SEL2
    WITH FRAME TITLE TIT2.
        PARAMETERS: AIRPFR LIKE SPFLI-AIRPFROM,
    AIRPTO LIKE SPFLI-AIRPTO.
      SELECTION-SCREEN END OF BLOCK SEL2.
    SELECTION-SCREEN END OF SCREEN 500.
    We can use loop at screen to make it active or inactive at user command.That is enter or F8 whatever user chooses.
    Have a best day ahead.

  • Hi, I've got me a 4k pc screen and when I open up photoshop CC the tools and panels very small. Can I change the size of these?

    Hi, I've got me a 4k pc screen and when I open up photoshop CC the tools and panels very small. Can I change the size of these?

    If you have CC you can go to preferences>Experimental features and select scale UI 200%. Otherwise you're out of luck.

  • Help! When I select "Phone" it tries to open and gives me a white screen and closes. I cannot view my missed calls or voicemails.

    If anyone knows anything about this...
    When I select "Phone" on my home screen the iPhone attempts to open it, brings up a white screen and then will shut back down. I have 8 missed calls or voicemails yesterday and I couldn't check any of them. Does this happen to anyone else?
    Also, when I receive a call and I answer it does not give me the ability to end call or any of my options (sources, keypad,etc.) during the call.
    Basically, I can't do anything with my contacts, favorites, missed calls or voicemails.
    Can someone please help?

    I have tried that multiple times. I have also made sure that I have the latest updates. Would haveing 27,000+ contacts have anything to do with it?
    Sometimes it works and sometimes it doesn't

  • I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appr

    I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appreciated.

    OK, it now sort of works. A couple of problems here:
    After updating IOS, Safari iCloud was "automatically" switched off
    Switching it on had no effect
    resetting my iPad automatically switched off safari iCloud again
    after switching it back on, it said "turning off safari data"
    switched it off and on again, now it said : "turning on safari data" and the sync worked
    On IOS 7 no problems
    The bookmarks not being displayed was because after pressing the book icon, it defaulted to showing the history and I had to press "Back" to get to the other options

Maybe you are looking for