<?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: Making buttons in application toolbar dynamic.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155761#M1194376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot to all who provided their valuable inputs. I love SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2009 14:54:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-30T14:54:03Z</dc:date>
    <item>
      <title>Making buttons in application toolbar dynamic....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155757#M1194372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a application tool bar with 8 icon buttons defined. Now I have a custom configuration table where I check what buttons in application toolbar should be seen so that user can select which button he wants to see and which not anytime he wishes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can  I make buttons in application toolbar dynamic ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 13:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155757#M1194372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T13:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Making buttons in application toolbar dynamic....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155758#M1194373</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 think you need to define diff PF status's depending on the conbination of entries in your custom table for 8 buttons and use the SET PF-STATUS &amp;lt;pfnn&amp;gt; by reading the entry from custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dwarakanath Sankarayogi on Jan 30, 2009 2:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 13:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155758#M1194373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Making buttons in application toolbar dynamic....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155759#M1194374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is sample logic, but you can adapt it to you needs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: excl_tab   TYPE sy-ucomm OCCURS 0 WITH HEADER LINE.

  AUTHORITY-CHECK OBJECT 'ZREO'  ID 'ACTVT' FIELD c_print.
  IF sy-subrc NE 0.
    APPEND 'PRIN' TO excl_tab.
  ENDIF.

  IF ok_0010 = 'DISP' OR ok_0010 = 'DELE'.
    APPEND 'SAVE' TO excl_tab.
  ENDIF.

  IF ok_0010 &amp;lt;&amp;gt; 'DELE'.
    APPEND 'DELE' TO excl_tab.
  ENDIF.

  SET PF-STATUS 'STAT_100' EXCLUDING excl_tab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 13:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155759#M1194374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T13:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Making buttons in application toolbar dynamic....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155760#M1194375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to activate all possible buttons, populate your excluding table with all of them removing those which are to be displayed. Then set GUI status with this exluding table. Similar logic to Paul''s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See some standard statuses like &lt;STRONG&gt;STANDARD_FULLSCREEN&lt;/STRONG&gt; in program &lt;STRONG&gt;SAPLSLVC_FULLSCREEN&lt;/STRONG&gt;. All the buttons are active there so you can copy it to your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 13:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155760#M1194375</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-01-30T13:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Making buttons in application toolbar dynamic....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155761#M1194376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot to all who provided their valuable inputs. I love SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-buttons-in-application-toolbar-dynamic/m-p/5155761#M1194376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T14:54:03Z</dc:date>
    </item>
  </channel>
</rss>

