<?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: Adding a button on the ALV grid using OOPs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436548#M208059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot declare it as a button, but as an ICON or CheckBox only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a single character field in your table. And when you are inserting the field in your field cat, check the field &lt;/P&gt;&lt;P&gt;ICON or&lt;/P&gt;&lt;P&gt;SYMBOL or&lt;/P&gt;&lt;P&gt;CHECKBOX or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can declare the lay out as lvc_s_layo-sel_mode = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event you could use to capture the actions is lcl_event_receiver &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See sample from SAP, search BCALV* in SE38&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 09:30:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-15T09:30:32Z</dc:date>
    <item>
      <title>Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436543#M208054</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 have created a ALV grid using CL_GUI_ALV_GRID....i neeed to add a button on each...row..of the grid....i.e. a field in the table has to be displayed as a button..&lt;/P&gt;&lt;P&gt;How can this be done and a event also...has to be associated along with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436543#M208054</guid>
      <dc:creator>vinotha_m</dc:creator>
      <dc:date>2006-06-15T09:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436544#M208055</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;take a look at this prog.&lt;/P&gt;&lt;P&gt;BCALV_GRID_05 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Latheesh Kaduthara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436544#M208055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436545#M208056</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 can achieve this functionality through LAYOUT  by passing 'X' to the layout-sel_mode.Then the Grid looks like a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436545#M208056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436546#M208057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the style setting as to make it pushbutton. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;In the class CL_GUI_ALV_GRID, there are constants starting by the name MC_STYLE..... Just assign the STYLE attribute of Fieldcatalog to the style corresponding to the push button&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is it...problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form PREPARE_CATALOG  changing p_field_catalog type lvc_t_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ls_fcat type lvc_s_fcat .&lt;/P&gt;&lt;P&gt;CLEAR LS_FCAT.&lt;/P&gt;&lt;P&gt;ls_fcat-fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;ls_fcat-ref_table = 'SFLIGHT' .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ls_fcat-style = cl_gui_alv_grid=&amp;gt;mc_style_button.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_fcat-outputlen = '20' .&lt;/P&gt;&lt;P&gt;ls_fcat-coltext = 'Carrid' .&lt;/P&gt;&lt;P&gt;APPEND ls_fcat to p_field_catalog .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sylendra Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436546#M208057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436547#M208058</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;&amp;lt;b&amp;gt;Pushbuttons on the List To make a cell to be displayed as a pushbutton&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have two steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, insert a new inner table of type &amp;#147;LVC_T_STYL&amp;#148; into your list data table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill this inner table for each field to be displayed as pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Button click event is handled like hotspot click via the event &amp;#147;button_click&amp;#148; through its parameters &amp;#147;es_col_id&amp;#148; and &amp;#147;es_row_no&amp;#148; which contain the address of the clicked pushbutton cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This detail Is provided in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Easy Reference for ALV Grid Control PDF  page 32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont have the PDF .&lt;/P&gt;&lt;P&gt;Please give me ur Email address i will send u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Please Mark Helpful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436547#M208058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436548#M208059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot declare it as a button, but as an ICON or CheckBox only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a single character field in your table. And when you are inserting the field in your field cat, check the field &lt;/P&gt;&lt;P&gt;ICON or&lt;/P&gt;&lt;P&gt;SYMBOL or&lt;/P&gt;&lt;P&gt;CHECKBOX or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can declare the lay out as lvc_s_layo-sel_mode = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event you could use to capture the actions is lcl_event_receiver &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See sample from SAP, search BCALV* in SE38&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436548#M208059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436549#M208060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to add a button along with other fields in a row...&amp;lt;b&amp;gt;not a way to select the row&amp;lt;/b&amp;gt;..&amp;lt;b&amp;gt;and not on the toolbar&amp;lt;/b&amp;gt; but many buttons on a single row..with added functionality&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436549#M208060</guid>
      <dc:creator>vinotha_m</dc:creator>
      <dc:date>2006-06-15T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436550#M208061</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;it is very well possible.Just check this Program.&lt;/P&gt;&lt;P&gt;and for responding you need the event BUTTON_CLICK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a local class method, and implement that, and then set the handler for it to respond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;b&amp;gt; button_click         for event button_click
                         of cl_gui_alv_grid
                         importing es_col_id
                                   es_row_no&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just used LVC fm, it is almost like using &amp;lt;b&amp;gt;CL_GUI_ALV_GRID&amp;lt;/b&amp;gt; from this report take the bold alone, thats all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTESTALV.

TYPE-POOLS: SLIS.

*- Fieldcatalog
DATA: IT_FIELDCAT  TYPE LVC_T_FCAT,
      IT_FIELDCAT1  TYPE SLIS_T_FIELDCAT_ALV..
*- For Events
DATA:IT_EVENTS TYPE SLIS_T_EVENT.

DATA:  X_FIELDCAT  TYPE LVC_S_FCAT,
        X_FIELDCAT1  TYPE SLIS_FIELDCAT_ALV.
DATA:X_LAYOUT TYPE LVC_S_LAYO.
"{ FOR DISABLE
DATA: LS_EDIT TYPE LVC_S_STYL,
      LT_EDIT TYPE LVC_T_STYL.
"} FOR DISABLE
DATA: BEGIN OF IT_VBAP OCCURS 0,
      VBELN LIKE VBAP-VBELN,
      POSNR LIKE VBAP-POSNR,
      HANDLE_STYLE TYPE LVC_T_STYL, "FOR DISABLE
   &amp;lt;b&amp;gt;   BUTTON(10),&amp;lt;/b&amp;gt;
     END OF IT_VBAP.
DATA: LS_OUTTAB LIKE LINE OF IT_VBAP.
SELECT VBELN
       POSNR
       UP TO 10 ROWS
      INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
      FROM VBAP.


DATA:L_POS TYPE I VALUE 1.
CLEAR: L_POS.
L_POS = L_POS + 1.

&amp;lt;b&amp;gt;X_FIELDCAT-SELTEXT = 'Button'.
x_fieldcat-fieldname = 'BUTTON'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS    = L_POS.
X_FIELDCAT-OUTPUTLEN = '10'.

X_FIELDCAT-style = X_FIELDCAT-style bit-xor
                  cl_gui_alv_grid=&amp;gt;MC_STYLE_BUTTON bit-xor
                  cl_gui_alv_grid=&amp;gt;MC_STYLE_ENABLEd.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.&amp;lt;/b&amp;gt;

L_POS = L_POS + 1.


X_FIELDCAT-SELTEXT = 'VBELN'.
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS    = L_POS.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-OUTPUTLEN = '10'.
x_fieldcat-ref_field = 'VBELN'.
x_fieldcat-ref_table = 'VBAK'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.

X_FIELDCAT-SELTEXT = 'POSNR'.
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS    = L_POS.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-OUTPUTLEN = '5'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
"{FOR DISABLE HERE 6ROW IS DISABLED
SY-TABIX = 6.
LS_EDIT-FIELDNAME = 'VBELN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=&amp;gt;MC_STYLE_DISABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 10.
INSERT LS_EDIT INTO TABLE LT_EDIT.
*LS_EDIT-FIELDNAME = 'POSNR'.
*LS_EDIT-STYLE = CL_GUI_ALV_GRID=&amp;gt;MC_STYLE_DISABLED.
*LS_EDIT-STYLE2 = SPACE.
*LS_EDIT-STYLE3 = SPACE.
*LS_EDIT-STYLE4 = SPACE.
*LS_EDIT-MAXLEN = 6.
*INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY IT_VBAP INDEX SY-TABIX FROM LS_OUTTAB  TRANSPORTING
                                  HANDLE_STYLE .

X_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.
"} UP TO HERE
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
  EXPORTING
    I_CALLBACK_PROGRAM = SY-REPID
    IS_LAYOUT_LVC      = X_LAYOUT
    IT_FIELDCAT_LVC    = IT_FIELDCAT
  TABLES
    T_OUTTAB           = IT_VBAP[]
  EXCEPTIONS
    PROGRAM_ERROR      = 1
    OTHERS             = 2.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check the Button you copy paste and see the above code.&lt;/P&gt;&lt;P&gt;for button using cl_gui_alv_grid try the fieldcat which i marked as bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436550#M208061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436551#M208062</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;Check this image. the sample output.&lt;/P&gt;&lt;P&gt;&lt;A href="http://img91.imageshack.us/img91/2963/button9fv.jpg" target="test_blank"&gt;http://img91.imageshack.us/img91/2963/button9fv.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 09:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436551#M208062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T09:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436552#M208063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the requirement is similar to the picture uploaded by Vijay, you can go through my previous post or Vijay's post. It is very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 10:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436552#M208063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-15T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436553#M208064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot...it worked...can u also..tell me how to disable the button...based on user entry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 12:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436553#M208064</guid>
      <dc:creator>vinotha_m</dc:creator>
      <dc:date>2006-06-20T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436554#M208065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can disable the buttons in the standard toolbar in ALV using the method &amp;lt;b&amp;gt;hide_functions.&amp;lt;/b&amp;gt;In that method, there is a parameter which should contain all the codes of the buttons you want to disable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details, refer this document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf" target="test_blank"&gt;http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 13:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436554#M208065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-20T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436555#M208066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I dont want to disable the standard buttons....i want to disable the buttons that i created on each row..using the style field of the fieldcatalg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e a column entirely displayed as buttons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 13:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436555#M208066</guid>
      <dc:creator>vinotha_m</dc:creator>
      <dc:date>2006-06-20T13:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436556#M208067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinotha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can disable the button style by setting the style as MC_STYLE_DISABLED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;my_cat-style = CL_GUI_ALV_GRID=&amp;gt;MC_STYLE_DISABLED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 14:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436556#M208067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-20T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436557#M208068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Vijay Babu Dudla  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Vijay or anybody else that wants to answer me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the program ZTESTALV. What I don't get is how to set the handler for the event BUTTON_CLICK. Do you have a code example how to create the handler when using the FM REUSE_ALV_GRID_DISPLAY_LVC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 11:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436557#M208068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a button on the ALV grid using OOPs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436558#M208069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've the same problem. The field is shown as button but no event is triggerd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 17:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-button-on-the-alv-grid-using-oops/m-p/1436558#M208069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T17:34:50Z</dc:date>
    </item>
  </channel>
</rss>

