<?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 Re: error: DYNPRO_NOT_FOUND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733432#M1110873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, in Zprogram he one variable l_pos is declared for list index and in class constructor value of it is initialised to 1. now before doing check, he is incrementing value of l_pos and verifing whether l_pos is greater than max_list_index. value in max_list_index is 1. so it is failing in check as l_pos becomes 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally i have commented add 1 to l_pos command and now it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in this Z program , normal screen number has been taken as 1000 and it is reserved number for SAP selevction screen. i think thats why he has set list  index to 1 instead of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 10:22:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T10:22:57Z</dc:date>
    <item>
      <title>error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733426#M1110867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While executing one module Pool program of Z type, i m getting following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system attempted to use dynpro 0000 in program "Z3ID2200".&lt;/P&gt;&lt;P&gt;This dynpro does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Information on where terminated&lt;/P&gt;&lt;P&gt;Termination occurred in the ABAP program "Z3ID2200" - in "OBTENIR_SOUS_ECRAN".&lt;/P&gt;&lt;P&gt;The main program was "Z3ID2200 ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source code you have the termination point in line 100&lt;/P&gt;&lt;P&gt;of the (Include) program "Z3IG1300_ROUTINES_BASE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;given below is the form code in which it is giving dump.&lt;/P&gt;&lt;P&gt;FORM obtenir_sous_ecran&lt;/P&gt;&lt;P&gt;             USING p_ref_ecran  TYPE REF TO z3i_cl_vue_ecran&lt;/P&gt;&lt;P&gt;          CHANGING p_s_ecran_no TYPE syst-dynnr.            "#EC CALLED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD p_ref_ecran-&amp;gt;lire_sous_ecran&lt;/P&gt;&lt;P&gt;       RECEIVING  re_ecran_no = p_s_ecran_no&lt;/P&gt;&lt;P&gt;       EXCEPTIONS sous_ecran_non_trouve = 1&lt;/P&gt;&lt;P&gt;                  ecran_non_trouve = 2&lt;/P&gt;&lt;P&gt;                  max_sous_ecrans_excede = 3&lt;/P&gt;&lt;P&gt;                  OTHERS = 4.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0 AND sy-subrc &amp;lt;&amp;gt; 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Erreur lecture sous-écran&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MESSAGE ID gc_id_mess TYPE gc_e NUMBER '813'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " obtenir_sous_ecran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 06:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733426#M1110867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733427#M1110868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the include Z3IG1300_ROUTINES_BASE for usage of screen 0000, this might be caused because of using &lt;STRONG&gt;CALL SCREEN or LEAVE TO SCREEN&lt;/STRONG&gt; with variable usage which is not assigned a screen number while called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check and revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 07:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733427#M1110868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T07:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733428#M1110869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right it is throwing error at CALL SCREEN. I debugged and found that it assign screen number in one method to a variable and move control to next method. in next method it raises a exception and after exception, it return back control to main method. but the value of screen number is getting lost while returning control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i checked same thing in SAP 4.6C and it is behaving same way but only difference is that it doesn't loose the value in variable. however in ECC 6.0, value is lost thus calling SCREEN with blank value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 07:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733428#M1110869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733429#M1110870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since its your zprogram cant you make a backup of the screen number variable before passing it to the FM and then use it in cases of exceptions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 07:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733429#M1110870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T07:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733430#M1110871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked and found that main Z program calls a class method 1 to get some object details. This class method itself call 2 more methods inside itself. method 2 retrieves screen number. method 3 perform one check in which it is failing and throwing exception. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method 2 &amp;amp; 3 are part of method 1. As it throws exception from method 3 and return to the method 1 the screen number retrieved in class variable in method 2 is initialised due to which it is calling Screen with blank number and throwing dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however same code is working fine in SAP 4.6C version. in it while returning from method 3 to method 1 after exception, it doesn't loose screen number stored in internal class variable and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think in ECC6.0 , SAP has put soe stringent check and improvised on concept that internal variable should refresh when it encounter any exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 09:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733430#M1110871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T09:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733431#M1110872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the only thing you can do is to avoid getting into dump by checking the screen number variable before the screen is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can try checking whats the reason for the exception in the internal method, does it happen everytime or only for certain data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 09:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733431#M1110872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T09:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: error: DYNPRO_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733432#M1110873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, in Zprogram he one variable l_pos is declared for list index and in class constructor value of it is initialised to 1. now before doing check, he is incrementing value of l_pos and verifing whether l_pos is greater than max_list_index. value in max_list_index is 1. so it is failing in check as l_pos becomes 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally i have commented add 1 to l_pos command and now it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in this Z program , normal screen number has been taken as 1000 and it is reserved number for SAP selevction screen. i think thats why he has set list  index to 1 instead of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-dynpro-not-found/m-p/4733432#M1110873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:22:57Z</dc:date>
    </item>
  </channel>
</rss>

