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

processing of screen

Former Member
0 Likes
515

hi experts

which statements interrupts the processing of current screen

hi experts

which statements interrupts the processing of current screen

3 REPLIES 3
Read only

Former Member
0 Likes
498

Hi,

LEAVE TO SCREEN statement exits the current screen and calls the dynamic next screen, which you specify as part of the statement. The LEAVE TO SCREEN statement is no more than a contraction of the two statements

SET SCREEN Next Screen.

LEAVE SCREEN.

**If useful Reward with points.**

Read only

Former Member
0 Likes
498

Hi,

the following statements interrupts the processing of current screen.

1. LEAVE TO SCREEN 0.

2. set screen 0.

leave screen.

reward if helpful.

regards

Venkat

Read only

Former Member
0 Likes
498

hi,

In a program, you can use one of the two following ABAP statements to leave a screen:

LEAVE SCREEN.

or

LEAVE TO SCREEN Next Screen.

The LEAVE SCREEN statement ends the current screen and calls the subsequent screen. The next screen is either the static next screen or a dynamic next screen. In the second case, you must override the static next screen using the SET SCREEN statement before the LEAVE SCREEN statement.

The LEAVE TO SCREEN statement exits the current screen and calls the dynamic next screen, which you specify as part of the statement. The LEAVE TO SCREEN statement is no more than a contraction of the two statements

SET SCREEN Next Screen.

LEAVE SCREEN.

These statements do not end the entire screen sequence. They merely branch to another screen in the same sequence. The screen sequence only ends when you leave to next screen 0.