Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

LEAVE TO SCREEN

Former Member
0 Kudos

HI,

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

8 REPLIES 8

Former Member
0 Kudos

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.

0 Kudos

wat if both initial screen is 100.. then wat is the difference btn these 2 ??

Former Member
0 Kudos

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

Former Member
0 Kudos

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á

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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