<?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/3243105#M774040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tables:t001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS bukrs for t001-bukrs MODIF ID C2.&lt;/P&gt;&lt;P&gt;PARAMETERS: country type char10 MODIF ID c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if bukrs is NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP at SCREEN.&lt;/P&gt;&lt;P&gt;      if screen-group1 = 'C1'.&lt;/P&gt;&lt;P&gt;        screen-input = 0.&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;     ENDLOOP.&lt;/P&gt;&lt;P&gt;    ELSEIF country is NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    if screen-group1 = 'C2'.&lt;/P&gt;&lt;P&gt;         screen-input = 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;Edited by: abapuser on Jan 3, 2008 7:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2008 06:41:18 GMT</pubDate>
    <dc:creator>former_member188827</dc:creator>
    <dc:date>2008-01-03T06:41:18Z</dc:date>
    <item>
      <title>select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243102#M774037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all, could u pls help me on my thread. i have two fields in myselection screen.&lt;/P&gt;&lt;P&gt;like company code this is a select-options field,and one is parameter field is country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user select company code i need to disable the parameter field.&lt;/P&gt;&lt;P&gt;else vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means not to allow the user to give both values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible send me the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243102#M774037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T06:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243103#M774038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nrayana rao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look on this logic.It will help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it using Selection screen then it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that you have to use AT SELECTION-SCREEN output. event..&lt;/P&gt;&lt;P&gt;See the below code and use it according to your requirement.&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: pa0000, pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;p_rad2 radiobutton group rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk1 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_pernr for pa0000-pernr modif id ABC.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk2 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_stat2 for pa0000-stat2 modif id DEF.&lt;/P&gt;&lt;P&gt;select-options: s_werks for pa0001-werks modif id DEF.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk2.&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;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = 'ABC'.&lt;/P&gt;&lt;P&gt;IF p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = 'DEF'.&lt;/P&gt;&lt;P&gt;IF p_rad2 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;swaroop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243103#M774038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T06:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243104#M774039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT demo_sel_screen_param_modif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: test1(10) TYPE c MODIF ID sc1,&lt;/P&gt;&lt;P&gt;            test2(10) TYPE c MODIF ID sc2,&lt;/P&gt;&lt;P&gt;            test3(10) TYPE c MODIF ID sc1,&lt;/P&gt;&lt;P&gt;            test4(10) TYPE c MODIF ID sc2.&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;    IF screen-group1 = 'SC1'.&lt;/P&gt;&lt;P&gt;      screen-intensified = '1'.&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;    IF screen-group1 = 'SC2'.&lt;/P&gt;&lt;P&gt;      screen-intensified = '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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243104#M774039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243105#M774040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tables:t001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS bukrs for t001-bukrs MODIF ID C2.&lt;/P&gt;&lt;P&gt;PARAMETERS: country type char10 MODIF ID c1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  if bukrs is NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP at SCREEN.&lt;/P&gt;&lt;P&gt;      if screen-group1 = 'C1'.&lt;/P&gt;&lt;P&gt;        screen-input = 0.&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;     ENDLOOP.&lt;/P&gt;&lt;P&gt;    ELSEIF country is NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    if screen-group1 = 'C2'.&lt;/P&gt;&lt;P&gt;         screen-input = 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;Edited by: abapuser on Jan 3, 2008 7:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243105#M774040</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-01-03T06:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243106#M774041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this can be done through dialouge programming in se80. U have the functions ENABLE and DISABLE so u can use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:42:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/3243106#M774041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T06:42:58Z</dc:date>
    </item>
  </channel>
</rss>

