10-07-2008 12:17 PM
Hi Gents,
I have module pool program with four screens, 100, 200, 210, 300
from screen 100 I call 200, then I call dialog screen 210 to rais question to the user, then based on the user answerI call screen 300 .
Now the case: when I click on back button from screen 300 it take me to 210 where it should go to 200, then I changed the code from leave to screen 0 to leave to screen 200, but I faced another problem that when I click back in the main screen 100 I have to click back twice to leave the program. how possible to clear the user actions or buffer.
regards'
10-07-2008 1:10 PM
10-07-2008 1:08 PM
hi
change your code in screen 210.like
leave screen.
call screen 300.
use LEAVE SCREEN in 300
it will solve your problem.
10-07-2008 1:10 PM
10-07-2008 2:25 PM
it all depends on how you are calling the screens
show the calls(i.e how you are calling? using call screen/leave to screen )
10-07-2008 2:25 PM
there are following options:
call screen 100
immediately skips processing in current screen and jumps to PBO of screen 100. new internal session is creeated
set screen 100
current screen PAI is processesed completely, then next screen called is 100
leave screen.
leaves current screen, and goes back to prev screen PBO and closes current internal session
leave to screen 100.
closes currenst session, immeditely go to PBO of screen 100
choose apropriately