<?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: Select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111603#M441426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your selection screen definition here. I think you are writing the parameter text using SELECTION-SCREEN COMMENT. You should add the addition MODIF ID to it as well as the parameter that goes with it. See below.&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-037.
PARAMETERS: p_rad1 RADIOBUTTON GROUP rd1 DEFAULT 'X' USER-COMMAND rad,
            p_rad2 RADIOBUTTON GROUP rd1.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) v_text1 MODIF ID rd1.
PARAMETER: p_param1 LIKE vbak-vbeln MODIF ID rd1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) v_text2 MODIF ID rd2.
PARAMETER: p_param2 LIKE ekko-ebeln MODIF ID rd2.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b1.

INITIALIZATION.
  v_text1 = 'Select Using Sales Order'.
  v_text2 = 'Select Using PO'.

AT SELECTION-SCREEN OUTPUT.

  IF p_rad1 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'RD2'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF p_rad2 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'RD1'.
      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>Mon, 09 Apr 2007 22:50:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-09T22:50:12Z</dc:date>
    <item>
      <title>Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111600#M441423</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;   In reports i defined a selection screen.in that based on particular radiobutton i need to display particular fields. all the other fields is not displayed on screen.i did taht by using loop at screen.but here my problem is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i select r1 then i need to display parameter1 as input field.&lt;/P&gt;&lt;P&gt;when i select r2 i need to display parameter2 as input field. here the parameter1 box is not displaying but also i want to delete the text symbol of the parameter1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one send ur valuable suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 20:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111600#M441423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T20:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111601#M441424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this example.  Notice that the P_RAD1 parameter has a USER-COMMAND, this will fire a round trip when the user clicks the radibuttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT zrich_001.

PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
                        user-command chk,
            p_rad2 RADIOBUTTON GROUP grp1.
SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
                s_datum2 FOR sy-datum MODIF ID d2.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_rad1 = 'X'
      AND screen-group1 = 'D2'.
      screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
     AND screen-group1 = 'D1'.
      screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 22:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111601#M441424</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-09T22:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111602#M441425</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; But if you don't want to see the text symbol, then my question is for first time when somebody excutes this program he will see two radibuttons with one radiobutton having a parameter which is input enabled  and other radiobutton just there with nothing( user will not see anything but just the radiobutton).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just wondering whether removing the text symbol is really a good approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Babu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 22:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111602#M441425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T22:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111603#M441426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your selection screen definition here. I think you are writing the parameter text using SELECTION-SCREEN COMMENT. You should add the addition MODIF ID to it as well as the parameter that goes with it. See below.&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-037.
PARAMETERS: p_rad1 RADIOBUTTON GROUP rd1 DEFAULT 'X' USER-COMMAND rad,
            p_rad2 RADIOBUTTON GROUP rd1.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) v_text1 MODIF ID rd1.
PARAMETER: p_param1 LIKE vbak-vbeln MODIF ID rd1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) v_text2 MODIF ID rd2.
PARAMETER: p_param2 LIKE ekko-ebeln MODIF ID rd2.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b1.

INITIALIZATION.
  v_text1 = 'Select Using Sales Order'.
  v_text2 = 'Select Using PO'.

AT SELECTION-SCREEN OUTPUT.

  IF p_rad1 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'RD2'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF p_rad2 = 'X'.
    LOOP AT SCREEN.
      CHECK screen-group1 = 'RD1'.
      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>Mon, 09 Apr 2007 22:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111603#M441426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T22:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111604#M441427</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; Richi, babu and srinivas thanks for ur quick reply.it's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 09:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2111604#M441427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T09:41:26Z</dc:date>
    </item>
  </channel>
</rss>

