<?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: FILTER Button in TABLE CONTROL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529559#M1561322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your code as i also need to add filter and sort buttons.&lt;/P&gt;&lt;P&gt;i need the code to handle filter and sort buttons after calling the LVC function modules. Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Umesh J D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 10:28:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-07T10:28:30Z</dc:date>
    <item>
      <title>FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529549#M1561312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have already searched in all threads, but i could not find help for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as we have filter functionality in ALV, where we can select fields and then enter our values in a pop screen where we get the selection screen type of screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same way i want to implement same functionality in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to use LVC_FILTER fm, then LVC_FILTER_APPLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT , i am nt getting filtered values in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please sugget wht to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 06:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529549#M1561312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T06:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529550#M1561313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the solution in this thread : &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="607600"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 06:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529550#M1561313</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2011-01-13T06:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529551#M1561314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i said that i have searched in all thread, this thread also i saw, but there is no help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 08:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529551#M1561314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T08:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529552#M1561315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check the icon( default ) which is available in the top right corner of the table control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 10:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529552#M1561315</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-01-13T10:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529553#M1561316</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;If you replace your table control with an ALV within a custom container, you can filter/sort all you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a particular reason you chose a table control?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 02:39:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529553#M1561316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T02:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529554#M1561317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Medha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest way to achieve this would be ALV using custom container (OOPS), you will be able to use all functionalities given in ALV along with filter &amp;amp; many more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 05:39:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529554#M1561317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T05:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529555#M1561318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i knw tht ALV using oops is simplest, but actually i m helping my collegue, and he has already developed most of the requirement in table control. now functional needs this filter application also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but no prob, we have found that LVC_FILTER AND THEN LVC_FILTER_APPLY FM can be used and now its working. i m pasting the code for everybdy reference.&lt;/P&gt;&lt;P&gt;in usercommand ,when user presses the filter button,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TC1-COLS INTO COLS WHERE SELECTED = 'X'.&lt;/P&gt;&lt;P&gt;    LS_SELECTED_COLS-FIELDNAME =  COLS-SCREEN-NAME+10.&lt;/P&gt;&lt;P&gt;    APPEND LS_SELECTED_COLS TO GT_SELECTED_COLUMNS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT G_TC1_ITAB BY USERID CLASS BUKRS LIFNR DATE_TIME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_STRUCTURE_NAME       = 'ZVENINPUT'&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      CT_FIELDCAT            = GT_FIELDCAT&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      INCONSISTENT_INTERFACE = 1&lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR          = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'LVC_FILTER'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        IT_FIELDCAT      = GT_FIELDCAT&lt;/P&gt;&lt;P&gt;        IT_SELECTED_COLS = GT_SELECTED_COLUMNS&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       it_value_unit    = lt_value_unit&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       it_grouplevels   = lt_grouplevels&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IS_LAYOUT        = L_LAYOUT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       is_selfield      = l_selfield&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IT_GROUPS        = LT_GROUPS&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ET_FILTER_INDEX  = GT_FILTER_INDEX&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        IT_DATA          = G_TC1_ITAB "gt_subitems&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        CT_FILTER        = GT_FILTER&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS           = 0.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      REFRESH:  G_TC1_TEMP.&lt;/P&gt;&lt;P&gt;      REFRESH G_TC1_BUFF.&lt;/P&gt;&lt;P&gt;      G_TC1_BUFF[] = G_TC1_ITAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT GT_FILTER_INDEX INTO GS_IDX.&lt;/P&gt;&lt;P&gt;        READ TABLE G_TC1_ITAB INTO G_TC1_WA INDEX GS_IDX.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          APPEND G_TC1_WA TO G_TC1_TEMP .&lt;/P&gt;&lt;P&gt;          CLEAR G_TC1_WA.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR GS_IDX.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT G_TC1_TEMP INTO G_TC1_WA.&lt;/P&gt;&lt;P&gt;        READ TABLE G_TC1_ITAB INTO G_TC1_WA1 WITH KEY&lt;/P&gt;&lt;P&gt;                                  USERID = G_TC1_WA-USERID&lt;/P&gt;&lt;P&gt;                                  CLASS  = G_TC1_WA-CLASS&lt;/P&gt;&lt;P&gt;                                  BUKRS  = G_TC1_WA-BUKRS&lt;/P&gt;&lt;P&gt;                                  LIFNR  = G_TC1_WA-LIFNR&lt;/P&gt;&lt;P&gt;                                  DATE_TIME = G_TC1_WA-DATE_TIME BINARY SEARCH.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          DELETE G_TC1_ITAB INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR: G_TC1_WA1, G_TC1_WA.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR: G_TC1_WA1, G_TC1_WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT G_TC1_ITAB INTO G_TC1_WA.&lt;/P&gt;&lt;P&gt;        READ TABLE G_TC1_BUFF INTO G_TC1_WA1 WITH KEY&lt;/P&gt;&lt;P&gt;                                  USERID = G_TC1_WA-USERID&lt;/P&gt;&lt;P&gt;                                  CLASS  = G_TC1_WA-CLASS&lt;/P&gt;&lt;P&gt;                                  BUKRS  = G_TC1_WA-BUKRS&lt;/P&gt;&lt;P&gt;                                  LIFNR  = G_TC1_WA-LIFNR&lt;/P&gt;&lt;P&gt;                                  DATE_TIME = G_TC1_WA-DATE_TIME BINARY SEARCH.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          DELETE G_TC1_BUFF INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        CLEAR: G_TC1_WA1, G_TC1_WA."raviraj&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;      CLEAR:G_TC1_WA.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 04:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529555#M1561318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-25T04:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529556#M1561319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 04:07:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529556#M1561319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-25T04:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529557#M1561320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;myself solved, solution is already posted in same thread.&lt;/P&gt;&lt;P&gt;thanks for the replies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 04:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529557#M1561320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-25T04:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529558#M1561321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Medha for posting your code. it helped me in adding sort and filter functionality in table control. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 07:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529558#M1561321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T07:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529559#M1561322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your code as i also need to add filter and sort buttons.&lt;/P&gt;&lt;P&gt;i need the code to handle filter and sort buttons after calling the LVC function modules. Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Umesh J D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 10:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529559#M1561322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T10:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529560#M1561323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the data declarations you have done for this requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 06:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529560#M1561323</guid>
      <dc:creator>former_member190178</dc:creator>
      <dc:date>2012-04-04T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529561#M1561324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Medha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send the data declarations you have done for this. It will be a great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 06:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529561#M1561324</guid>
      <dc:creator>former_member190178</dc:creator>
      <dc:date>2012-04-04T06:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529562#M1561325</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I also met with same issue recently. Tried a custom coding and wanted to share.&lt;BR /&gt;Please try below.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;table_a &lt;/STRONG&gt;- Original table with data&lt;BR /&gt;&lt;STRONG&gt;table_flt&lt;/STRONG&gt; - Intermediate table to store filtered data temporally&lt;BR /&gt;&lt;BR /&gt;Step 1&lt;BR /&gt;Add a button to screen and set as filter&lt;BR /&gt;Function Code:&lt;STRONG&gt; FC_FILTER&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2169211-image.png" /&gt;&lt;/P&gt;&lt;P&gt;Step 2&lt;BR /&gt;Program always will display &lt;STRONG&gt;table_flt[] &lt;/STRONG&gt;data. And updates original table accordingly in &lt;STRONG&gt;PAI&lt;/STRONG&gt;. &lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;---------------------------------------------------------------------
---------------------------------------------------------------------&lt;BR /&gt;"PBO &lt;BR /&gt;MODULE  set_values_to_filter_tbl.&lt;BR /&gt;&lt;BR /&gt;LOOP AT table_flt  "Set data to output screen table&lt;BR /&gt;    INTO gs_flt&lt;BR /&gt;    WITH CONTROL tc_flt&lt;BR /&gt;    CURSOR tc_flt-current_line.&lt;BR /&gt;ENDLOOP.&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;---------------------------------------------------------------------


---------------------------------------------------------------------&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;LOOP AT table_flt.  "Set data to output screen table&lt;BR /&gt;   MODULE  tc_flt_modify.  &lt;BR /&gt;ENDLOOP.&lt;BR /&gt;&lt;BR /&gt;MODULE flt_to_org_tbl. "Update changes on filtered table data to original table&lt;BR /&gt;"Loop an update each record&lt;BR /&gt;&lt;BR /&gt;MODULE user_command.&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;---------------------------------------------------------------------


&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;"MODULES&lt;BR /&gt;"PBO MODULES&lt;BR /&gt;MODULE  set_values_to_filter_tbl.&lt;BR /&gt;  table_flt[] = table_a[]   "Copy all data to TABLE_FLT&lt;BR /&gt;  IF gv_filter IS NOT INITIAL.&lt;BR /&gt;    DELETE table_flt WHERE value NOT IN gt_value.&lt;BR /&gt;  ENDIF.&lt;BR /&gt;ENDMODULE.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"PAI MODULES&lt;BR /&gt;MODULE tc_flt_modify INPUT.  &lt;BR /&gt;    MODIFY table_flt&lt;BR /&gt;      FROM   gs_flt&lt;BR /&gt;      INDEX  tc_flt-current_line.&lt;BR /&gt;ENDMODULE. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MODULE user_command.&lt;BR /&gt;  WHEN 'FC_FILTER'.&lt;BR /&gt;      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG' "Pop up to user input (get values)&lt;BR /&gt;        EXPORTING&lt;BR /&gt;          text                    = 'Filter Values'&lt;BR /&gt;          just_incl               = 'X'&lt;BR /&gt;        TABLES&lt;BR /&gt;          range                   = gt_value&lt;BR /&gt;        EXCEPTIONS&lt;BR /&gt;          no_range_tab            = 1&lt;BR /&gt;          cancelled               = 2&lt;BR /&gt;          internal_error          = 3&lt;BR /&gt;          invalid_fieldname       = 4&lt;BR /&gt;          OTHERS                  = 5.&lt;BR /&gt;&lt;BR /&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;BR /&gt;* Implement suitable error handling here&lt;BR /&gt;      ELSE.&lt;BR /&gt;        IF gt_value IS NOT INITIAL.&lt;BR /&gt;          gv_filter = 'X'. &lt;BR /&gt;        ELSE.&lt;BR /&gt;          gv_filter = ''. &lt;BR /&gt;        ENDIF.&lt;BR /&gt;      ENDIF.&lt;BR /&gt;ENDMODULE. &lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 May 2023 05:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/7529562#M1561325</guid>
      <dc:creator>sandun_sap</dc:creator>
      <dc:date>2023-05-25T05:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943114#M2037926</link>
      <description>&lt;P&gt;Please help I got same requirment to add filter functionality in table control in mpp&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943114#M2037926</guid>
      <dc:creator>addi</dc:creator>
      <dc:date>2024-11-20T09:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943115#M2037927</link>
      <description>&lt;P&gt;Please send me the code As I got same requirment&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943115#M2037927</guid>
      <dc:creator>addi</dc:creator>
      <dc:date>2024-11-20T09:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943116#M2037928</link>
      <description>&lt;P&gt;Please send me the sample code .&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:09:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943116#M2037928</guid>
      <dc:creator>addi</dc:creator>
      <dc:date>2024-11-20T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943127#M2037929</link>
      <description>&lt;P&gt;I need same requirment but need data declration type also .&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943127#M2037929</guid>
      <dc:creator>addi</dc:creator>
      <dc:date>2024-11-20T09:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: FILTER Button in TABLE CONTROL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943129#M2037930</link>
      <description>&lt;P&gt;How?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-button-in-table-control/m-p/13943129#M2037930</guid>
      <dc:creator>addi</dc:creator>
      <dc:date>2024-11-20T09:15:36Z</dc:date>
    </item>
  </channel>
</rss>

