<?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: selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3830447#M921061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a block is empty, i.e no fields active, it won't appear. So, do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - in all fields of block 1, insert MODIF ID bl1 &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_matnr TYPE matnr MODIF ID bl1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;, and the fields of block 2, insert MODIF ID bl2&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_kunag TYPE kunag MODIF ID bl1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - create event AT SELECTION-SCREEN OUTPUT, insert a statement like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  CASE screen-group1.
    WHEN 'BL1'.
      IF rb1 EQ 'X'.
        screen-active = '1'.
      ELSE.
        screen-active = '0'.
      ENDIF.
      MODIFY SCREEN.
    WHEN 'BL2'.
      IF rb2 EQ 'X'.
        screen-active = '1'.
      ELSE.
        screen-active = '0'.
      ENDIF.
      MODIFY SCREEN.
    WHEN OTHERS.
  ENDCASE.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2008 11:27:14 GMT</pubDate>
    <dc:creator>valter_oliveira</dc:creator>
    <dc:date>2008-05-24T11:27:14Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3830446#M921060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    My requriment is to change the selection screen depending on the selection of radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt; if i select rb1 i need to display BLOCK s1 WITH FRAME TITLE text-000.&lt;/P&gt;&lt;P&gt;if i select rb2 i need to dispaly BLOCK s2 WITH FRAME TITLE text-000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 10:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3830446#M921060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3830447#M921061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a block is empty, i.e no fields active, it won't appear. So, do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - in all fields of block 1, insert MODIF ID bl1 &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_matnr TYPE matnr MODIF ID bl1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;, and the fields of block 2, insert MODIF ID bl2&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_kunag TYPE kunag MODIF ID bl1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - create event AT SELECTION-SCREEN OUTPUT, insert a statement like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  CASE screen-group1.
    WHEN 'BL1'.
      IF rb1 EQ 'X'.
        screen-active = '1'.
      ELSE.
        screen-active = '0'.
      ENDIF.
      MODIFY SCREEN.
    WHEN 'BL2'.
      IF rb2 EQ 'X'.
        screen-active = '1'.
      ELSE.
        screen-active = '0'.
      ENDIF.
      MODIFY SCREEN.
    WHEN OTHERS.
  ENDCASE.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 11:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3830447#M921061</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-05-24T11:27:14Z</dc:date>
    </item>
  </channel>
</rss>

