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

What does 'LVC_FILTER_APPLY' really does ?

sudantha
Participant
0 Likes
1,265

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
Read only

Former Member
0 Likes
984

Hi,

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

Regards,

Klaus

3 REPLIES 3
Read only

Former Member
0 Likes
985

Hi,

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

Regards,

Klaus

Read only

0 Likes
984

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

Read only

SujeetMishra
Active Contributor
0 Likes
984

Hi Sudantha,

Please Refer below Similar thread for more detail:

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

Regards,

Sujeet