Skip to Content
author's profile photo Former Member
Former Member

LEAVE TO SCREEN

HI,

What is the difference btn LEAVE TO SCREEN 100 ,LEAVE TO SCREEN 0.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Posted on Dec 04, 2007 at 11:22 AM

    Hi,

    LEAVE TO SCREEN 0 :it takes you to the previous screen.

    LEAVE TO SCREEN 100 : it takes you to screen with screen number 100.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:22 AM

    hi anu

    LEAVE TO SCREEN 100 -this will take u to screen no 100.

    LEAVE TO SCREEN 0, will take u to initial screen.

    regards

    karthik

    ***********reward points if useful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:23 AM

    Hi!

    With LEAVE TO SCREEN 100, you can go directly to the 100 dynpro. It has to exist, or you'll have a dump.

    Using the LEAVE TO SCREEN 0, you will go back to the previous caller screen.

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:23 AM

    HI,

    leave to screen 100 will cause the processing of current screen and goto screen 100.

    leave to screen 0 will cause the processing of current screen and go to the main program or sap main screen.

    rgds,

    bharat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:23 AM

    Hi,

    LEAVE TO SCREEN 100 - means it will goto sceen no 100.

    LEAVE TO SCREEN 0 - means it will come out the current screen.

    Regards,

    Vani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:24 AM

    Hi anu,

    1. leave to screen 0 exits out from your initial screen (ie exit out of your program)

    2. leave to screen 100 leaves the current screen and go to screen no 100

    case ok_code.

    when 'EXIT'.

    LEAVE to SCREEN 0.

    WHEN 'BACK'.

    LEAVE TO SCREEN 100.

    endcase.

    reward if useful.

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:25 AM

    HI

    LEAVE TO SCREEN 0 it will take you to the INITIAL SCREEN

    where as LEVE TO SCREEN 100 it will take you to the screen number 100

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.