<?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: Hide the Execute Button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742554#M637327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ann: &lt;/P&gt;&lt;P&gt;It's late for my answer, but I send this post. May be useful.&lt;/P&gt;&lt;P&gt;I faced the same problem for other reasons. &lt;/P&gt;&lt;P&gt;I solved the problem by doing: &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;  DATA gt_ucomm TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND: 'ONLI' TO gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            p_status  = sy-pfkey&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            p_exclude = gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well if your selection screen is number 1000 (default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you define a selection selection screen with another number, like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 100.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;    p_examle like sy-datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you don't define a Status GUI for screen 100, then the solution does not work because sy-pfkey is not informed.&lt;/P&gt;&lt;P&gt;Then I solved by changing the call to the Function Module in this way: &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;  DATA gt_ucomm TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND: 'ONLI' TO gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            p_status  = '%_00'  "Status GUI for screen 1000&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            p_exclude = gt_ucomm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2008 09:02:28 GMT</pubDate>
    <dc:creator>jordi_escodaruiz</dc:creator>
    <dc:date>2008-01-09T09:02:28Z</dc:date>
    <item>
      <title>Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742550#M637323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im writing a report for reading details from a barcode reader.&lt;/P&gt;&lt;P&gt;My requirement is in At seletion screen I do the necessary processing and want to hide the execute button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could any one help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;ann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 03:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742550#M637323</guid>
      <dc:creator>ann_fernando</dc:creator>
      <dc:date>2007-08-31T03:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742551#M637324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new GUI Status for your program.. put whatever button you require for it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AT SELECTION-SCREEN OUTPUT event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET pf-status xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Vikas Bittera.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Reward if useful&lt;/STRONG&gt;**&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 03:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742551#M637324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T03:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742552#M637325</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;first execute ur program and goto selection screen.select in the menu as system-&amp;gt;status.&lt;/P&gt;&lt;P&gt;one window will appear in that in SAP DATA block GUI STATUS field will be there double click on the value(menu name) it will take u to menu painter(say menu name is ABC).expand application toolbar see the function code for the execute button(say it is %ONLI)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now come back to ur program and write like below.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'ABC' EXCLUDING '%ONLI'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 03:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742552#M637325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T03:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742553#M637326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ann,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module 'RS_SET_SELSCREEN_STATUS' will hide the Execute button.&lt;/P&gt;&lt;P&gt;Function Code for Execute button is 'ONLI'.I am sending you a test program.&lt;/P&gt;&lt;P&gt;pls try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;PARAMETERS test(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  APPEND  'ONLI' TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            p_status  = sy-pfkey&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            p_exclude = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Naveen Rana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 06:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742553#M637326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T06:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742554#M637327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ann: &lt;/P&gt;&lt;P&gt;It's late for my answer, but I send this post. May be useful.&lt;/P&gt;&lt;P&gt;I faced the same problem for other reasons. &lt;/P&gt;&lt;P&gt;I solved the problem by doing: &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;  DATA gt_ucomm TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND: 'ONLI' TO gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            p_status  = sy-pfkey&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            p_exclude = gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well if your selection screen is number 1000 (default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you define a selection selection screen with another number, like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 100.&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;    p_examle like sy-datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you don't define a Status GUI for screen 100, then the solution does not work because sy-pfkey is not informed.&lt;/P&gt;&lt;P&gt;Then I solved by changing the call to the Function Module in this way: &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;  DATA gt_ucomm TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND: 'ONLI' TO gt_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            p_status  = '%_00'  "Status GUI for screen 1000&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            p_exclude = gt_ucomm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 09:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742554#M637327</guid>
      <dc:creator>jordi_escodaruiz</dc:creator>
      <dc:date>2008-01-09T09:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the Execute Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742555#M637328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 15:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-the-execute-button/m-p/2742555#M637328</guid>
      <dc:creator>former_member215260</dc:creator>
      <dc:date>2014-07-11T15:23:39Z</dc:date>
    </item>
  </channel>
</rss>

