[ABAP] SALV-Table – Filter benutzen

DATA: o_alv TYPE REF TO cl_salv_table.

...

DATA: lcl_filters TYPE REF TO cl_salv_filters.

TRY.
    lcl_filters = o_alv->get_filters( ).
    " gesetzten Filter der Spalte 'CARRID' entfernen
    lcl_filters->remove_filter( 'CARRID' ).
    " neuen Filter für Spalte 'CARRID' setzen
    lcl_filters->add_filter( columnname = 'CARRID'
                             sign = 'I'
                             option = 'EQ'
                             low = 'AA' ).
  CATCH cx_salv_existing
        cx_salv_data_error
        cx_salv_not_found.
ENDTRY.