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: 

from modal dialog to normal screen

Former Member
0 Kudos

Hi all,

I have a screen 100 and from i going to modal dialog screen 200 and based on selection on screen i go to screen 300 i.e i input in screen 200 and press enter ,it would take me to screen 300 .

in pai of screen 100

leave to screen 200

leave to screen 300

in pai of screen 200

leave to screen 0

now it comes to screen 100 pai not pbo and leaves to screen 300.

but i have x symbol on the on the modal dialog when i press that i don't want to go to screen 300, i just want to close the modal dialog screen

so in pai of screen 200

i had when sy-ucomm = 'exit'.

leave to screen 100.

now it goes to pbo of screen 100 but it doesn't close the modal dialog and the screen 200 becomes a copy of screen 100 and stays above screen 100.

Is there any command where i can leave to pbo and close the modal dialog box.

Thanks

Kajol

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Instead of the following..

in pai of screen 100

leave to screen 200

..

When the user press enter in the modal dialog box goto screen 300.

leave to screen 300

OR

When the user presses enter set a flag V_FLAG = 'X'.

in pai of screen 100

leave to screen 200

IF V_FLAG = 'X'.

leave to screen 300

ENDIF.

Thanks,

Naren

2 REPLIES 2

Former Member
0 Kudos

Hi,

Instead of the following..

in pai of screen 100

leave to screen 200

..

When the user press enter in the modal dialog box goto screen 300.

leave to screen 300

OR

When the user presses enter set a flag V_FLAG = 'X'.

in pai of screen 100

leave to screen 200

IF V_FLAG = 'X'.

leave to screen 300

ENDIF.

Thanks,

Naren

0 Kudos

Hi

any thoughts on this.

Thanks