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

Set screen 0

Former Member
0 Likes
943

Hi

any 1 tel me . what is set screen 0 does ???????

3 REPLIES 3
Read only

Former Member
0 Likes
636

If the screen number of the next screen is 0, the current next screen is ended.

This statement sets thescreen with the screen number specified in dynnr, as the next screen for processing of the current screen. For dynnr, a data object of type n and length 4 is expected. It must contain either the screen number of a screen in the main program of the current program group or the value 0, otherwise a non-catchable exception will be triggered. The specified next screen overwrites the previously-set next screen.

The next screen is automatically called when the system finishes the PAI processing of the current screen. If the screen number of the next screen is 0, the current next screen is ended.

Reward IF.....

Regards

Anbu

Read only

prasanth_kasturi
Active Contributor
0 Likes
636

hi,

If the screen number of the next screen is 0, the current next screen is ended.

you will return to selection-screen

regards

prasanth

Read only

Former Member
0 Likes
636

SET SCREEN <next screen>.

This statement defines a new next screen for the current program run.

If you specify the value 0 for <next screen>, the current screen becomes the last in the screen chain. After the screen has been processed, control returns to the point from which the screen sequence was called.

The SET SCREEN does not interrupt the current screen processing. To leave a screen, use the ABAP statement LEAVE.

LEAVE TO SCREEN 0 will terminate the screen sequence and control returns to the calling point..

Rgds

sunny