this is not leave to screen 0, this is leave to screen <screen number>
suppose I have some code written after this leave to screen number statement.
as per my analysis, there is no way to get control execute the code written below leave to screen number.
I have tried different things
remove the next screen attribute from the called screen
save calling screen number in global variable and write leave to screen number of previous screen
because then it calls the PBO of that screen and go directly to the code after leave to screen no statement
if I use call screen statement then I can get back to code written after call screen
but I need to kind of replace all the call screen statements with leave to screen statements in a rather big module pool
this is to avoid the dump of more than 50 nested screens