12-04-2007 11:19 AM
HI,
What is the difference btn LEAVE TO SCREEN 100 ,LEAVE TO SCREEN 0.
12-04-2007 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.
12-04-2007 11:24 AM
wat if both initial screen is 100.. then wat is the difference btn these 2 ??
12-04-2007 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
12-04-2007 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á
12-04-2007 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.
12-04-2007 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
12-04-2007 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
12-04-2007 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