Application Development 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: 

Need a filter option in a control table

former_member421809
Participant
0 Kudos

I use this FM :

But i didn't get the filter function that i want

************************************************************************

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 = 'FJA_left'
i_title_right = 'FJA_right'
i_popup_title = 'FJA_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 <> 0.
* Implement suitable error handling here
ENDIF.

********************************************************************

and i have the result :

and in the standard is like this :

So i need the second option to Determine Valuse for filter Criteria

Thanks

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

This is an ALV dynpro (some instances of CL_ALV_VARIANT and CL_ALV_DD_LISTBOX wrapped in FM ALV_GENERIC_DIALOG) perform some debug on an ALV execution.

1 REPLY 1

raymond_giuseppi
Active Contributor
0 Kudos

This is an ALV dynpro (some instances of CL_ALV_VARIANT and CL_ALV_DD_LISTBOX wrapped in FM ALV_GENERIC_DIALOG) perform some debug on an ALV execution.