<?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: LOOP AT screen Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281385#M1633866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am developing a On-Line examination system in ABAP , i have made a screens using screen painter . In this there is main screen which is having a&amp;nbsp; START button . when a user click START button , Examination starts and sub screen of question number 1 comes , here problem is when a user click on START button second time (during the examination) this again shows question No. 1 ,&lt;STRONG&gt; i want when user Click start Button first time it will be Disable / hide.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* some detail of screens are below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main screen --&amp;gt; START button , when user click on START button this shows sub-screen of question number 1. &lt;/P&gt;&lt;P&gt;sub-screen --&amp;gt;&amp;nbsp; i gave same name to sub-screen and calling them with screen numbers .&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/304863" width="450" /&gt;&lt;/P&gt;&lt;P&gt;thank you ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 09:18:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-23T09:18:34Z</dc:date>
    <item>
      <title>LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281379#M1633860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I created a Module Pool which has two screens. On the first screen there are some radio buttons, and depending on which one you select, another row of radio buttons appear. The way I do that is by using a LOOP AT screen which sets the screen-input and screen-invisible to 1 or 0 depending on the selection. It has been working fine up until now. I made a change to the file, and when I tried to activate it I get this Syntax error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The type of "SCREEN" must be compatible with the type(s) of "SCREEN""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried removing the change I made, but now the error keeps appearing. Below is the code I have for this part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0101 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS '0101_STATUS'.&lt;/P&gt;&lt;P&gt;  SET TITLEBAR 'TITLE'.&lt;/P&gt;&lt;P&gt;  LOOP AT screen.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'LINEAR' OR screen-name = 'NONLINEAR'.&lt;/P&gt;&lt;P&gt;      screen-input = INP.&lt;/P&gt;&lt;P&gt;      screen-invisible = INV.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0101  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the screens that I have in my program are "Normal" with none of the settings selected. I tried to say activate anyway, but when I try to run the program I get a runtime error. If it's any help, this is what the internal notes say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The termination was triggered in function "ab_genprog"                                        &lt;/P&gt;&lt;P&gt;    of the SAP kernel, in line 1585 of the module&lt;/P&gt;&lt;P&gt;     "//bas/701_REL/src/krn/runt/abgen.c#8".&lt;/P&gt;&lt;P&gt;    The internal operation just processed is " ".&lt;/P&gt;&lt;P&gt;    Internal mode was started at 20110928143655.&lt;/P&gt;&lt;P&gt;    Program name.........: "ZPPD0102 ".&lt;/P&gt;&lt;P&gt;    Error message........: "The type of "SCREEN" must be compatible with the&lt;/P&gt;&lt;P&gt;     type(s) of "SCREEN"". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried creating a new Module Pool from scratch, and it gives me the error. I'm hoping someone can help me figure out the problem here. Thank you in advance for any help/suggestions you can provide me with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 19:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281379#M1633860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T19:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281380#M1633861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Franco - welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are both INP and INV defined as char(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 19:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281380#M1633861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T19:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281381#M1633862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And are you passing 0 or 1 in these variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281381#M1633862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T20:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281382#M1633863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Franco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a redefinition of the type SCREEN somewhere in your code I guess...&lt;/P&gt;&lt;P&gt;If this is the case, just remove it! &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281382#M1633863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T20:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281383#M1633864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was absolutely right, thanks for your help. Just out of curiosity, how did you know that with the error I provided? It was't very descriptive, so I'm surprised you were able to get that without seeing the rest of my code. Again, thank you very very miuch for your help. Also, this is my very first ABAP program, so please excuse my ignorance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281383#M1633864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T20:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281384#M1633865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well "The type of "SCREEN" must be compatible with the type(s) of "SCREEN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seemed totally clear to me after reading it a couple of times... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 20:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281384#M1633865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: LOOP AT screen Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281385#M1633866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am developing a On-Line examination system in ABAP , i have made a screens using screen painter . In this there is main screen which is having a&amp;nbsp; START button . when a user click START button , Examination starts and sub screen of question number 1 comes , here problem is when a user click on START button second time (during the examination) this again shows question No. 1 ,&lt;STRONG&gt; i want when user Click start Button first time it will be Disable / hide.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* some detail of screens are below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main screen --&amp;gt; START button , when user click on START button this shows sub-screen of question number 1. &lt;/P&gt;&lt;P&gt;sub-screen --&amp;gt;&amp;nbsp; i gave same name to sub-screen and calling them with screen numbers .&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/304863" width="450" /&gt;&lt;/P&gt;&lt;P&gt;thank you ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 09:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen-error/m-p/8281385#M1633866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-23T09:18:34Z</dc:date>
    </item>
  </channel>
</rss>

