<?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: Remove save button code not working? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005169#M1344934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot guys for writing back. I will try that soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2009 19:46:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-03T19:46:10Z</dc:date>
    <item>
      <title>Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005164#M1344929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to remove save button but it isn't working at all. Actually i am using the same screen for two or more purposes and for one purpose i need the save button code which i can let it work easily but i tried to code to remove the save button so i can use it my other purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my top module data code for save button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF WA_PF_STATUS,&lt;/P&gt;&lt;P&gt;      FCODE LIKE RSMPE-FUNC, &lt;/P&gt;&lt;P&gt;      END OF WA_PF_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IST_PF_STATUS LIKE STANDARD TABLE OF WA_PF_STATUS WITH&lt;/P&gt;&lt;P&gt;       NON-UNIQUE DEFAULT KEY INITIAL SIZE 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code in one of the case so as to remove it to perform some task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH IST_PF_STATUS.&lt;/P&gt;&lt;P&gt;MOVE 'SAVE' TO WA_PF_STATUS-FCODE.&lt;/P&gt;&lt;P&gt;APPEND WA_PF_STATUS TO IST_PF_STATUS,&lt;/P&gt;&lt;P&gt;SET PF_STATUS 'S200' EXCLUDING IST_PF_STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;S200 IS THE PF STATUS OF THE SCREEN ON WHICH I WANT TO REMOVE THE CODE FOR SAVE BUTTON.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANY IDEA WHY ISN'T IT IS WORKING?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS FOR WRITING BACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;LUCKY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005164#M1344929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T19:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005165#M1344930</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;Your code seems to be ok. Maybe you should try to use the exact same data types from SAP help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA fcode TYPE TABLE OF sy-ucomm. 
... 
MODULE status_0100 OUTPUT. 
  APPEND 'CHANGE'  TO fcode. 
  APPEND 'SAVE' TO fcode. 
  SET PF-STATUS 'STATUS_0100' EXCLUDING fcode. 
ENDMODULE. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See they even made the example with SAVE. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides, make sure everything is activated (screen, pbo modules include, forms include), check that you are actually calling the correct subroutines and check that PF_STATUS instead of PF-STATUS you wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005165#M1344930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T19:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005166#M1344931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure you are setting your GUI status in PBO of screen.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"also delcare excluding table like
DATA ist_pf_status TYPE TABLE OF sy-ucomm.

MODULE status_0100 OUTPUT.
    REFRESH IST_PF_STATUS.
    APPEND 'SAVE' TO IST_PF_STATUS.
   SET PF_STATUS 'S200' EXCLUDING IST_PF_STATUS.. 
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005166#M1344931</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-08-03T19:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005167#M1344932</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;The code you have written is correct except for SET PF_STATUS change it to SET PF-STATUS. Make sure the pf-staus S200 is active. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005167#M1344932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T19:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005168#M1344933</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 cant remove the standard &lt;STRONG&gt;SAVE&lt;/STRONG&gt; button, but you can disable it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET PF-STATUS 'S200' EXCLUDING 'SAVE'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005168#M1344933</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-08-03T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005169#M1344934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot guys for writing back. I will try that soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 19:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005169#M1344934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove save button code not working?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005170#M1344935</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;u can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_EXCLUDE TYPE SLIS_T_EXTAB,&lt;/P&gt;&lt;P&gt;           WA_EXCLUDE LIKE LINE OF IT_EXCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_EXCLUDE-FCODE = 'SAVE'.&lt;/P&gt;&lt;P&gt;APPEND WA_EXCLUDE TO IT_EXCLUDE.&lt;/P&gt;&lt;P&gt;CLEAR WA_EXCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt; IT_EXCLUDING                      = IT_EXCLUDE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;shivraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ShivrajSinha on Aug 4, 2009 7:07 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 05:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-save-button-code-not-working/m-p/6005170#M1344935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T05:07:38Z</dc:date>
    </item>
  </channel>
</rss>

