<?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: Toggling selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722226#M631562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The purpose of user-command in a radiobutton is just to raise the event AT SELECTION-SCREEN OUTPUT. It is similar to triggering PROCESS BEFORE OUTPUT in dialog module programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more than one radiobutton groups defined in your screen, then you can use those user-commands for some specific processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2007 21:34:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-22T21:34:18Z</dc:date>
    <item>
      <title>Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722215#M631551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a toggling screen or perhaps tabbed not sure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One screen should contain matnr, plant, sold to party, inspection characteristics, result range &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other screen should contain delivery, sales order, inspection characteristics, result range. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one screen values should be filled and not both. Also in the second screen either sales order should be filled or delivery note and not both. Any ideas. Not sure if I want a tabbed screen or perhaps a button that toggles the screen and changes the input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722215#M631551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722216#M631552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code might help you -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  Z_DUMMY_ATG_3.

type-pools: icon.

data: switch.

selection-screen begin of block b2 with frame title text-001.
parameters: radio radiobutton group rnd user-command test default 'X',
            radio2 radiobutton group rnd.
selection-screen end of block b2.

selection-screen begin of block b1 with frame title text-001.
parameters:
           test type bkpf-belnr modif id sc1.
selection-screen end of block b1.

selection-screen begin of block b3 with frame title text-001.
parameters:
           test1 type bkpf-belnr modif id sc2.
selection-screen end of block b3.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'SC1' AND RADIO EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ELSEIF SCREEN-GROUP1 = 'SC2' AND RADIO2 EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ENDIF.
ENDLOOP.

start-of-selection.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't remember if it's mine or from Rich Heilman... -:(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722216#M631552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722217#M631553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 24 LINES.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN TAB (15) tabs1 USER-COMMAND ucomm1&lt;/P&gt;&lt;P&gt;                       DEFAULT SCREEN 100.&lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN TAB (15) tabs2 USER-COMMAND ucomm2&lt;/P&gt;&lt;P&gt;                       DEFAULT SCREEN 200.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK tabb1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  tabs1 = TEXT-001.&lt;/P&gt;&lt;P&gt;  tabs2 = TEXT-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;     CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;       WHEN 'UCOMM1'.&lt;/P&gt;&lt;P&gt;         tabb1-prog      = 'ZCHECKS_RR'.&lt;/P&gt;&lt;P&gt;         tabb1-dynnr     = 100.&lt;/P&gt;&lt;P&gt;         tabb1-activetab = 'TABS1'.&lt;/P&gt;&lt;P&gt;       WHEN 'UCOMM1'.&lt;/P&gt;&lt;P&gt;         tabb1-prog      = 'ZCHECKS_RR'.&lt;/P&gt;&lt;P&gt;         tabb1-dynnr     = 200.&lt;/P&gt;&lt;P&gt;         tabb1-activetab = 'TABS2'.&lt;/P&gt;&lt;P&gt;     ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722217#M631553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722218#M631554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the example one :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selection Screen                                                     *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_werks LIKE marc-werks DEFAULT '1000' OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_stlal FOR mast-stlal .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_stlan FOR mast-stlan DEFAULT '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_bomlst RADIOBUTTON GROUP g1 DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_matnr FOR mast-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_compon RADIOBUTTON GROUP g1.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_idnrk FOR stpo-idnrk.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b03 with frame title text-b03.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(40) text-005.&lt;/P&gt;&lt;P&gt;parameters: p_all radiobutton group r1 default 'X'.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 1(40) text-006.&lt;/P&gt;&lt;P&gt;parameters: p_one radiobutton group r1 .&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen end of block b03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use Screen internal table to get your functionality.&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;loop at screen.&lt;/P&gt;&lt;P&gt;write your logic.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722218#M631554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722219#M631555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alavaro &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your solution and would like to implement it. But I do not quite follow what you are doing here. Can you explain to me what you are doing in loop at screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722219#M631555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722220#M631556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
selection-screen begin of block b1 with frame title text-001.
parameters:
           test type bkpf-belnr modif id sc1.
selection-screen end of block b1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This selection-screen is defined as &amp;lt;b&amp;gt;sc1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the LOOP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'SC1' AND RADIO EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ELSEIF SCREEN-GROUP1 = 'SC2' AND RADIO2 EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    CONTINUE.
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SCREEN-GROUP is &amp;lt;b&amp;gt;sc1&amp;lt;/b&amp;gt;, the we make the whole Selection-Screen invisible and the selection screen &amp;lt;b&amp;gt;sc2&amp;lt;/b&amp;gt; visible -:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way, depending on the selected radiobutton, we show selection screen sc1 or sc2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722220#M631556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722221#M631557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;P&gt;What is the user-command for? I dont see a definition of test in the program. But if I remove it, then the toggle does not work. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block b2 with frame title text-001.
parameters: radio1 radiobutton group rnd USER-COMMAND test default 'X',
            radio2 radiobutton group rnd.
selection-screen end of block b2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if screen-group = SC2 and radio2 is X, then sc1 will be displayed? Am i understanding this correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722221#M631557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722222#M631558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Megan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZJOINS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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;         ekpo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         t685b,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         t000md.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Parameter und Select-Options&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block po_document with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_ebeln for ekko-ebeln matchcode object mekk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_lifnr for ekko-lifnr matchcode object kred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_ekorg for ekko-ekorg memory id eko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_ekgrp for ekko-ekgrp memory id ekg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_bsart for ekko-bsart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            s_bedat for ekko-bedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block po_document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block release with frame title text-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters :    p_werks like ekpo-werks modif id rel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_berid for ekpo-berid  modif id ber,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                s_dispo for marc-dispo  modif id rel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters :    p_abart like ekek-abart modif id rel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                p_reduc type me_reduc   modif id rel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                p_norel type me_norel   modif id rel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block message with frame title text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters :     p_kappl like t681a-kappl modif id apl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:  s_kschl for t685b-kschl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:      p_vsztp like nast-vsztp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 p_vstat like nast-vstat default '0',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 p_erdat like nast-erdat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 p_eruhr like nast-eruhr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block message.&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;  select single * from t000md.         " WHERE DISFG EQ 'X'.&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;    case screen-group1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      when 'REL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if p_kappl ne 'EL' and p_kappl eq space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          screen-input = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          screen-required = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          if screen-name eq 'P_WERKS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          screen-required = '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;      when 'BER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        if t000md-disfg is initial or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           ( p_kappl ne 'EL' and p_kappl ne space ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          screen-active    = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          screen-invisible = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please enter EL value in p_kappl and hit enter and see the diffrence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722222#M631558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722223#M631559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &amp;lt;b&amp;gt;User-command&amp;lt;/b&amp;gt; is used to assign an event to the radio buttons...So, when you press any of them, you can perform an action...In the AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&lt;/P&gt;&lt;P&gt;so if screen-group = SC2 and radio2 is X, then sc1 will be displayed? Am i understanding this correctly. &lt;/P&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exactly -:) Your right -;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 20:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722223#M631559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T20:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722224#M631560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But you are not using user-command test?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 21:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722224#M631560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T21:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722225#M631561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course I'm using it -;) at&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN OUTPUT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have only one user-command, so we don't need to pass it's name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 21:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722225#M631561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T21:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722226#M631562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The purpose of user-command in a radiobutton is just to raise the event AT SELECTION-SCREEN OUTPUT. It is similar to triggering PROCESS BEFORE OUTPUT in dialog module programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more than one radiobutton groups defined in your screen, then you can use those user-commands for some specific processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 21:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722226#M631562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T21:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722227#M631563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my START-OF-SELECTION event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how will I use my parameters. do I need to check if there are initial or not? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do something like screen-group1 = 'SC1' then use parameters test&lt;/P&gt;&lt;P&gt;elseif screen-group2 = 'SC2' then use parameters test1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i break my logic so I dont have to check each time if the parameter is blank or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 22:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722227#M631563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T22:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722228#M631564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, in your start of selection, you have to check each individual parameter if they are initial or not. Screen-group1 is useful only in the context of AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 22:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722228#M631564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T22:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722229#M631565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your current selection screen definition to refer to it in our discussions. In AT SELECTION-SCREEN OUTPUT, when radiobutton one is 'X', you can disable all the parameters that have SC2 in their SCREEN-GROUP1 field and if radiobutton 2 is selected (= 'X'), then you can make all the parameters with SCREEN-GROUP1 = 'SC1' disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 22:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722229#M631565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T22:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722230#M631566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can do something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: P_SEL TYPE C.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
  IF SCREEN-GROUP1 = 'SC1' AND RADIO EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    P_SEL = 2.
    CONTINUE.
  ELSEIF SCREEN-GROUP1 = 'SC2' AND RADIO2 EQ 'X'.
    SCREEN-ACTIVE = '0'.
    MODIFY SCREEN.
    P_SEL = 1.
    CONTINUE.
  ENDIF.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you can just read the value of P_SEL, if it's 2, then you know that you are using parameters from SELECTION-SCREEN SC2, if it's 1 then you use the parameters from SELECTION-SCREEN SC1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 22:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722230#M631566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T22:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Toggling selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722231#M631567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to give you an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  zakstest1 NO STANDARD PAGE HEADING.

TABLES: vbak.

SELECTION-SCREEN BEGIN OF BLOCK buttons WITH FRAME TITLE v_box1.
PARAMETERS: p_rad1 RADIOBUTTON GROUP rad DEFAULT 'X' USER-COMMAND usr,
            p_rad2 RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF BLOCK buttons.

SELECTION-SCREEN BEGIN OF BLOCK screen1 WITH FRAME TITLE v_box2.
PARAMETERS: p_matnr LIKE mara-matnr MODIF ID sc1,
            p_werks LIKE marc-werks MODIF ID sc1.
SELECT-OPTIONS: s_kunnr FOR vbak-kunnr MODIF ID sc1.
SELECTION-SCREEN END OF BLOCK screen1.

SELECTION-SCREEN BEGIN OF BLOCK screen2 WITH FRAME TITLE v_box3.
PARAMETERS: p_slsord LIKE vbak-vbeln MODIF ID sc2,
            p_delvry LIKE likp-vbeln MODIF ID sc2.
SELECTION-SCREEN END OF BLOCK screen2.

INITIALIZATION.
  v_box1 = 'Select One'.
  v_box2 = 'Screen1'.
  v_box3 = 'Screen2'.

AT SELECTION-SCREEN OUTPUT.

  IF p_rad1 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'SC2'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF p_rad2 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'SC1'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 22:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/toggling-selection-screen/m-p/2722231#M631567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T22:34:40Z</dc:date>
    </item>
  </channel>
</rss>

