‎2008 Feb 08 7:54 AM
Hi,
In dialog programming,if we want to go back from the screen to the program,what statement can we use?
‎2008 Feb 08 7:59 AM
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.
‎2008 Feb 08 7:57 AM
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.
‎2008 Feb 08 8:01 AM
Hi ,
While running the program,if i want to come back to the program from the last screen what statement can I use?
‎2008 Feb 08 8:08 AM
hi,
You can also terminate a program using the ABAP statement LEAVE
PROGRAM.
Hope this helps, Do reward.
‎2008 Feb 08 7:59 AM
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.
‎2008 Feb 08 8:00 AM
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.