Different between LEAVE SCREEN & SET SCREEN 0

Hi there,
I have a program where I have the main screen and another one.
to call the secondary screen I used CALL SCREEN 0200. However I have doubt when I'm executing the BACK.
I don't know the different between SET SCREEN 0. and LEAVE SCREEN 0100.
when 'BACK'.
SET SCREEN 0.
OR
LEAVE SCREEN 0100.
Can anyone tell me what is the different?
Thanks in advance
Alexis

Hi,
Set Screen
Syntax
Set screen <number>.
In module pool program
Case okcode.
     When  u2018DISPu2019.
          Set screen 200.
     When u2018LISTu2019.
          Set screen 300.
Endcase.
In this case, the entire processing of current screen takes place and then the system branches out to next screen. If you want to branch out to the next screen without processing the current screen, LEAVE SCREEN should be used along with the SET SCREEN.
For Example:
Case okcode..
     When  u2018DISPu2019.
          Set screen 200.
          Leave Screen.
     When u2018LISTu2019.
          Set screen 300.
          Leave Screen.
Endcase.
When SET SCREEN is used, control cannot be transferred to the main screen or previous screen, unless you write code for the same.
Leave to screen
To SET a new screen without processing current screen, you need to use the following two statements together:
SET SCREEN 200.
LEAVE SCREEN.
Or a Single statement
LEAVE TO SCREEN 200.
Regards,
Bhaskar

Similar Messages

  • Its there a different between the black lcd screen and the new white one

    im trying to find out if its possible to swich from the black lcd screen to the new white lcd screen ???? can any one help me!!!!!!!!!

    i was checking the website that u gave me and the only choice i get its the black lcd . and i called the apple store around my area and they told me that they cant do it because mine is black ????
    and i was checking this other website call etechparts.com and they have it in white for the ipod touch 4g and they have it for only 51.99 and the website that u gave they have it for 119.95 ?????? 
    i really want the white one

  • Call screen and set screen

    hi experts ,
    whts the practical diff b/.w call screen and set screen in module pool?

    Call Screen: Calling a single screen can be used for embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely (say u want 2 display both screen) you can use the CALL SCREEN statement with the STARTING AT and ENDING AT
    CALL SCREEN 500
    If we write this statement in screen 100 ,it will goto screen 500 and it will retain screen 100(ie u can come back)
    and moreover u have options using this
    CALL SCREEN 200 STARTING AT x1 y1 ENDING AT x2 y2
    If we use set screen first the processing blocks in the present screen will be executed and control goes to the screen which is called.
    in this control remains in that calling screen only, it doesnt come back to our screen.
    In screen 100,we call screen 500.The PBO and PAI of screen 500 is processed.Now in screen 500,if we use leave to screen 100,the processing starts from screen 100 after the call screen 500 statement.The PBO and the PAI of screen 100 need not be processed again from the beginning in this case.
    That is if we use leave to screen,the control goes back to the screen from which the present screen was called and continues with the processing.
    SET SCREEN 500
    With the above statement , it will goto screen 500 and screen 100 no more remains
    Screen No 0 : This special screen number causes the screen to jump back to the calling screen.
    set screen 0 used to go back to the previous screen.
    Reward All Helpfull answers

  • FB60 screen change layout different between DEV and PRD

    Hi,
    I'm having problem with transaction FB60. When i try to change the layout in PRD, in screen Edit System Setting, some of the field showing 0 length. For example in WBS element field, in DEV show length 24 but PRD show length 0. I try to compare the version but it is same (program & table structure - ACGL_ITEM). When I debug the program, found out that it will get the structure from sap internal c program call 'AB_GET_CX_DATA'. So, maybe this program version are different between DEV and PRD.
    Anybody knows what is the cause of this problem? Or maybe somebody can tell me how to check sap internal c program.
    Thank you very much.

    Yes. FB60 is Enter Vendor Invoice. In this screen you can see a table with column such as GL Acct, Debit/Credit, Amount in DC, Cost Center and others. You can add or remove some of the field using Table Setting and create Screen Variant. My problem is, the length of WBS Element and Profit Center field is 0. How to change the length.
    I already searched in forum but I only found how to create screen variant.
    Thanks.

  • Diffrance b/w set screen scrno & leave to screen scrno

    Dear sir,
    what is the diffrance between set screen <scrno> & leave to screen <scrno>
    which is better.
    regards,
    Ravi M.
    Moderator message: both are pretty cool, please study ABAP documentation for more information.
    Edited by: Thomas Zloch on Jan 25, 2012

    HI Dinesh,
    Read the difference
    <b>What is the difference between SET SCREEN and CALL SCREEN ?</b>
    With SET SCREEN, the current screen simply specifies the next screen in the chain. control branches to this next screen as soon as the current screen has been processed. Return from next screen to current screen is not automatic. It does not                                                                                interrupt processing of the current screen.  If we want to branch to the next screen without finishing the current one, use LEAVE SCREEN.
    With CALL SCREEN, the current (calling) chain is suspended, and a next screen (or screen chain) is called in. The called screen can then return to the suspended chain with the statement LEAVE   SCREEN TO SCREEN 0. Sometimes we might want to let an user call a popup screen from the main application screen to let them enter secondary information. After they have completed their entries, the users should be able to close the popup and return directly to the place where they left off in the main screen. Here comes CALL SCREEN into picture. This statement lets us insert such a sequence into the current one.
    <b>What is a “call mode” ?</b>
    In the ABAP/4 world, each stackable sequence of screens is a "call mode". This is important because of the way you return from a given current sequence. To terminate a call mode and return to a suspended chain, set the "next screen" to 0 and leave to it:
    LEAVE TO SCREEN 0 or ( SET SCREEN 0 and LEAVE SCREEN ).  When you return to the suspended chain, execution resumes with the statement directly following the original CALL SCREEN statement.  The original sequence of screens in a transaction is itself is a
    calling mode.  If you LEAVE TO SCREEN 0 in this sequence ( that is, without having stacked any additional call modes ), you return from the transaction altogether.
    Reward points if this Helps.
    Manish

  • LOGIC PRO 8 crashing when switching between screen sets

    Hey eveyone -
    first post up on this forum - but have been a professional logic user for years!
    I like to think I am very well versed with the set up and running of mac systems and have come across a strange anomoly that i would appreciate if any one else out there has had happen - or would mind repeating - only takes 2 minute.
    i have just bought a new mac pro and have logic pro 8 instaled and a variey of plugins
    first
    create a screen set & save as 1
    create another with no movie as float and save it as 2
    toggle backwards and forwards between them and notice you machine does not crash...
    now ...
    create a screen set & THIS TME OPEN A MOVIE AS FLOAT and saveit as part of your screen set - say to number 1
    create another with no movie as float and save it as 2
    now do the same thing and tell me if Logic crashes.....
    mine does and it is bloody annoying as i compose to picture and need this to work smoothly.
    I have unloaded all the plugins in the AU manager, tried putting the movie file on different drives, tried diferent movie files.... all the same.... I've tried it with other float windows and all works perfectly fine - so have narrowed it down to the movie float does not like being part of a screen set when you moving around between screensets frequently....
    HELP!!!!!!! anyone out there have ideas??
    really much appreciated any help anyone can shed on this or at least repeat the problem so I know it is a limitation of architecture not just my system....
    many thanks
    Paul

    well guys - thanks for that - it would seem that after trashing my prefs file I reloaded the cue i was working on and did the swithing back and forth and that it still crashed the session.
    I then tried it with a new song and with the same movie - and DIDNT crash -
    so what I am think is this - i recently came from logic 7 to 8 and have transfereed my auto load from systen to the other.
    I think it might be something in that
    - i will check it
    I think the answer might be to rebuild a new autoload within 8 - it's the only way to be sure...
    ...what do you both think??
    and thanks again for your help - good to know there is someone out there when these strange things happen!!!
    P

  • TS3274 ipad wont leave setting screen. even if i push power button it wont leave setting screen

    omy ipad is stuck in the settings. i pushed the circle button at the bottom but nothing. i pushed the pwer button but still nothing. ipad will not leave settings screen. i can still scroll up and down and pick any of the option on the setting screen, just cant leave the settings.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Diff between call screen and set screen

    diff CALL SCREEN and SET SCREEN

    With SET SCREEN the current screen simply specifies the next screen in the chain , control branches to this next screen as sonn as th e current screen has been processed .Return from next screen to current screen is not automatic .It does not interrupt processing of the current screen.If we want to branch to the next screen without finishing the current one ,use LEAVE SCREEN.
    - With CALL SCREEN , the current (calling) chain is suspended , and a next screen (screen chain) is called .The called can then return to the suspended chain with the statement LEAVE SCREEN TO SCREEN 0 .Sometime we might want to let an user call a pop up screen from the main application screen to let him enter secondary information.After they have completed their enteries, the users should be able to close the popup and return directly to the place where they left off in the main screen.Here comes CALL SCREEN into picture .This statement lets us insert such a sequence intp the current one

  • Difference between 2 N9 display screens and camera...

    Hello
    I was trying to compare the colour on the display screens between 2 n9 devices and i noticed that 1 is more like green and the other is more like red for some reason... i tried to compare the camera picture qualities and found that the one having greenish display screen produces great pictures and the pictures captured with the other phone are over coloured and not that clear...
    Did anyone notice this issue??
    Thanks
    Regards;

    Naz83 wrote:
    Hello
    I was trying to compare the colour on the display screens between 2 n9 devices and i noticed that 1 is more like green and the other is more like red for some reason... i tried to compare the camera picture qualities and found that the one having greenish display screen produces great pictures and the pictures captured with the other phone are over coloured and not that clear...
    Did anyone notice this issue??
    Thanks
    Regards;
    I discover the same thing.  The camera on my N9 has a more accurate white balance while the camera on my friend's tend to capture greenish picture.  We compare the picture in the same computer to make sure it is not the difference in screens.  We use exactly the same setting when capture the photo.  If he uses the autofix function to edit his photo, his will looks similar to mine.  Also, in low light condition, his photo has much more noise while my seems to be better.  The difference between two units is pretty noticable.
    The screen is also different.  If we adjust the screen brightness to the same level and expose the phone in exact the same light condition, his screen is lighter than mine.  Also, the building quality is sort of different between these two units.  The volumn rocker and power button in my N9 is fairly firm while his is kind of loose.  His screen merges more tight into the body while mine has a larger gap.  It is pretty easy to see by naked eye.
    It seems there is some variation between units and some of the difference is definitely noticable.  I am not sure it is normal or not.  Anyway, just provide the information.

  • Mac Mini blank white screen. Did Cmd+R reprograms but doesn't leave the white screen!!

    Mac Mini blank white screen. Did Cmd+R  but doesn't leave the white screen! I tried Cmd+Option+R, this allows reprogramming but after 34 or so minutes it remains in the white screen! Any ideas?

    Unfortunately, the white screen will not go away! Therefore, I do not have the option to the Disk Utility!! I wish I could! I would have already erased the disk and reinstalled the OS. Side note here is that an Apple Fan told me that she and her husband had a similar scenario with a new iMac!! Turned out (after 3 attempts by Apple Techs to fix) to have to replace it! They related to me that there was an issue with the connections between the Logic Board and the Hard Drive! The hard drive got burnt out and so did the Logic board on different occasions. I have been a PC user for years until I got tired of all the maintenance and wanted to try Mac. So many thrilled fans claiming they never get issues as often as a PC. Well, here I am six weeks after buying the Mac Mini having issues...I guess a machine is a machine, is a machine! I was thrilled with the Lion OS and all the interaction I was having with it! I truly thought that this was a highly superior computer. I expected quality control to have equally a superiority that one would expect from an Apple product. It could be that this unit is a lemon! It happens! Because I also have iPad and iPhone that have given me the best performance ever!! So I hope that I will someday see the same from this Mac Mini that is just over 40 days old!
    If you know another way to get thru the white screen to get to the Disk Utility...I would love to try it. In any case, I am waiting for a call back to confirm an appointment date and time to visit a Mac store for repair.

  • Leaving to Selection Screen in a Module Pool

    hi,
       I have a module pool with a number of screen.Now ifi am on the 4 th screen after i process something i need to go back to the selection screen. Giving leeve to screen 1000 doesnt work.Could neone please tell what command must be written.

    Hello Pankaj,
    U can try like this.
    SET SCREEN 0.
    LEAVE SCREEN
    or
    LEAVE TO SCREEN 0.
    If useful reward.
    Vasanth

  • "Connection Failed" un-movable layer on System Setting screen

    Hi, I got a new BBQ5 yesterday and tried to explore the BB10 OS. I was initially able to set up my wifi connection successfully and was exploring the new OS. All of sudden due to power failure , the wifi device stopped working. Then i noticed while doing wifi setting - It tried connecting to wifi (attemp 1/3) and so on and it had then shown up a from "Connection Failed" with NO BUTTONS (or any information). Eversince then i tried to close the dialog box layer but was in vain.Every time i tried to open setting - it came with the dialog box with no further instuction. This scenario is quite reproducible. and finally i restarted the device and then the dialog box went away. So here is the problem statement - If with / without wifi signals user try to connect wifi (after few try) and un-movable "Connection Failed (with NO Buttons/Instructions) means a blank dialog box with header as Connection failed on setting screen. - Only restarting the device is the only solution to that. Thanks for your patience! regards, Paresh Padhi

    Hey pareshpadhi,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Can you provide the version of BlackBerry 10 software you're running?  Go to Settings>About to find this information.  I will investigate this further.
    Also when you restart the BlackBerry Q5 and leave a Wi-Fi network does the same issue happen?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Help w/ fixing my broken ipod touch. I have to double click on an app in order to open it, can't leave the home screen, apps don't work!

    I'm not sure what happened, but I can't leave my home screen unless I press n hold an app and move it to another page, then when i press the home button so the apps stop shaking I can stay on another page. Other than doing it that way I can't scroll from one page to another. When I click on an app a thin box appears around it, not only with apps but when I click on the time or battery or ANYTHING! In order for me to open any of the apps I have to double click on it and then when it opens I can't do anything in the app. Even when I went to settings to see if there was something in there to fix this problem I can't go anywhere or do anything. Someone please help!!!

    Im having this same problem an my phone is about 3 weeks old. I am not sure about the voice over part though...I have not yet figured out how to work the voice recognition part of the phone...I am such a newbie with this phone. I did the power off/on suggestion, several times. I tried leaving it off for 10 minutes. Tried to reset with the power on/off and home button pressed at the same time. Charged battery. Still makes no difference. You cannot scroll any direction. Have to double click to open apps. Have to double click letters when texting or emailing in order to get the letter in the text box. Can scroll through app choices, have to click on the line with the dots in it and move from page to page. Can't access the settings - > general - > accessibility - because it won't allow me to scroll down to "general".
    Anyone help you with your fix yet?

  • How can I have two different windows up on one screen at the same time?

    How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.

    If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
    If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313

  • I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to

    I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to screen?

    Those choices are controlled via System Preferences, Trackpad.

Maybe you are looking for