<?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/1178402#M124980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS f1 for ... MODIF-ID m1
SELECT-OPTIONS f2 for ... MODIF-ID m1
SELECT-OPTIONS f3 for ... MODIF-ID m2
IF sy-uname = 'USER1'.
 LOOP AT screen.
   IF screen-group1 = 'M1'.
       screen-active  = 0.
   ENDIF.
  MODIFY SCREEN.
 ENDLOOP.
ELSE.
 LOOP AT screen.
   IF screen-group1 = 'M2'.
       screen-active  = 0.
   ENDIF.
  MODIFY SCREEN.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2006 04:30:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-30T04:30:45Z</dc:date>
    <item>
      <title>Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178401#M124979</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;   I want to create three select option fields like F1,F2,F3.But I want to display F1 and F2 for S1 user and &lt;/P&gt;&lt;P&gt;F3 for S2 user.&lt;/P&gt;&lt;P&gt;Please give reply urgently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2006 04:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178401#M124979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-30T04:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178402#M124980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS f1 for ... MODIF-ID m1
SELECT-OPTIONS f2 for ... MODIF-ID m1
SELECT-OPTIONS f3 for ... MODIF-ID m2
IF sy-uname = 'USER1'.
 LOOP AT screen.
   IF screen-group1 = 'M1'.
       screen-active  = 0.
   ENDIF.
  MODIFY SCREEN.
 ENDLOOP.
ELSE.
 LOOP AT screen.
   IF screen-group1 = 'M2'.
       screen-active  = 0.
   ENDIF.
  MODIFY SCREEN.
 ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2006 04:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178402#M124980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-30T04:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178403#M124981</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;I would just like to add two thing to solution provided by Wenceslaus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The code to loop through screen table to modify fields is to be written in the event At Selection Screen Output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You may not like to hard code the username in your program in that case you should use autority objects to achieve the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sumeet Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2006 05:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/1178403#M124981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-30T05:04:03Z</dc:date>
    </item>
  </channel>
</rss>

