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: 

Skipping the screen

Former Member
0 Kudos

Hi All,

I have created a module pool pgm and in that i have created a selection screen 200. With in the pgm am calling a standard transaction by skipping the first screen and passing all the selection inputs through my selection i.e it will display directly ouput. When am pressing 'BACK' it displaying the standard transactions selection screen but i need to display directly my selection screen i.e screen 200.

Is it possible to skip the selection screen even when 'BACK' also ?

Please advice me ....

Thanks in advance.

8 REPLIES 8

kiran_k8
Active Contributor
0 Kudos

Anil,

Use "leave program".

K.Kiran.

Former Member
0 Kudos

Hi,

try this...

after the call transaction statement..in the user command...Then use set screen.

SET SCREEN '0200'.

LEAVE SCREEN.

OR

CALL SELECTION-SCREEN '0200'.

Thanks

naren

varma_narayana
Active Contributor
0 Kudos

Hi...

Use the Statement :

LEAVE TO SCREEN 0.

or

LEAVE PROGRAM.

Then the control will be returned to the Selection Screen 200 which is the calling the Standard transaction.

<b>reward if Helpful.</b>

Former Member
0 Kudos

Hi Anil,

Instead of calling the transaction. use SUBMIT command and submit the main program of the transaction by passing the data to the selection screen. It will work..

Thank you.

Reward points if found useful. Also close the thread if ur query is solved

Former Member
0 Kudos

hi,

hi use LEAVE TO SCREEN 200

OR

LEAVE TO LIST-PROCESSING. statements in

PAI module of CALL TRANSACTION use

when 'back'.

LEAVE TO SCREEN 200. or

LEAVE TO LIST-PROCESSING

if helpful reward some points.

with regards,

Suresh Aluri.

Former Member
0 Kudos

hi,

hi use LEAVE TO SCREEN 200

OR

LEAVE TO LIST-PROCESSING. statements in

PAI module of CALL TRANSACTION use

when 'back'.

LEAVE TO SCREEN 200. or

LEAVE TO LIST-PROCESSING

if helpful reward some points.

with regards,

Suresh Aluri.

0 Kudos

Thanks for all ur valubale time and suggestions

I have tried with all ur suggestions and i can't use SUBMIT cmd becoz of my requirement.

Actually the problem is the control still exists in standard pgm. After displaying the output , when 'BACK' it again calling the standard pgms selection screen so am getting the standard selection screen.... but i shuld not get this. If user press 'BACK' after output it has to come directly to my customised selection instead of standard ones ...

plse suggest me .... is there any way to control the screen by user-exit or something.

thanks again ...

0 Kudos

Hi Anil ,

Use this.

When 'BACK'.

SET SCREEN '0'.( your customized slection screen number ie.., 0)

LEAVE SCREEN.

Reward if useful.

Regards,

Chitra