Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in Call Selection Screen

Former Member
0 Likes
451

Hi,

I am facing a problem on the call selection screen. The no. of nested screens that can be called by using call selection screen is 50. When the count reaches to 51 it is going to short dump. How can i avoid the dump. What is the system field that captures the nested screens count.

Thanx in advance,

2 REPLIES 2
Read only

Former Member
0 Likes
419

SY-LSIND and SY-DYNNR are the system variables for screens.

Read only

Pawan_Kesari
Active Contributor
0 Likes
419

Maximum number of nested CALL SCREEN is 50, I think you cannot call 51th screen in a row.

To avoid short dump you can handle exception <b>DYNP_TOO_MANY_CALL_SCREENS</b> and give error (or information) message 'Maximum number of nested sccreen level is 50' .

  TRY .

      CALL SCREEN 100.

    CATCH cx_root .

      MESSAGE e100(00).

  ENDTRY.