‎2009 Nov 24 6:27 AM
Hi Experts,
My Requirement is like, i need to call one ALV from the selection screen input (using REUSE_ALV function module), i need to select a particular record and change the record(which means calling again one ALV which will be in edit mode, there i will change the record ) and the save the record (which will call one more ALV with modified record),
Now the problem is like, once i reach the 3rd ALV, if i will press the back button, it is coming to the previous ALV.
But as per my requiremt, it should come to the initial selection screen.
I have tried leave to screen 0. and related concepts.
But it is not working.
Can anyone help me to find out the solution for this problem.
Thanks,
Vijay.R
‎2009 Nov 24 6:28 AM
Hi,
Try using:-
CALL SELECTION-SCREEN 1000.
or
SET SCREEN '1000'.
LEAVE SCREEN.
Hope this helps you.
Regards,
Tarun
‎2009 Nov 24 6:33 AM
hi Vijay,
If u have created different screens to call the ALV the u can CALL Screen(with the name of first screen).or you can try leave Screen or leave to screen or set screen with the screen number
hope this will help
Thanks
Tanmaya Gupta
‎2009 Nov 24 7:10 AM
Hi,
You can try doing:
On the back button function code of your ALV output,
Try writing
LEAVE TO SCREEN '1000'
or CALL SELECTION-SCREEN.
Hope it helps
Regards
Mansi
Edited by: MANSI ASNANI on Nov 24, 2009 8:10 AM
‎2009 Nov 24 7:29 AM