Skip to Content

Filter option in control table

Hello All,

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 ,

i need this option like the one in the standard of SAP

this is my code

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 <> 0.


* Implement suitable error handling here


      ENDIF.


ENDCASE.


2-scd-step.png (19.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers