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

dialog programming

Former Member
0 Likes
619

Hi,

In dialog programming,if we want to go back from the screen to the program,what statement can we use?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
603

hi,

To interrupt processing of the current screen and branch to a new screen (or sequence of screens), use

the CALL SCREEN <nnnn> statement. The screen <nnnn> must belong to the same program.

In the program, the system constructs a stack. The stack has to be destroyed before the end of the

program.

To return to the statement following the CALL SCREEN statement, you can use either SET SCREEN 0.

LEAVE SCREEN. or LEAVE TO SCREEN 0. The screen that called the other screen is then processed

further.

If you use the above statements outside a call chain, the program terminates, and control returns to the

point from which it was called. You can also terminate a program using the ABAP statement LEAVE

PROGRAM.

Hope this is helpful, Do reward.

5 REPLIES 5
Read only

Former Member
0 Likes
603

r u talking about while developing the object are after creating the transaction code for the dialog programming, clearify this issue so that i can give u suggestions.

Read only

0 Likes
603

Hi ,

While running the program,if i want to come back to the program from the last screen what statement can I use?

Read only

0 Likes
603

hi,

You can also terminate a program using the ABAP statement LEAVE

PROGRAM.

Hope this helps, Do reward.

Read only

Former Member
0 Likes
604

hi,

To interrupt processing of the current screen and branch to a new screen (or sequence of screens), use

the CALL SCREEN <nnnn> statement. The screen <nnnn> must belong to the same program.

In the program, the system constructs a stack. The stack has to be destroyed before the end of the

program.

To return to the statement following the CALL SCREEN statement, you can use either SET SCREEN 0.

LEAVE SCREEN. or LEAVE TO SCREEN 0. The screen that called the other screen is then processed

further.

If you use the above statements outside a call chain, the program terminates, and control returns to the

point from which it was called. You can also terminate a program using the ABAP statement LEAVE

PROGRAM.

Hope this is helpful, Do reward.

Read only

Former Member
0 Likes
603

Hi,

Hi...

Set the next screen parameter to 0 of the current screen.

After processing the PBO and PAI of that screen it will automatically comes to the statement after the CALL SCREEN. (provided u dont have any program terminating statements in PAI of that screen).

It you want to do that programatically then use LEAVE SCREEN statement.

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.