‎2014 Jun 25 1:13 AM
Hi all !
I' have a question regarding module pool programming..
I was trying to use leave to screen 0 .
as far as I know it is used to go back previous screen,
but in my program it is leaving program instead of going back to previous screen.
Please someone explain me is "Leave to screen 0" works like 'Leave program'?
if not then how to use it to switch to previous screen?
Thanks ,
Sri
‎2014 Jun 25 4:26 AM
Hi Sridevi
What`s screen number of your previous screen? if it`s 9000, then you need 'LEAVE TO SCREEN 9000'.
regards,
Archer
‎2014 Jun 25 4:30 AM
And if in your previous`s attribute, you had set 'Next screen'. After you enter the next screen, you can 'LEAVE SCREEN' back to this previous screen.
‎2014 Jun 25 4:40 AM
Hi Sridevi,
I would like to have a brief info about the scenario you have coded for i.e. what are the flow of screend in your flow logic, i.e. are you moving from screen 9000 to 9001 and then pressing back button where at screen 9001; you have written the code as Leave to screen 0.
Please validate the same at your edn and respond soon, so that the issue can be resolved ASAP.
BR/Thanks
Pranav Agrawal
‎2014 Jun 25 5:02 AM
‎2014 Jun 25 5:51 AM
‎2014 Jun 25 6:11 AM
Hi Sridevi,
Try this,
SET SCREEN 0.
LEAVE SCREEN.
regards,
Velmurugan B
‎2014 Jun 25 6:20 AM
Hi Sridevi,
LEAVE PROGRAM- Its leave a program
LEAVE TO SCREEN 0 - Its go back to your previous screen.
Thanks and Regards
Niraj
‎2014 Jun 25 7:33 AM
Hi Sridevi,
Leave to screen (n): leaves current Dynpro and starts screen n. You
must consider this as the next Dynpro in a chain of dynpro's.
Regards,
Venkat.