<?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: ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131896#M448191</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;&lt;/P&gt;&lt;P&gt;Execute this sample program....&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;this program eliminates the Sort descending order and Sort ascending order from Menu list and also from the Application toolbar.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA W_FCODE TYPE SLIS_EXTAB-FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_spfli TYPE SPFLI OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from spfli into table t_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_excluding TYPE SLIS_T_EXTAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_fcode = '&amp;amp;OUP'.&lt;/P&gt;&lt;P&gt;append w_fcode to t_excluding.&lt;/P&gt;&lt;P&gt;W_fcode = '&amp;amp;ODN'.&lt;/P&gt;&lt;P&gt;append w_fcode to t_excluding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_STRUCTURE_NAME               = 'SPFLI'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_LAYOUT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_FIELDCAT                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IT_EXCLUDING                   = T_EXCLUDING&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_outtab                       = T_SPFLI&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PROGRAM_ERROR                  = 1&lt;/P&gt;&lt;P&gt;   OTHERS                         = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz do remember to close the thread, when ur problem is solved and reward all helpful answers!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps u...&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 12:34:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-04T12:34:01Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131890#M448185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to deactivate any one of the fields in  the context menu of the ALV grid list o/p ?&lt;/P&gt;&lt;P&gt; suppose if i need to deactivate the menu buttons like ascending button and descending button how can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 11:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131890#M448185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T11:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131891#M448186</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 use following codes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD &amp;lt;menu_NAME&amp;gt;-&amp;gt;hide_functions&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      fcodes = fcode&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;  CALL METHOD &amp;lt;menu_NAME&amp;gt;-&amp;gt;disable_functions&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      fcodes = fcode&lt;/P&gt;&lt;P&gt;      .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where fcode is function code which you wnat to hide/disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award helpful answres.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 11:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131891#M448186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131892#M448187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U need to copy the UI of the standard and then deactivate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To copy the standard UI :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Go to SE41&lt;/P&gt;&lt;P&gt;2. Give ur program name&lt;/P&gt;&lt;P&gt;3. Status : give SAPLSALV&lt;/P&gt;&lt;P&gt;4. Select the Button COpy User INterface from the application tool bar&lt;/P&gt;&lt;P&gt;5. Copy to ur satus&lt;/P&gt;&lt;P&gt;6. Deactivate those buttons or codes which u don't need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please award all helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 11:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131892#M448187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T11:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131893#M448188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write this code before calling the method 'set_table_for_first_display'.&lt;/P&gt;&lt;P&gt;If it is useful then please reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA  ls_exclude TYPE ui_func.&lt;/P&gt;&lt;P&gt;  DATA  gt_exclude       TYPE          ui_functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_copy_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_delete_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_append_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_insert_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_move_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_copy.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_cut.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_paste.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_paste_new_row.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_undo.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&lt;/P&gt;&lt;P&gt;  ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_print.&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO gt_exclude.&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>Wed, 04 Apr 2007 12:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131893#M448188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131894#M448189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using OO ALV, you can use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Exclude structure&lt;/P&gt;&lt;P&gt;    DATA: it_exclude TYPE ui_functions,&lt;/P&gt;&lt;P&gt;               is_exclude TYPE ui_func.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  is_exclude = cl_gui_alv_grid=&amp;gt;mc_mb_export.( name of the button which you want to deactivate) &lt;/P&gt;&lt;P&gt;  APPEND is_exclude TO it_exclude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and pass the it_exclude to the method 'set table for first table', in the it_toolbar_excluding.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   CALL METHOD g_grid1-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BUFFER_ACTIVE            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_BYPASSING_BUFFER     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_CONSISTENCY_CHECK   =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_STRUCTURE_NAME         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_VARIANT                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      i_save                                = 'A'&lt;/P&gt;&lt;P&gt;      i_default                              = ' '&lt;/P&gt;&lt;P&gt;      is_layout                            = gs_layout&lt;/P&gt;&lt;P&gt;      is_print                               = wa_print&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SPECIAL_GROUPS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      it_toolbar_excluding             = it_exclude[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_HYPERLINK                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_ALV_GRAPHICS              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_EXCEPT_QINFO              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_outtab                             = i_output&lt;/P&gt;&lt;P&gt;      it_fieldcatalog                     = tb_fieldcatalog[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_SORT                             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IT_FILTER                           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;      program_error                 = 2&lt;/P&gt;&lt;P&gt;      too_many_lines                = 3&lt;/P&gt;&lt;P&gt;      OTHERS                        = 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131894#M448189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131895#M448190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's a OO ALV, you can populate the parameter 'it_toolbar_excluding =' of alv_grid-&amp;gt;set_table_for_first_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : ls_exclude TYPE ui_func.&lt;/P&gt;&lt;P&gt;ls_exclude = cl_gui_alv_grid=&amp;gt;mc_fc_loc_undo. " choose the button to exclude&lt;/P&gt;&lt;P&gt;  APPEND ls_exclude TO lt_toolbar_excluding .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alv_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt; it_toolbar_excluding          = lt_toolbar_excluding .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131895#M448190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131896#M448191</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;&lt;/P&gt;&lt;P&gt;Execute this sample program....&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;this program eliminates the Sort descending order and Sort ascending order from Menu list and also from the Application toolbar.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA W_FCODE TYPE SLIS_EXTAB-FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_spfli TYPE SPFLI OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from spfli into table t_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_excluding TYPE SLIS_T_EXTAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;W_fcode = '&amp;amp;OUP'.&lt;/P&gt;&lt;P&gt;append w_fcode to t_excluding.&lt;/P&gt;&lt;P&gt;W_fcode = '&amp;amp;ODN'.&lt;/P&gt;&lt;P&gt;append w_fcode to t_excluding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_STRUCTURE_NAME               = 'SPFLI'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IS_LAYOUT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_FIELDCAT                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IT_EXCLUDING                   = T_EXCLUDING&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_outtab                       = T_SPFLI&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PROGRAM_ERROR                  = 1&lt;/P&gt;&lt;P&gt;   OTHERS                         = 2.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz do remember to close the thread, when ur problem is solved and reward all helpful answers!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps u...&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131896#M448191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131897#M448192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sriram,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Step 1.&lt;/P&gt;&lt;P&gt;Create pf_status. It is recommend that you copy standard status'STANDARD' from function group SALV and modify it according to your requirement.&lt;/P&gt;&lt;P&gt;i.e. in application toolbar remove the items which are not required.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Step 2.&lt;/P&gt;&lt;P&gt;Create a form.&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'ZPFSTATUS'. &lt;/P&gt;&lt;P&gt;                  "Copy of 'STANDARD' pf_status from fgroup SALV&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3.&lt;/P&gt;&lt;P&gt;In function REUSE_ALV_GRID_DISPLAY and REUSE_ALV_LIST_DISPLAY there is one export parameter i_callback_pf_status_set pass the form set_pf_status to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&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;        &lt;/P&gt;&lt;P&gt;            i_callback_pf_status_set = 'SET_PF_STATUS'   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neelambari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 12:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2131897#M448192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T12:51:12Z</dc:date>
    </item>
  </channel>
</rss>

