Code: Alles auswählen.
CLEAR: gt_filter, gs_filter.
CALL METHOD grid1->get_filter_criteria
IMPORTING
et_filter = gt_filter
EXCEPTIONS
OTHERS = 2.
CLEAR: gt_filter, gs_filter.
gs_filter-fieldname = 'CARRID'.
gs_filter-tabname = '1'.
gs_filter-ref_field = 'CARRID'.
gs_filter-ref_table = 'SFLIGHT'.
gs_filter-dd_outlen = 2.
gs_filter-low = 'AA'.
gs_filter-sign = 'I'.
gs_filter-option = 'EQ'.
APPEND gs_filter TO gt_filter.
CALL METHOD grid1->set_filter_criteria
EXPORTING
it_filter = gt_filter
EXCEPTIONS
no_fieldcatalog_available = 1
OTHERS = 2.
CALL METHOD grid1->refresh_table_display.