Application Development and Automation 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: 
Read only

Module pool Selection Screen

rakesh_saragadi
Explorer
0 Likes
1,006

Hello every one,

I have a requirement in module pool . i have created a selection screen with some radio buttons in Top include and have a screens '100' (normal screen) & '200' (modal dailog box). in screen 100 PAI user command have written a code on a particular radio button screen 200 is called and data is displayed when i click back button on the application tool bar it should call selection screen

CASE ok_code.
WHEN 'BACK'.
CALL SELECTION-SCREEN 1000.
endcase.

now again i press on back button it is going back to the previously displayed screen, but as per requirement i need to go back to the as we use (leave program) statement. i tried with set screen , leave screen , leave to screen 0, and chnaged the next screen number in the attributes of the screen nothing worked . can any one help me in this please.

hope i am clear with the question

Thanks

Rakesh

1 ACCEPTED SOLUTION
Read only

0 Likes
902

You can try Call transaction <T-code>.

3 REPLIES 3
Read only

mmcisme1
Active Contributor
0 Likes
902

The screen should be:

leave to screen 100.

If possible always use "leave to" instead of call. Call can cause too many internal sessions to be opened.

Read only

0 Likes
903

You can try Call transaction <T-code>.

Read only

rakesh_saragadi
Explorer
0 Likes
902

thanks winse ,

i have already solved the issue issue using the same . any ways thanks for your reply.