<?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 switch button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-button/m-p/4988688#M1162173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a screen 100 with some fields and a tabview control. and i am using a switch buttonin toolbar( icon- pencil and specs together)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my issues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; 1--when i click on it ,it should work as a toggle between the change and display mode for the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 -- also when it is in display mode it should make the tabview also in display mode which dose not  &lt;/P&gt;&lt;P&gt;      happen when when we do loop screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me how to get this toggel switch functionality.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2009 16:52:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-14T16:52:59Z</dc:date>
    <item>
      <title>switch button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-button/m-p/4988688#M1162173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a screen 100 with some fields and a tabview control. and i am using a switch buttonin toolbar( icon- pencil and specs together)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my issues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; 1--when i click on it ,it should work as a toggle between the change and display mode for the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 -- also when it is in display mode it should make the tabview also in display mode which dose not  &lt;/P&gt;&lt;P&gt;      happen when when we do loop screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me how to get this toggel switch functionality.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 16:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-button/m-p/4988688#M1162173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T16:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: switch button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/switch-button/m-p/4988689#M1162174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;General practice would be to use a field (MODE_SW) to indicate if you are in Display or Change mode.&lt;/P&gt;&lt;P&gt;Based on that, when you push the button and react to it in the USER_COMMAND module, you change the mode appropiately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the PBO routine, based on the MODE_SW, LOOP AT SCREEN and set the INPUT values to 1 if in Change, and 0 if in Display for all the fields that are by default allowed for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Paul Chapman on Jan 14, 2009 12:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 17:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/switch-button/m-p/4988689#M1162174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T17:15:22Z</dc:date>
    </item>
  </channel>
</rss>

