<?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: Add &amp; Remove some button in standard alv grid using OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519550#M570179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Verify BCALV_GRID_VERIFY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;methods handle_toolbar_set&lt;/P&gt;&lt;P&gt;      for event toolbar of cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;      importing e_object e_interactive.&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;  method handle_toolbar_set.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  handle toolbar&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  create own Menubuttons and ToolbarButtons&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if e_interactive is initial.&lt;/P&gt;&lt;P&gt;      clear gs_toolbar.&lt;/P&gt;&lt;P&gt;      move 'DELE' to gs_toolbar-function.&lt;/P&gt;&lt;P&gt;      move icon_delete to gs_toolbar-icon.&lt;/P&gt;&lt;P&gt;      move 'Mein Löschen'(111) to gs_toolbar-quickinfo.&lt;/P&gt;&lt;P&gt;      move ' ' to gs_toolbar-disabled.&lt;/P&gt;&lt;P&gt;      append gs_toolbar to e_object-&amp;gt;mt_toolbar.&lt;/P&gt;&lt;P&gt;      clear gs_toolbar.&lt;/P&gt;&lt;P&gt;      move 'REFR' to gs_toolbar-function.&lt;/P&gt;&lt;P&gt;      move icon_refresh to gs_toolbar-icon.&lt;/P&gt;&lt;P&gt;      move 'Mein Refresh'(112) to gs_toolbar-quickinfo.&lt;/P&gt;&lt;P&gt;      move ' ' to gs_toolbar-disabled.&lt;/P&gt;&lt;P&gt;      insert gs_toolbar into e_object-&amp;gt;mt_toolbar index 1.&lt;/P&gt;&lt;P&gt;endmethod.&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;&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;     set handler event_receiver-&amp;gt;handle_toolbar_set  for grid1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sumi Vasu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 05:54:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-11T05:54:30Z</dc:date>
    <item>
      <title>Add &amp; Remove some button in standard alv grid using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519548#M570177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wants to add and remove some buttons from ALV Grid using oops concept, can any one please give me an exact way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Virat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 05:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519548#M570177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T05:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add &amp; Remove some button in standard alv grid using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519549#M570178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For adding a button on the toolbar, you will need to handle the TOOLBAR event of the class CL_GUI_ALV_GRID. This event has a parameter E_OBJECT which is an object reference to the class CL_ALV_EVENT_TOOLBAR_SET. Using this object you can access an internal table MT_BUTTON in the class CL_ALV_EVENT_TOOLBAR_SET. Append the Function Code, Icon and Text to this internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For deleting a button from the toolbar, just append the function code of the button you want to exclude to an internal table of type UI_FUNCTIONS and pass it to the method SET_TABLE_FOR_FIRST_DISPLAY through the parameter IT_TOOLBAR_EXCLUDING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 05:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519549#M570178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T05:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add &amp; Remove some button in standard alv grid using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519550#M570179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Verify BCALV_GRID_VERIFY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;methods handle_toolbar_set&lt;/P&gt;&lt;P&gt;      for event toolbar of cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;      importing e_object e_interactive.&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;  method handle_toolbar_set.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  handle toolbar&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  create own Menubuttons and ToolbarButtons&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if e_interactive is initial.&lt;/P&gt;&lt;P&gt;      clear gs_toolbar.&lt;/P&gt;&lt;P&gt;      move 'DELE' to gs_toolbar-function.&lt;/P&gt;&lt;P&gt;      move icon_delete to gs_toolbar-icon.&lt;/P&gt;&lt;P&gt;      move 'Mein Löschen'(111) to gs_toolbar-quickinfo.&lt;/P&gt;&lt;P&gt;      move ' ' to gs_toolbar-disabled.&lt;/P&gt;&lt;P&gt;      append gs_toolbar to e_object-&amp;gt;mt_toolbar.&lt;/P&gt;&lt;P&gt;      clear gs_toolbar.&lt;/P&gt;&lt;P&gt;      move 'REFR' to gs_toolbar-function.&lt;/P&gt;&lt;P&gt;      move icon_refresh to gs_toolbar-icon.&lt;/P&gt;&lt;P&gt;      move 'Mein Refresh'(112) to gs_toolbar-quickinfo.&lt;/P&gt;&lt;P&gt;      move ' ' to gs_toolbar-disabled.&lt;/P&gt;&lt;P&gt;      insert gs_toolbar into e_object-&amp;gt;mt_toolbar index 1.&lt;/P&gt;&lt;P&gt;endmethod.&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;&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;     set handler event_receiver-&amp;gt;handle_toolbar_set  for grid1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sumi Vasu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 05:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519550#M570179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T05:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add &amp; Remove some button in standard alv grid using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519551#M570180</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;FIll the table parameter of the function SET_TABLE_FOR_FIRST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add MC_FC_XXXX  attributes of the class to this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_TOOLBAR_EXCLUDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATa: itab type UI_FUNCTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND cl_gui_alv_grid=&amp;gt;MC_FC_AVERAGE to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then pass itab as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_TOOLBAR_EXCLUDING = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 05:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519551#M570180</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-11T05:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add &amp; Remove some button in standard alv grid using OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519552#M570181</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;Could you please tell me what is this gs_toolbar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 06:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-remove-some-button-in-standard-alv-grid-using-oops/m-p/2519552#M570181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T06:14:25Z</dc:date>
    </item>
  </channel>
</rss>

