<?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 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/1963758#M395997</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 4.6c, In my Selection-Screen, I have two fields(Select-Options) for Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_SELOPT1 &lt;/P&gt;&lt;P&gt;S_SELOPT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some value is entered in my first select option i.e S_SELOPT1, then the second select option i.e S_SELOPT2 should be disabled. Can someone help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 12:35:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T12:35:57Z</dc:date>
    <item>
      <title>LOOP AT SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963758#M395997</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 4.6c, In my Selection-Screen, I have two fields(Select-Options) for Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_SELOPT1 &lt;/P&gt;&lt;P&gt;S_SELOPT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some value is entered in my first select option i.e S_SELOPT1, then the second select option i.e S_SELOPT2 should be disabled. Can someone help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963758#M395997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:35:57Z</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/1963759#M395998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In declaration give one group ID for  one block and anothe group ID for second block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can get this using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUPUT event.&lt;/P&gt;&lt;P&gt;after this,&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP = ' '.&lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963759#M395998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:39: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/1963760#M395999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the code in &lt;/P&gt;&lt;P&gt;at selection-screen ouput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign two modif ids for the two sel options and proceed as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if not s1_opt1[] is initial,    
loop at screen.
if screen-group1 = 'ABC'.
screen-active = '0'.
modify screen .
endif.
endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************************&lt;/P&gt;&lt;P&gt;tables marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options :so_matnr for marc-matnr modif id abc,&lt;/P&gt;&lt;P&gt;                so_werks for marc-werks modif id def.&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;                if not so_matnr[] is initial.&lt;/P&gt;&lt;P&gt;                loop at screen .&lt;/P&gt;&lt;P&gt;                if screen-group1 = 'DEF'.&lt;/P&gt;&lt;P&gt;                screen-active = '0'.&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;                endif.&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;for disabling put screen-input = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963760#M395999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:40: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/1963761#M396000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT YCHATEST.

TABLES : MARA.

SELECT-OPTIONS : S_MATNR FOR MARA-MATNR,
                 S_MATNR1 FOR MARA-MATNR.

AT SELECTION-SCREEN OUTPUT.

  IF NOT S_MATNR[] IS INITIAL.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'S_MATNR1-LOW' OR
         SCREEN-NAME = 'S_MATNR1-HIGH'.
        SCREEN-INPUT = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963761#M396000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:41:18Z</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/1963762#M396001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REPORT zex25 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_seopt1 FOR vbak-vbeln MODIF ID md1,&lt;/P&gt;&lt;P&gt;                 s_seopt2 FOR vbak-netwr MODIF ID md2.&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 NOT s_seopt1[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'MD2'.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        CONTINUE.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;START-OF-SELECTION.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/1963762#M396001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:58:23Z</dc:date>
    </item>
  </channel>
</rss>

