06-05-2006 8:05 AM
hI.
how set screen, leave screen, leave to screen statements works?
06-05-2006 8:11 AM
SET SCREEN.
- by default in screen attributes you have defined what will be the next screen, but if you want to change the next screen dynamically we use the statement SET SCREEN.
for ex: SET SCREEN 100.
LEAVE SCREEN.
- if you want to quit from the current screen, you use this option. so by default the next screen from attributes will be picked but if you have defined the next screen using SET SCREEN that it will overwrite.
ex: SET SCREEN 100.
LEAVE SCREEN.
LEAVE TO SCREEN.
- Leave to screen is combination of above two statements.
06-05-2006 8:11 AM
Hi,
Just refer to these links..
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab3635c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab1c35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab0235c111d1829f0000e829fbfe/content.htm
Regards,
SP.
06-05-2006 8:14 AM
Hi osk,
1. these statements differ
in respect to how PAI will be further processed.
2. SET SCREEN 5000 (in pai module)
a) will first complete the pai processing
b) the it will swith to screen number 5000
3. leave SCREEN.
A) immediately it will swith to NEXT screen number
(which is specified in NEXT SCREEN attribute )
4. leave to screen 5000
a) IMMEDIATELY LEAVES THE CURRENT SCREEN
AND SWITCHES TO SCREEEN 5000
(DOES NOT COMPLETE PAI PROCESSING)
regards,
amit m.