<?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: Removing filter for ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322176#M1029917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi &lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/abdul.sathar" id="jive-171935557965519369000" style="padding: 0 3px 0 0; font-weight: normal; font-style: inherit; font-size: 20px; font-family: inherit; color: #3778c7;"&gt;Abdul Sathar&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;I find the solution if you are using ALV OO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;For delete the ALV's filter call the method SET_FILTER_CRITERIA and send the parameter IT_FILTER with a itab empty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;I hope this help you.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 21:39:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-27T21:39:49Z</dc:date>
    <item>
      <title>Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322168#M1029909</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 am using an ALV grid to display my data. Once i used the filter in grid to filter some datas and go back to selection screen &amp;amp; executed the report again, the filter is still active and not showing all datas. How to avoid this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:03:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322168#M1029909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322169#M1029910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you setting any Filter, I mean passing Filter information to the ALV function. &lt;/P&gt;&lt;P&gt;If possible post the code here..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322169#M1029910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322170#M1029911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sathar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could define a layout for your ALV list showing all entries (i.e. no filtering) and define this one as &lt;STRONG&gt;default layout&lt;/STRONG&gt;. For the filtered list you define another layout but do not set it as "default layout".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322170#M1029911</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-08-26T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322171#M1029912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not setting any filter in my coding. In the display if we filter using the std tool available in grid and we go back to sel screen &amp;amp; execute again the filter which i put previously it is still active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322171#M1029912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322172#M1029913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not facing any issue like that. and also when you set the filter and see the filter results &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can see a button Delter filter next to Filter button, Shortcut: Ctrl&lt;EM&gt;Shft&lt;/EM&gt;F2 , Delete the filter and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally it should refresh the data. are you using Normal ALV Grid or OO ALV Grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322172#M1029913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322173#M1029914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;I'm using OO ALV grid.&lt;/P&gt;&lt;P&gt;The user dont want to delete the filter. If he press back button &amp;amp; execute again he should be able to see the entire data. &lt;/P&gt;&lt;P&gt;I have seen one method named 'INIT_TOOLBAR' in class cl_gui_alv_grid . will it help?? It is a protected method and how can i use than in my program.&lt;/P&gt;&lt;P&gt;Also, seen one attribute 'MC_FC_DELETE_FILTER' in this class. I tried to use that like g_grid=&amp;gt;MC_FC_DELETE_FILTER but it is showing syntax erroe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322173#M1029914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322174#M1029915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure Problem is with your code , even i tested OO ALV it is working fine for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You post the code if possible , or simulate the same on some test program and post it here..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:54:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322174#M1029915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322175#M1029916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE display_alv_9001 OUTPUT.
  CLEAR gt_fcat.

  IF g_ref_control IS INITIAL.

    CREATE OBJECT g_ref_control
      EXPORTING
        container_name = 'CONTROL'.

    CREATE OBJECT g_ref_alv
      EXPORTING
        i_parent = g_ref_control.

    PERFORM fieldcat.
    PERFORM layout.


    CALL METHOD g_ref_alv-&amp;gt;set_table_for_first_display
      EXPORTING
        is_layout       = gs_layo
      CHANGING
        it_outtab       = gt_bsid
        it_fieldcatalog = gt_fcat.

  ELSE.
    CALL METHOD g_ref_alv-&amp;gt;refresh_table_display.

  ENDIF.


ENDMODULE.                 " display_alv_9001  OUTPUT

MODULE back_command_9001 INPUT.

  g_save_code = sy-ucomm.

  CASE g_save_code.

    WHEN 'BACK'.

      LEAVE TO SCREEN 9000.

  ENDCASE.

ENDMODULE.                 " back_command_9001  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322175#M1029916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T13:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing filter for ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322176#M1029917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi &lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/abdul.sathar" id="jive-171935557965519369000" style="padding: 0 3px 0 0; font-weight: normal; font-style: inherit; font-size: 20px; font-family: inherit; color: #3778c7;"&gt;Abdul Sathar&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;I find the solution if you are using ALV OO.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;For delete the ALV's filter call the method SET_FILTER_CRITERIA and send the parameter IT_FILTER with a itab empty.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="margin: -9px 0 0; font-size: 11px; background-color: #ffffff; color: #333333; text-align: right;"&gt;I hope this help you.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 21:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-filter-for-alv-grid/m-p/4322176#M1029917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-27T21:39:49Z</dc:date>
    </item>
  </channel>
</rss>

