<?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: diable push buttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371995#M182967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Lana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare a variable flag of type i in the main program.&lt;/P&gt;&lt;P&gt;If you are making use of pushbutton in a screen then, assign pushbutton to any group say,GR1 (this you can do in the layout editor of the screen) .Make flag = 1, when your condition to make the pushbutton invisible is met .Finally include this code in  any module of the PBO event of the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'GR1' and flag = 1.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;screen-invisibility = 1.&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;Regards,&lt;/P&gt;&lt;P&gt;Kunal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kunal Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 May 2006 01:28:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-08T01:28:33Z</dc:date>
    <item>
      <title>diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371991#M182963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to disable/make invisible the push buttons? &lt;/P&gt;&lt;P&gt;Like if certain conditions are met, it will be disabled/invisible. Note it is visible by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 01:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371991#M182963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T01:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371992#M182964</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; Where is the Push button on a tool bar or on a Screen?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Am assuming its a tool bar.&lt;/P&gt;&lt;P&gt; Capture the function code or the ok code of the buttons u want to disable and populate a itab and use the EXCLUDING option of the PF- STAUS or menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 01:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371992#M182964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T01:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371993#M182965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on the screen..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 01:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371993#M182965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T01:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371994#M182966</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 will have to write additional code in the PBO event to disable the screen elements.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; You will need to use LOOP at SCREEN and disable the button based on ur specific condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 01:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371994#M182966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T01:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371995#M182967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Lana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Declare a variable flag of type i in the main program.&lt;/P&gt;&lt;P&gt;If you are making use of pushbutton in a screen then, assign pushbutton to any group say,GR1 (this you can do in the layout editor of the screen) .Make flag = 1, when your condition to make the pushbutton invisible is met .Finally include this code in  any module of the PBO event of the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'GR1' and flag = 1.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;screen-invisibility = 1.&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;Regards,&lt;/P&gt;&lt;P&gt;Kunal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Kunal Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 01:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371995#M182967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T01:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: diable push buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371996#M182968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u r building that push button using selection screen, then using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if (certain conditions met).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if screen-name = (pushbutton name).&lt;/P&gt;&lt;P&gt;  screen-active = 0.&lt;/P&gt;&lt;P&gt;  screen-invisible = 1.&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;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;2. if u r getting the push buttin using PF STATUS, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if conditions are met &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS EXCLUDING (PUShbutton)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 02:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diable-push-buttons/m-p/1371996#M182968</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-08T02:52:12Z</dc:date>
    </item>
  </channel>
</rss>

