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: 

What does 'LVC_FILTER_APPLY' really does ?

sudantha
Explorer
0 Kudos

CALL FUNCTION 'LVC_FILTER_APPLY'

   EXPORTING

     it_filter                    = gt_flt_rngs[]

*  IT_VALUE_UNIT                =

*   IT_GROUPLEVELS               =

*   I_FILTER_FLAGNAME            =

*   I_TABNAME                    =

*   I_TABNAME_SLAVE              =

*   I_SLAVE                      =

    IT_FIELDCATALOG              = it_rmv_fieldcat

  IMPORTING

    ET_FILTER_INDEX               = gt_filter_index

*   ET_GROUPLEVELS_FILTER        =

*   ET_FILTER_INDEX_INSIDE       =

   tables

     it_data                      = gi_extract_bomc[]

           .

With this RFC call does it able to provide out the filtered internal table back as the filter criteria in table control ? , seems it does not .

What does this FM really does ?

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi,

please have a look at sample program BCALV_TEST_GRID_EVENTS for usage of this fm.

Regards,

Klaus

3 REPLIES 3

former_member195402
Active Contributor
0 Kudos

Hi,

please have a look at sample program BCALV_TEST_GRID_EVENTS for usage of this fm.

Regards,

Klaus

0 Kudos

Hi Klaus.

Thanks for the program , this was helpful

For me i tried everything but it_data does not return the filtered data set. BUT,

ET_FILTER_INDEX  returns the indexes of the records which should be removed from the internal table after filter is applied.

With this i'm able to retrieve the records which should be included in the internal table after filter is applied.

Thanks

sujeet2918
Active Contributor
0 Kudos

Hi Sudantha,

Please Refer below Similar thread for more detail:

http://scn.sap.com/thread/607600

Regards,

Sujeet