<?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 Filter option in control table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-option-in-control-table/m-p/649530#M27897</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;
  &lt;P&gt;I implement a code to create a filter on a control table , but i didn't have enough information about the FM RSBC_TOOLS_FIELD_SELECTION and parameters to fill , so i also have a problem to continue the process of the filter ,&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;i need this option like the one in the standard of SAP &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/141395-2-scd-step.png" /&gt;&lt;/P&gt;
  &lt;P&gt; this is my code &lt;BR /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;WHEN 'FITL_BUT'.
data  ct_field   type   RSAOS_T_FIELDNM.


data  cs_field   type   RSFIELDNM.


cs_field = 'col1' .


APPEND cs_field to ct_field.


cs_field = 'col2' .


APPEND cs_field to ct_field.


      CALL FUNCTION 'RSBC_TOOLS_FIELD_SELECTION'


        EXPORTING


          i_title_left               = 'RAN_left'


          i_title_right              = 'RAN_right'


          i_popup_title              = 'RAN_title'


*         IS_LAYOUT_DOUBLE_ALV       =


*         IT_SP_GROUP                =


*         I_DISPLAY_ONLY             =


         I_TABNAME                  = 'ITAB'


*       IMPORTING


*         E_CANCELLED                =


*       TABLES


*         C_T_FIELDS                 = ct_field


*       EXCEPTIONS


*         TABLE_NOT_FOUND            = 1


*         OTHERS                     = 2


                .


      IF sy-subrc &amp;lt;&amp;gt; 0.


* Implement suitable error handling here


      ENDIF.


ENDCASE.


&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 May 2018 17:01:25 GMT</pubDate>
    <dc:creator>former_member421809</dc:creator>
    <dc:date>2018-05-06T17:01:25Z</dc:date>
    <item>
      <title>Filter option in control table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filter-option-in-control-table/m-p/649530#M27897</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
  &lt;P&gt;I implement a code to create a filter on a control table , but i didn't have enough information about the FM RSBC_TOOLS_FIELD_SELECTION and parameters to fill , so i also have a problem to continue the process of the filter ,&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;i need this option like the one in the standard of SAP &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/141395-2-scd-step.png" /&gt;&lt;/P&gt;
  &lt;P&gt; this is my code &lt;BR /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;WHEN 'FITL_BUT'.
data  ct_field   type   RSAOS_T_FIELDNM.


data  cs_field   type   RSFIELDNM.


cs_field = 'col1' .


APPEND cs_field to ct_field.


cs_field = 'col2' .


APPEND cs_field to ct_field.


      CALL FUNCTION 'RSBC_TOOLS_FIELD_SELECTION'


        EXPORTING


          i_title_left               = 'RAN_left'


          i_title_right              = 'RAN_right'


          i_popup_title              = 'RAN_title'


*         IS_LAYOUT_DOUBLE_ALV       =


*         IT_SP_GROUP                =


*         I_DISPLAY_ONLY             =


         I_TABNAME                  = 'ITAB'


*       IMPORTING


*         E_CANCELLED                =


*       TABLES


*         C_T_FIELDS                 = ct_field


*       EXCEPTIONS


*         TABLE_NOT_FOUND            = 1


*         OTHERS                     = 2


                .


      IF sy-subrc &amp;lt;&amp;gt; 0.


* Implement suitable error handling here


      ENDIF.


ENDCASE.


&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 May 2018 17:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filter-option-in-control-table/m-p/649530#M27897</guid>
      <dc:creator>former_member421809</dc:creator>
      <dc:date>2018-05-06T17:01:25Z</dc:date>
    </item>
  </channel>
</rss>

