<?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 Custom Pushbutton in std toolbar with classical ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767307#M1117486</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 need to add a pushbutton(not an icon) in the std ALV tool bar.I know the method of adding a custom icon in the std ALV tool bar.But i need to add a custom pushbutton with custoom text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also im using the FM "REUSE_ALV_GRID_DISPLAY"  for displaying the ALV grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2008 22:53:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-03T22:53:20Z</dc:date>
    <item>
      <title>Custom Pushbutton in std toolbar with classical ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767307#M1117486</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 need to add a pushbutton(not an icon) in the std ALV tool bar.I know the method of adding a custom icon in the std ALV tool bar.But i need to add a custom pushbutton with custoom text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also im using the FM "REUSE_ALV_GRID_DISPLAY"  for displaying the ALV grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 22:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767307#M1117486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T22:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Pushbutton in std toolbar with classical ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767308#M1117487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Just go to you Status GUI, enter a function code in any empty cell, and double click on it.&lt;/P&gt;&lt;P&gt;Then choose 'static text', and enter a Function text, Icon text, and Info text. If you want an icon on your pushbutton, also enter an Icon name. That´s all.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;F.S.A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 23:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767308#M1117487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T23:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Pushbutton in std toolbar with classical ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767309#M1117488</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;This is to add custom ICON.But i need to add a  custom "push button".Can anyone pls explain the steps for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 23:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767309#M1117488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T23:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Pushbutton in std toolbar with classical ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767310#M1117489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not add pushbuttons unless you switch to ALV OO.&lt;/P&gt;&lt;P&gt;In that case, take some sample code to help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cl_event_receiver DEFINITION.&lt;/P&gt;&lt;P&gt;PUBLIC SECTION.   &lt;/P&gt;&lt;P&gt;DATA: ucomm TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;METHODS handle_toolbar_set     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;METHODS handle_user_command     FOR EVENT user_command OF cl_gui_alv_grid     &lt;/P&gt;&lt;P&gt;IMPORTING e_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cl_event_receiver IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;METHOD handle_user_command.   &lt;/P&gt;&lt;P&gt;CASE e_ucomm.     &lt;/P&gt;&lt;P&gt;WHEN text-024.       &lt;/P&gt;&lt;P&gt;PERFORM upload_id.     &lt;/P&gt;&lt;P&gt;WHEN OTHERS.   &lt;/P&gt;&lt;P&gt;ENDCASE. &lt;/P&gt;&lt;P&gt;ENDMETHOD.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD handle_toolbar_set.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;append a separator to normal toolbar&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;CLEAR ls_toolbar.   &lt;/P&gt;&lt;P&gt;MOVE 3 TO ls_toolbar-butn_type.   &lt;/P&gt;&lt;P&gt;APPEND ls_toolbar TO e_object-&amp;gt;mt_toolbar.&lt;/P&gt;&lt;P&gt;CLEAR ls_toolbar.   &lt;/P&gt;&lt;P&gt;MOVE :text-032 TO ls_toolbar-function,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;function code of the push button&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;text-033 TO ls_toolbar-text.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;text that will be displayed on the push button&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;APPEND ls_toolbar    TO e_object-&amp;gt;mt_toolbar.&lt;/P&gt;&lt;P&gt;ENDMETHOD.ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*set even handlers&lt;/P&gt;&lt;P&gt;SET HANDLER event_receiver1-&amp;gt;handle_toolbar_set  FOR g_grid1. &lt;/P&gt;&lt;P&gt;SET HANDLER event_receiver1-&amp;gt;handle_user_command FOR g_grid1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remember saying "thanks" everytime you receive help, even if it´s not really helpfull.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;F.S.A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 00:15:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767310#M1117489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T00:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Pushbutton in std toolbar with classical ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767311#M1117490</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;As u know how to add a custom icon in ALV toolbar. u can also add a custom pushbutton in ALV with only text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when defining the custom button in PF status in Menu Painter.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dont give the Icon name&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it will be done...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Sukriti....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 03:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-pushbutton-in-std-toolbar-with-classical-alv-grid/m-p/4767311#M1117490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T03:45:16Z</dc:date>
    </item>
  </channel>
</rss>

