<?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 selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582897#M1081104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my selection screen i have like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:P_EBELN type EBELN,&lt;/P&gt;&lt;P&gt;                  P_EBELP type EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my requirement is, when i selected first select option(P_EBELN) the second select option(P_EBELP) should be invisible and vise versa. i don't have selection screen block. i can i do it. tell me with example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 14:22:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-08T14:22:56Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582897#M1081104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my selection screen i have like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters:P_EBELN type EBELN,&lt;/P&gt;&lt;P&gt;                  P_EBELP type EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now my requirement is, when i selected first select option(P_EBELN) the second select option(P_EBELP) should be invisible and vise versa. i don't have selection screen block. i can i do it. tell me with example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 14:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582897#M1081104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T14:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582898#M1081105</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 could try something like this.  By blanking out the visible parameter, the invisible one will reappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ztestjrg.

PARAMETERS: p_ebeln TYPE ebeln MODIF ID p1,
            p_ebelp TYPE ebelp MODIF ID p2.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN 'P1'.
        IF p_ebelp IS NOT INITIAL AND p_ebeln IS INITIAL.
          screen-active = 0.
        ELSE.
          screen-active = 1.
        ENDIF.
        MODIFY SCREEN.
      WHEN 'P2'.
        IF p_ebeln IS NOT INITIAL AND p_ebelp IS INITIAL.
          screen-active = 0.
        ELSE.
          screen-active = 1.
        ENDIF.
        MODIFY SCREEN.
    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;Jamie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: James Gaddis on Oct 8, 2008 10:41 AM  -- added code to prevent BOTH parameters from being invisible in case both have values entered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 14:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582898#M1081105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T14:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582899#M1081106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is similar to James' but demonstrates how you can control via radio button (or checkbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZTEST                                                    .

parameters: p_chk_aa radiobutton group g1 default 'X' user-command dum,
            p_ebeln type ebeln modif id aa,
            p_chk_bb radiobutton group g1,
            p_ebelp type ebelp modif id bb.

****************
at selection-screen output.

  perform screen_adjust.

****************
form screen_adjust.

  loop at screen.
    case screen-group1.
    when 'AA'.
      if p_chk_aa is initial.
        screen-active = 0.
      else.
        screen-active = 1.
      endif.
      modify screen.

    when 'BB'.
      if p_chk_bb is initial.
        screen-active = 0.
      else.
        screen-active = 1.
      endif.
      modify screen.
    endcase.
  endloop.

endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 15:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4582899#M1081106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-08T15:02:49Z</dc:date>
    </item>
  </channel>
</rss>

