Leave screen?

How can I return back? If I press the button the program says nothing. And I cann't go back.
Thanks!
TABLES sscrfields.
SELECTION-SCREEN PUSHBUTTON /10(20) btn1 USER-COMMAND bnt1.
INITIALIZATION.
  MOVE 'Here!!! TO btn1.
AT SELECTION-SCREEN.
  IF sscrfields-ucomm = 'BNT1'.
    WRITE 10 'test'.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
  ENDIF.
START-OF-SELECTION.

Hi,
do like this
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'BNT1'.
WRITE 10 'test'.
LEAVE  LIST-PROCESSING .
ENDIF.
OR try like this
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'BNT1'.
WRITE 10 'test'.
LEAVE TO SCREEN 0.
ENDIF.
Regards,
Nagaraj

Similar Messages

  • Custom leave screen creation with feature of uploading doctor's certificate

    Hi Experts,
    In our ESS / MSS implementation project we have to create custom leave screen. In the leave screen, we have to provide following feature:
    The employee has to provide the scanned copy of doctor's certificate while applying for sick leave. For this, the leave entry screen should have a browse button. When the employee will click on browse screen one window should pop-up. Here the employee has to browse and attach the scanned doctor's certificate. The certificate will be attached to the leave application.
    Later on when the Manager will login he should see the leave request along with doctor's certificate attached by employee.
    How we can achieve this?
    Regards,
    Gary

    Hi Gary,
    Did u have a discussion with ur work flow and Netweaver Consultant? We had developed the same by writing some BSP's . Pl check with work flow and EP consultants.
    Laxmi.

  • Problem with Call Screen and Leave Screen !

    Hi,
    I am calling Modal screen (Dialog Pop up screen) from my first screen by 'Leave to Screen 'nbr' ' then once user enter the value in the pop up screen then I haveto display value with TABLE in Final screen as 'Normal screen'  here I am  using LEAVE to SCREEN, but after this call - my new final screen is not displaying as noraml screen it also displaying like 'Modal Screen' Like big pop scrren.!!
    When I tried final CALL by using CALL SCREEN instead of LEAVE screen the final screen with  table is dispalying fine as Normal screen but its returning control to pop-up screen which I dont want.
    I like Screen flow as 1>2>3--->1
    Help me to solve this Problem.
    Regards
    James

    Hi,
    Check the below thread,
    Unable to close Modal dialog box
    1) 1st screen--> 2nd screen --> Use CALL SCREEN.(This is Modal Screen)
    2) 2nd Screen-->(ModalScreen so you need come back) use the above thread
    3) Still on 1st screen--> Use CALL SCREEN --> To 3rd Screen
    4) 3rd Screen back to First Screen -> use LEAVE TO SCREEN First_Screen_NO.
    Cheerz
    Ram

  • 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

  • How to leave screen pocessing in below code

    Hi all,
    I have alv tree, while adding node i get some input from user. so i have created a screen with two fields on continue i want to create a node based on the user entered values.
      METHOD handle_node_ctxt_menu_sel.
        CASE fcode.
          WHEN 'ADD_NODE'.
            CLEAR gs_node_lay.
    *        CALL SCREEN 102 STARTING AT 10 5 ENDING AT 40 5.
            CALL SCREEN 102 STARTING AT 50 5 ENDING AT 100 8. " After the user enter value i want to return cursor to this add   " node method but at present the screen remains same. Cursor not leave to add node.
            CALL METHOD gcl_tree->add_node
              EXPORTING
                i_relat_node_key     = node_key
                i_relationship       = cl_gui_column_tree=>relat_last_child
    *        IS_OUTTAB_LINE       =
                is_node_layout       = gs_node_lay
    *        IT_ITEM_LAYOUT       =
                i_node_text          = gv_node_text
              IMPORTING
                e_new_node_key       = gv_new_key
              EXCEPTIONS
                relat_node_not_found = 1
                node_not_found       = 2
                OTHERS               = 3
            BREAK-POINT.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CALL METHOD gcl_tree->frontend_update.
          WHEN 'ADD_CHILD'.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_NODE_CONTEXT_MENU_SELECTED
    Edited by: Lisa Roy on Jun 15, 2011 5:59 AM

    Hi Lisa,
    After user enters value in Screen 102, lets say CONTINUE is pressed. In PAI for 102 for OK_CODE 'CONTINUE' use
    SET SCREEN 0.
          LEAVE SCREEN.
    Your processing will then start from CALL METHOD gcl_tree->add_node
    Regards
    Rajvansh

  • Leaving Screen

    Given this question, which answer would you pick?
    Which statement interrupts processing of the currenet screen?
    A.  Leave screen
    B.  Call screen 100
    I'd be curious to know what others would choose for the answer.

    I would say both interrupts the processing of the current. 
    LEAVE SCREEN, will stop the processing of the current screen and leave to a next screen in the flow.
    example...
    SET SCREEN 0.
    LEAVE SCREEN.
    CALL SCREEN, will stop the processing of the current screen and go to that screen,  when the use leaves the screen 100, control is then returned to the caller.
    Regards,
    Rich Heilman

  • Why are the web pages of SharePoint 2013 so devoid of colour and distinct boundaries and leave screen space unutilized

    Hi All,
    This was a comment from my business users who have worked with various versions of SharePoint. I understand SP 2013 has put in logic to make the web pages to be compatible with a wider set of browsers and screen form factors. Nevertheless, the issues raised
    by my business users are valid.
    Comparing a basic web part page of SP 2013 with SP 2007 and 2010, their feedback was:
    SP 2013 pages do not have clear boundaries
    SP 2013 pages are generally devoid of colour. This is makes it harder to visually distinguish links from ordinary text.
    SP 2013 pages appear to leave large swathes of screen space underutilized.
    Thanks,
    Saurabh
    Web part page on SP 2007
    Web part page on SP 2013
    sdg

    Hi,             
    1. When insert a web part in SharePoint 2013, you can edit the web part and change the appearance and layout of the web part.                                                                           
    You can add the boundaries for the web part. (Edit page->select a web part ->edit the web part->in the appearance section->in Chrome Type, select title and border->after that you can see the boundaries).
    2. The color of the links depends on the theme you have selected in SharePoint 2013. Different themes set the different colors of the links. You also can customize the theme or composed look in SharePoint 2013.
    The article below is about how to create a SharePoint composed look.
    https://bniaulin.wordpress.com/2012/12/16/step-by-step-create-a-sharepoint-2013-composed-look/
    3. In SharePoint 2013, the space between different zones is set by default.
     The picture below is my page in SharePoint 2013.
    If there is much space between zones, to check:
    1. If input much space in web part in the SharePoint 2013.
    2. If input space in the web pert zone in SharePoint 2013.
    3. If the width has been changed in the below code in the page which you change the text layout.
    <table id="layoutsTable" style="width: 100%">
        <tbody>
            <tr style="vertical-align: top">
    <td style="width: 100%">
    <div style="width: 100%">
    <div>
    </div>
    </div>
    </td>
            </tr>
        </tbody>
    </table>                                                                                     
    The article below is about when you edit the page and choose one style of the text layout, some code will be added in page automatically.
    https://social.technet.microsoft.com/Forums/office/en-US/0422f5e0-4374-4bf5-b4d8-c4f8f970c865/sharepoint-wiki-page-text-layout-column-width?forum=sharepointcustomizationprevious
    If you want to Remove/Hide empty space between web parts, you can add css code in the content edit web part.
    The article below is about this issue.
    http://havivi.blogspot.in/2009/08/removehide-empty-space-between-web.html
    Best regards
    Sara Fan
    TechNet Community Support

  • ESS Leave screen personalization - Request Leave

    HI,
    The duration field has been Hide from the Leave Request application by using - iView Preview -> CTRL + Right Click -> choose duration container
    and then make the field & Lable invisible.
    Now we have to show the field again on the screen, but when we are following  iView Preview -> CTRL + Right Click -> choose duration container then in the children we are not getting any element.
    Any suggestion how to get back those elements?
    _vishal

    Hi Visal,
    Even RESET ALL is not working !! thats strange !
    I think if u have not done too much customisation, go for re installing the ess patch...or at least the part of it that contains the leave application
    ps- thanks for giving me my first SDN points )
    Regards,
    Sattam

  • How to leave screen on while on the dock.

    Hi,
    I would like to leave the screen on while charging on the dock.
    Is there anyway ?
    Thanks

    Page 108 iphone manual:
    "Auto-Lock
    Locking iPhone turns off the display to save your battery and to prevent unintended
    operation of iPhone. You can still receive calls and text messages, and you can adjust
    the volume and use the mic button on the iPhone stereo headset when listening to
    music or on a call.
    Set the amount of time before iPhone locks: Choose General > Auto-Lock and
    choose a time. "
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Issue with custom toolbar button in alv and leave screen

    Hi,
    in one subscreen (say screen 100)i have an alv with custom ADD  toolbar button..so in the user_command event handler ,i call a antoher screen(dialogue)..like if i click on ADD button ,it should display dialogue screen(say 200) and after entering input in dialogue screen i click on CONINUE to retrun to screen 100..problem is for the first time i click on ADD button its working fine ,succesffyuly returned to screen 100...but for the second time i click on add button , i have to click on twice the CONTINUE button to retrun to screen 100..when debuggin i found the user_command event routin is executin twice ..any solution..
    Thanks,
    srini

    Apparently handler is set for every new ALV instance. This you get by executing CREATE OBJECT alv... every time PBO is raised. Ensure you are executing this statement only once duirng program lifetime. Then the system will match event handler only with one ALV instance (executing it once).
    if r_alv is not bound.
       CREATE OBJECT r_alv ...
       SET HANDLER ...
    endif.
    Regards
    Marcin

  • Project on save should not leave screen

    Hello PS experts,
    I need to change the following. When the project is saved I want the project to save and to remain on the current screen....in other words after saving the project screen should not return to the tree where all the projects are displayed. Does anybody know if this is a user setting or do I need to go to the abapper?
    Thanks

    Yes it is enhancement package 3 & there is no additional fees to be paid for this. You need to activate OPS_PS_CI_1 & then in project builder you will have an additional save button, which would meet your need.
    If you're not sure or aware of how to activate the above business function, take help of your technical person or your system admin.

  • OK to leave screen on for hours?

    Thinking of using my iPhone 4 as an alarm clock, with a nifty little stand and all.  Is there any harm in turning the auto-lock off and having the screen be "on" for 8 or more hours at a time?  The display probably wouldn't change much if I just had it showing a clock face.  I'd have it plugged in, so battery wouldn't be an issue (right?).  But would I harm the screen, damage its lights, cause burn-in, or otherwise hurt the phone?
    Thanks!
    - BH

    By default the printer is set to go into idle mode after 5 minutes.  After the printer is in idle for an additional few minutes, then the unit goes into Auto-Off.
    It is not a problem to allow the printer to stay in idle for extended periods of time.  The unit will only maintain enough power in the circuit to power the little LEDs and maintain a packet communication with the router if wireless.
    If you desire to change the time frame or turn this feature off, then check the document located here.  Hope this helps.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • IMovie hangs & leaves screen debris

    Hi,
    I have an issue with iMove sometimes hanging when it is saving, specifically during the SAVING THUMBNAILS part. Have to use Force Quit. Also, following that when it is re-opened, it puts the first thumbnail up in the upper left hand corner of the screen - outside of the app, and then it stays there when the program is closed.
    [It also won't send to iDVD, and I posted a query in that forum.]
    TIA,
    Michael

    Hi Michael
    This can be about just anything.
    a. I don't use the Share/Export to iDVD from within iMovie AT ALL. It rather
    destroys than make me happy especially if there is photos in my movie.
    I do:
    - Close iMovie
    - Open iDVD
    - Drop the movie project icon (with a Star on it) into the open theme window
    in iDVD.
    Vo-i-la !
    b. Strange behaviour of a Mac can be just about anything.
    Most common is when the free space on the internal hard disk is running low.
    This is very important regarding iDVD cause You can't set another scartch disk.
    - less 5Gb - You should not be able to get anything serious done - and what's
    eventually comes out will most cetainly not work properly
    - 5 - 10Gb can work sometimes but with extream times
    - 25Gb is the way I have mine.
    I would also:
    Delet iMovie pref file - could help
    iMovie
    -->/Users/YourName**/Library/Preferences/com.apple.iMovie.plist
    and
    -->/Users/YourName**/Library/Preferences/com.apple.iMovie3.plist
    AND I would also
    - Run: Repair permisions: Apple Disk Util tool (on hard disk/Applications/Tools/Disk Util tool
    and I would also
    - Run: Repair hard disk: Apple Disk Util tool - to do this You need to start from
    CD/DVD or external hard disk !
    Yours Bengt W

  • Confirmation required won't leave screen

    I made a purchase and it went thru and is working.  But when I went into update aps on my itouch the screen come up CONFIRMATION REQUIRED
    Do you still want to buy 100K credits fo .99?
    Cancel   Buy  and its locked won't let me do anyting

    I have the same problem. I can do other things, but every time I come back to the app store it comes back to this screen.

  • Ipod software license agreement will not leave screen

    I recently got a new ipod nano 3rd generation and i have it registered but every time i connect it i agree to the license agreement but nothing happens. I save it and it saves properly but nothing happens...the agreement stays on the screen..HELP!!!

    Awesome!!..wow that was simple...i couldnt see the continue button...thanks/....i feel a little stupid cuz it was so simple...but super glad that u could help...thanks a bunch!!

Maybe you are looking for