<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dialog programming query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561878#M857117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;i am giving the error analysis that i have encountered with the dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    You requested too many consecutive nested call screens.&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;At present, the maximum permitted number of nested screen levels is restricted to 50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is to be done to rectify this problem.&lt;/P&gt;&lt;P&gt;i am also giving the code which i have used.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'CREA'.&lt;/P&gt;&lt;P&gt;      clear: wa_zitrdepesc-BUKRS,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-DEPT,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-ESCLDEP,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-ESCLPER.&lt;/P&gt;&lt;P&gt;      call screen 200.&lt;/P&gt;&lt;P&gt;    when 'DISP'.&lt;/P&gt;&lt;P&gt;      if v_field = 'ZITRDEPESC-DEPT' and v_dept is not INITIAL.&lt;/P&gt;&lt;P&gt;        flag = 'X'.&lt;/P&gt;&lt;P&gt;        clear wa_zitrdepesc.&lt;/P&gt;&lt;P&gt;        select * from zitrdepesc into wa_zitrdepesc where dept = v_dept.&lt;/P&gt;&lt;P&gt;        endselect.&lt;/P&gt;&lt;P&gt;        dv_dept = v_dept.&lt;/P&gt;&lt;P&gt;        clear sy-ucomm.&lt;/P&gt;&lt;P&gt;      elseif v_field ne 'ZITRDEPESC-DEPT' and v_dept is INITIAL.&lt;/P&gt;&lt;P&gt;        clear flag.&lt;/P&gt;&lt;P&gt;        clear dv_dept.&lt;/P&gt;&lt;P&gt;        message w000.&lt;/P&gt;&lt;P&gt;        clear sy-ucomm.&lt;/P&gt;&lt;P&gt;        clear wa_zitrdepesc.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    when 'MODI'.&lt;/P&gt;&lt;P&gt;      call screen 300.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;suitable solutions will be rewarded.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 13:46:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T13:46:43Z</dc:date>
    <item>
      <title>dialog programming query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561878#M857117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;i am giving the error analysis that i have encountered with the dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    You requested too many consecutive nested call screens.&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;At present, the maximum permitted number of nested screen levels is restricted to 50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is to be done to rectify this problem.&lt;/P&gt;&lt;P&gt;i am also giving the code which i have used.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'CREA'.&lt;/P&gt;&lt;P&gt;      clear: wa_zitrdepesc-BUKRS,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-DEPT,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-ESCLDEP,&lt;/P&gt;&lt;P&gt;             wa_zitrdepesc-ESCLPER.&lt;/P&gt;&lt;P&gt;      call screen 200.&lt;/P&gt;&lt;P&gt;    when 'DISP'.&lt;/P&gt;&lt;P&gt;      if v_field = 'ZITRDEPESC-DEPT' and v_dept is not INITIAL.&lt;/P&gt;&lt;P&gt;        flag = 'X'.&lt;/P&gt;&lt;P&gt;        clear wa_zitrdepesc.&lt;/P&gt;&lt;P&gt;        select * from zitrdepesc into wa_zitrdepesc where dept = v_dept.&lt;/P&gt;&lt;P&gt;        endselect.&lt;/P&gt;&lt;P&gt;        dv_dept = v_dept.&lt;/P&gt;&lt;P&gt;        clear sy-ucomm.&lt;/P&gt;&lt;P&gt;      elseif v_field ne 'ZITRDEPESC-DEPT' and v_dept is INITIAL.&lt;/P&gt;&lt;P&gt;        clear flag.&lt;/P&gt;&lt;P&gt;        clear dv_dept.&lt;/P&gt;&lt;P&gt;        message w000.&lt;/P&gt;&lt;P&gt;        clear sy-ucomm.&lt;/P&gt;&lt;P&gt;        clear wa_zitrdepesc.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    when 'MODI'.&lt;/P&gt;&lt;P&gt;      call screen 300.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;suitable solutions will be rewarded.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 13:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561878#M857117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T13:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561879#M857118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samarendra,&lt;/P&gt;&lt;P&gt;                      The error message you are getting is a very common message. It happends due to the limited screen buffer area in ABAP. Whenever you call a screen it takes up some space in the screen buffer area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the simple solution is terminate the screen sequence when you are finished using it. I mean lets say as in your code you called screen 200. You did some processing etc on that screen. Now when you are finished with this screen you must be going back. So while leaving the current screen make sure you delete the entry for this screen from the screen buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally you can use the command LEAVE TO SCREEN 0, Which terminates the screen sequence. Or you can use the command LEAVE SCREEN which just redirects you to the next screen on the sequence. If you have not defined any NEXT screen then It will leave the screen sequence.&lt;/P&gt;&lt;P&gt;This is a just a default method. I can tell you in details only after going through the code for the other screens you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Barada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Baradakanta Swain on Mar 24, 2008 3:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 14:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561879#M857118</guid>
      <dc:creator>Barada_Swain</dc:creator>
      <dc:date>2008-03-24T14:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561880#M857119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Baradakanta has describe the problem well... in order to get 50 levels down, it sounds like you must have something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call screen '200'.  "starting screen
  call screen '300'.  "some details
    call screen '400'.  "some more details / popup or something
      call screen '200'.  "back to start screen
        call screen '300'.
          call screen '400'.
            call screen '200'.  "back to start screen
              call screen '300'.
                call screen '400'.
"etc - 9 levels down very quickly
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;whereas you should be aiming something more like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call screen '200'.        "starting screen
  call screen '300'.
    call screen '400'.
*"   {PAI for 400}
      leave to screen 0.  "takes you back up to 300 call point

*"  ...now you are back in PAI for 300 where you can:
    leave to screen 0.    "takes you back up to 200 call point

*" and now you are back in PAI for 200
*" so you can start call sequence again from 200
*" etc - no more than 3 levels down this way
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 02:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561880#M857119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T02:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: dialog programming query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561881#M857120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;the problem was in the flow logic of screen 200 and screen 300 where in which the module for output and input was of screen 100.&lt;/P&gt;&lt;P&gt;that is the reason why i got the error.&lt;/P&gt;&lt;P&gt;anyways i thank you for the solutions given by you both.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;samarendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 05:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-query/m-p/3561881#M857120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T05:24:50Z</dc:date>
    </item>
  </channel>
</rss>

