<?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: Conditional call to a subscreen in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206415#M1910642</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;You get error "DYNPRO_NOT_FOUND" this because of &lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;v_dynnr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background: #ffffff; text-decoration: underline;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;as before assign value to &lt;SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;v_dynnr&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; you call screen 9001 where &lt;SPAN style="color: #333333; font-size: 12px;"&gt;v_dynnr &lt;/SPAN&gt;have 0000 value &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SUBSCREEN sub_tela INCLUDING V_PROG v_dynnr&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;so make change in declaration &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;data v_dynnr &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;type &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;sy-DYNNR &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;VALUE &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;'0001'&lt;/SPAN&gt;. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt; and make 0001 as subscreen &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;so when you call 9001 screen a default subscreen 0001(Having no screen element) so after click &lt;STRONG style="color: #333333; font-size: 12px;"&gt;'INSERIR'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;v_dynnr = 0901&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;then normal screen 9001 with subscreen 0901 will call&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2015 19:12:56 GMT</pubDate>
    <dc:creator>SwadhinGhatuary</dc:creator>
    <dc:date>2015-07-06T19:12:56Z</dc:date>
    <item>
      <title>Conditional call to a subscreen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206414#M1910641</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;&lt;/P&gt;&lt;P&gt;How to call a subscreen in module pool after to &lt;SPAN style="color: #333333; font-size: 12px;"&gt;click on push buttons ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE &lt;SPAN class="L0S52"&gt;OUTPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;SUBSCREEN sub_tela INCLUDING V_PROG v_dynnr&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;status_9001&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;*----------------------------------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;PROCESS AFTER &lt;SPAN class="L0S52"&gt;INPUT&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;init_subscreen&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;SUBSCREEN sub_tela&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;*---------------------------------------------------------------------------------------------*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;module &lt;/SPAN&gt;INIT_SUBSCREEN &lt;SPAN class="L0S52"&gt;input&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CASE &lt;/SPAN&gt;ok_code&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'INSERIR'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;. &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"when user clicks a button to call table control&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V_PROG &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;repid&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V_DYNNR &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0901'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDCASE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;endmodule&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*----------------------------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*----------------------------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;ESTÁ APARECENDO DUMP&lt;/P&gt;&lt;P&gt;DUMP IS APPEARING&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 17:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206414#M1910641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-06T17:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional call to a subscreen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206415#M1910642</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;You get error "DYNPRO_NOT_FOUND" this because of &lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;v_dynnr&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background: #ffffff; text-decoration: underline;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;as before assign value to &lt;SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;v_dynnr&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; you call screen 9001 where &lt;SPAN style="color: #333333; font-size: 12px;"&gt;v_dynnr &lt;/SPAN&gt;have 0000 value &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;SUBSCREEN sub_tela INCLUDING V_PROG v_dynnr&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;so make change in declaration &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;data v_dynnr &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333;"&gt;type &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;sy-DYNNR &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;VALUE &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S33"&gt;'0001'&lt;/SPAN&gt;. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt; and make 0001 as subscreen &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;so when you call 9001 screen a default subscreen 0001(Having no screen element) so after click &lt;STRONG style="color: #333333; font-size: 12px;"&gt;'INSERIR'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 12px; color: #333333;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;v_dynnr = 0901&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #333333; font-size: 12px; text-decoration: underline;"&gt;&lt;STRONG&gt;then normal screen 9001 with subscreen 0901 will call&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206415#M1910642</guid>
      <dc:creator>SwadhinGhatuary</dc:creator>
      <dc:date>2015-07-06T19:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional call to a subscreen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206416#M1910643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;screen shot for detail understanding&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/740896" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 19:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206416#M1910643</guid>
      <dc:creator>SwadhinGhatuary</dc:creator>
      <dc:date>2015-07-06T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional call to a subscreen in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206417#M1910644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to assign values into &lt;SPAN style="color: #333333; font-size: 12px;"&gt;V_PROG v_dynnr&lt;SPAN style="background-color: #ffffff;"&gt;, before the screen is called the first time. Here, I see that you are assigning values at PAI event, which means that the 1st time the main screen is called, SAP doesn't know which subscreen to include in the subscreen area. Hence, the dump.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:28:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conditional-call-to-a-subscreen-in-module-pool-program/m-p/11206417#M1910644</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2015-07-06T20:28:22Z</dc:date>
    </item>
  </channel>
</rss>

