<?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 ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610122#M598663</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;we can use LOOP AT SCREEN statement only in PBO event of screen flow logic in module pool program and  AT SELECTION-SCREEN OUTPUT event of selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow these links for sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashok reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2007 12:44:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-02T12:44:49Z</dc:date>
    <item>
      <title>Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610114#M598655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In which all events can we use.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610114#M598655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610115#M598656</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 can use it in At Selection Screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Azad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610115#M598656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610116#M598657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN Event is used .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Processing a Particular Input Field &lt;/P&gt;&lt;P&gt;Processing Multiple Selection &lt;/P&gt;&lt;P&gt;Creating a List of Input Values &lt;/P&gt;&lt;P&gt;Creating Help for Input Fields &lt;/P&gt;&lt;P&gt;Processing a Group of Radio Buttons &lt;/P&gt;&lt;P&gt;Processing a Block of Input Fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610116#M598657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610117#M598658</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;In the Reports, we use this statment is AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is a module pool then we need to use this in the PBO section&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:34:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610117#M598658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610118#M598659</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;We can use this in PBO of any Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of Selection Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_BEDAT FOR EKKO-BEDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;    Loop at Screen.&lt;/P&gt;&lt;P&gt;      IF Screen-name = 'S_BEDAT-HIGH'.&lt;/P&gt;&lt;P&gt;          SCREEN-REQUIRED = 1.&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610118#M598659</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-02T12:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610119#M598660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i mean to ask in what all events of  AT SELECTION-SCREEN......... can we use. LOOP AT SCREEN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610119#M598660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610120#M598661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we use it in any event other than AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610120#M598661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610121#M598662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Check the program DEMO_DYNPRO_MODIFY_SIMPLE for some inputs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement LOOP AT SCREEEN. is used for modifying the screeen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement should be called in the PBO event to perform the required functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: suppose that you want to make a field invisible when a button is clicked, then in the PBO of the screen, write this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if screen-name = 'INP1'.&lt;/P&gt;&lt;P&gt;screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example , the processing is like this.&lt;/P&gt;&lt;P&gt;The statement LOOP AT SCREEN. causes each screen element to be processed. Each time the loop statement is executed, screen-name will be filled with the name of the screen element . Depending on the name of the screen element , you can process using the above mentioned statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN is a structure which has components like NAME,GROUP1,GROUP2,GROUP3 , GROUP4,INPUT,OUTPUT, INVISIBLE,ACTIVE etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details , just check this link in SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_CHECK                             .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_sale radiobutton group g1 user-command ABC default 'X',&lt;/P&gt;&lt;P&gt;            p_mate radiobutton group g1 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;            p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;if p_sale = 'X'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_MATNR'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if p_mate = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610121#M598662</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loop at screen ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610122#M598663</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;we can use LOOP AT SCREEN statement only in PBO event of screen flow logic in module pool program and  AT SELECTION-SCREEN OUTPUT event of selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow these links for sample code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a234d9b511d1950e0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashok reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 12:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/2610122#M598663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T12:44:49Z</dc:date>
    </item>
  </channel>
</rss>

