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: 

Action on user command for dialog screens

Former Member
0 Kudos

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'

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi

you can use LEAVE TO SCREEN 300 in screen 210.

4 REPLIES 4

Former Member
0 Kudos

hi

change your code in screen 210.like

leave screen.

call screen 300.

use LEAVE SCREEN in 300

it will solve your problem.

Former Member
0 Kudos

hi

you can use LEAVE TO SCREEN 300 in screen 210.

former_member188685
Active Contributor
0 Kudos

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 )

Former Member
0 Kudos

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