Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Filter option in table control

Former Member
0 Likes
949

Hi Folks,

Please let me know is there any way we can use filter option for the columns in the table control just like we use in the ALV.

thanks in advance

Hi Folks,

Please let me know is there any way we can use filter option for the columns in the table control just like we use in the ALV.

thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
611

RSBC_TOOLS_FIELD_SELECTION this function Module is just like Filter Button Function in ALV:

CALL FUNCTION 'RSBC_TOOLS_FIELD_SELECTION'
  EXPORTING
    i_title_left               =            " SY-TITLE
    i_title_right              =            " SY-TITLE 
    i_popup_title              =            " SY-TITLE
*   IS_LAYOUT_DOUBLE_ALV       =
*   IT_SP_GROUP                =
*   I_DISPLAY_ONLY             =
   I_TABNAME                  = <TABLE>                " table you Needs to Select Fields from.
* IMPORTING
*   E_CANCELLED                =
* TABLES
*   C_T_FIELDS                 =
* EXCEPTIONS
*   TABLE_NOT_FOUND            = 1

Hope this resolves your issue

.

Regards,

Gurpreet

Read only

Former Member
0 Likes
611

hi

The filter settings of a column are represented by an object of type CL_SALV_FILTER.individual filter conditions are given by CL_SALV_SELOPT.

hope this helps

Rajeev