Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

code written after leave to screen nnn

$
0
0

hi

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

 

 

thanks

bhakti


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>