<?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/3866423#M929231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no other way making fields invisible with out loop.&lt;/P&gt;&lt;P&gt;Coming to performace, it won't take that much time because, consider you have 5 select options. then loop will excute 15 times ((fieldname, low and high)*3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 10:22:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T10:22:01Z</dc:date>
    <item>
      <title>Loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866422#M929230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In My screen there are five fields..I am using loop at screen concept while i need to make disable a particular field based on some conditions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other method is there to make a field invisible,disable with out using the loop at screen and endloop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;becoz its taking time,performance hit is coming..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:14:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866422#M929230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:14:28Z</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/3866423#M929231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no other way making fields invisible with out loop.&lt;/P&gt;&lt;P&gt;Coming to performace, it won't take that much time because, consider you have 5 select options. then loop will excute 15 times ((fieldname, low and high)*3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866423#M929231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:22:01Z</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/3866424#M929232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you sure loop at screen is taking time? i dont think that shud cause any problem!!can u paste ur code here??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did u try checking ur program through se30 and st05?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866424#M929232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:30:29Z</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/3866425#M929233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no chance of error in at sele output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;send that code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866425#M929233</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-05-19T10:33:53Z</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/3866426#M929234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at screen should not be time consuming...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your code where you are validating the selections . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send us your code, We can help you further .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sugopa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866426#M929234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:43:02Z</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/3866427#M929235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try assigning the selection screens in groups .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below code this may help you.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM modify_screen  USING    in_group1
                             in_active
                             in_invisible
                    CHANGING io_screen.
  IF screen-group1 EQ in_group1.
    screen-active = in_active.
    screen-invisible = in_invisible.
    MODIFY SCREEN.
  ENDIF.

ENDFORM.  
LOOP AT SCREEN.
    IF g_movement EQ c_unun OR g_movement EQ c_qiqi.
      PERFORM modify_screen USING 'MA1' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'MA2' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA1' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA2' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA4' '0' '1'
                            CHANGING screen.
    ENDIF.

    IF g_movement EQ c_unqi OR g_movement EQ c_qiun.

      PERFORM modify_screen USING 'MA1' '1' '0'
                            CHANGING screen.

      PERFORM modify_screen USING 'MA2' '0' '1'
                            CHANGING screen.

      PERFORM modify_screen USING 'QA1' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA2' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA4' '0' '1'
                            CHANGING screen.
    ENDIF.

    IF g_movement EQ c_unbl OR g_movement EQ c_qibl.
      PERFORM modify_screen USING 'MA1' '1' '0'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA2' '1' '0'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA0' '1' '0'            
                            CHANGING screen.
      PERFORM modify_screen USING 'MA2' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA1' '0' '1'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA4' '0' '1'
                            CHANGING screen.

    ENDIF.

    IF g_movement EQ c_blun OR g_movement EQ c_blqi.

      PERFORM modify_screen USING 'QA1' '1' '0'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA2' '1' '0'
                            CHANGING screen.
      PERFORM modify_screen USING 'QA0' '0' '1'    
                            CHANGING screen.
      PERFORM modify_screen USING 'QA4' '0' '1'
                            CHANGING screen.
    ENDIF.
      PERFORM modify_screen USING 'QA0' '0' '1'
                            CHANGING screen.
      IF v_im_wm = '2' OR v_third_party = '2'.
        PERFORM modify_screen USING 'CHK' '0' '1'
                              CHANGING screen.
      ENDIF.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866427#M929235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:43:55Z</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/3866428#M929236</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;There is no other way to enable and disable the selection screen fields based on the condition, we have to use loop at screen method only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 10:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3866428#M929236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T10:49:35Z</dc:date>
    </item>
  </channel>
</rss>

