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

SCREEN

Former Member
0 Likes
474

i'm using call screen statement but that increases screen levels what shud i use to leave to previous screen .

eg

i'm using call screen 1002 starting at 45 60

ending at 60 90.

it will call a small screen .now what to do to return to previous screen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
458

Hi,

There should be any button on screen.

In AT SELECT-SCREEN .

IF sy-ucomm EQ 'BACK'.

leave screen to 0.

ENDIF.

4 REPLIES 4
Read only

gopi_narendra
Active Contributor
0 Likes
458

You can use the LEAVE statement

LEAVE TO SCREEN 0100<prev scr no>

Regards

Gopi

Read only

Former Member
0 Likes
459

Hi,

There should be any button on screen.

In AT SELECT-SCREEN .

IF sy-ucomm EQ 'BACK'.

leave screen to 0.

ENDIF.

Read only

Former Member
0 Likes
458

Hi Vivek Gaur,

When you want to go back to previous sprees just use LEAVE TO SCREEN 0 in some button see the following example.

Ex

if sy-ucomm eq 'BACK'.
  LEAVE TO SCREEN 0.
endif.

.

Reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
458

RESOLVED