‎2009 Jan 20 12:59 PM
Hi all,
I have a problem in nested screen call.
If the screen is called more than 50 times, it give me dump.
So i am using Leave to screen xxxx.
it is working fine, but the problem is
my first screen is ABCD (for example).
When the user click on any one button in the tool bar(say addition) , pop-up window should be dispalyed and user should have option to enter the value. So for this pop-up, i am designed another screen PQRS(for example)
call screen PQRS STARTING AT 20 5 ENDING AT 63 11.
Screen PQRS willl have two buttons( example OK & Cancel).
if the user press OK, it should call screen ABCD and it should do the addition operation.
so instead of using
CALL SCREEN ABCD, if i use LEAVE TO SCREEN ABCD, screen ABCD is getting displayed like pop-up window (PQRS) i.e screen ABCD STARTING AT 20 5 ENDING AT 63 11 instead of full screen
Can you please help me to overcome this ..i.e how to display screen ABCD as full screen instead of pop-up screen STARTING AT 20 5 ENDING AT 63 11 .
Thanx in adv
Sangeeth
‎2009 Jan 20 1:38 PM
Hi ,
In the PAI of the Push button screen instead of writing Leave to screen ABCD ( whic is ur initial screen)
Plstry "SET SCREEN 0." this gives you a ull screen rather than a pop up window.
Hope this helps.
Regards,
Krishna.
‎2009 Jan 20 3:52 PM
hi,
use SET SCREEN 0 or LEAVE SCREEN to define the return from the CALL screen .
SET SCREEN statement sets or overwrites the follow-up screen.
LEAVE SCREEN executes the screen number currently in the follow-screen field
regards
Jayapriya
‎2009 Jan 21 4:22 AM
Hi,
if you use leave to screen ABCD, that would create an additional screen sequence and after 8-9 calls the program will not respond as the number of internal session will be used. If PQRS is called from ABCD via call screen , using the statement leave to screen 0, will take you back to the calling screen, here ABCD, and the size of the screen will remain full size rather than the dialog box created fro PQRS with addition starting at .. ending at. Try using leave to screen 0 when you click on the button to move to first screen. or the combined statement set screen 0. leave screen.
Hope this helps in solving your query.
Regards,
Sachin Dargan.
‎2009 Jan 21 8:41 AM
Hi,
You can try creating a subscreen area. When you are pressing any button depending on the function code you can call that subscreen.
Hope this can solve your problem.
Regards,
Deepthi.
‎2009 Jan 21 9:24 AM
Hi All,
Thanks for your reply
I forgot to tell you that i am using OO ALV concept in my program. so when i saw F1 help for Leave to screen, i found that
This statement must not be used when handling events of the Control Framework
Pls reply