‎2008 Jun 05 5:12 AM
‎2008 Jun 05 5:15 AM
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
‎2008 Jun 05 5:18 AM
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
‎2008 Jun 05 7:45 AM
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