Code: Alles auswählen.
DATA:
lt_lvc_filter type lvc_t_filt,
lt_filter_inside type lvc_t_fidx,
lt_filter_outside type lvc_t_fidx.
* ... get the filter information
lt_lvc_filter =
cl_salv_controller_metadata=>get_lvc_filter( p_obj_filters ).
call function 'LVC_FILTER_APPLY'
exporting
it_filter = lt_lvc_filter
* IT_VALUE_UNIT =
* IT_GROUPLEVELS =
* I_FILTER_FLAGNAME =
* I_TABNAME =
* I_TABNAME_SLAVE =
* I_SLAVE =
* I_IGNORING_CASE =
importing
et_filter_index = rt_filter_outside
* ET_GROUPLEVELS_FILTER =
et_filter_index_inside = rt_filter_inside
tables
it_data = pt_input.
Folgende Benutzer bedankten sich beim Autor a-dead-trousers für den Beitrag (Insgesamt 2):
abapz • Gokar
Code: Alles auswählen.
* ... get the filter information
lt_lvc_filter =
cl_salv_controller_metadata=>get_lvc_filter( p_obj_filters ).
Code: Alles auswählen.
CALL FUNCTION 'LVC_FILTER_APPLY'
EXPORTING
it_filter = lt_lvc_filter
IMPORTING
et_filter_index = rt_filter_outside
et_filter_index_inside = rt_filter_inside
TABLES
it_data = pt_input.
Folgende Benutzer bedankten sich beim Autor abapz für den Beitrag (Insgesamt 2):
Gokar • Stefanouis
Code: Alles auswählen.
DATA: ir_salv_table TYPE REF TO cl_salv_table.
DATA: ir_salv_filters TYPE REF TO cl_salv_filters.
DATA: it_lvc_t_filt TYPE lvc_t_filt.
...
"get filters
ir_salv_filters = ir_salv_table->get_filters( ).
it_lvc_t_filt = cl_salv_controller_metadata=>get_lvc_filter( ir_salv_filters ).