DATA: gt_filt TYPE lvc_t_filt,
gs_filt TYPE lvc_s_filt.
gs_filt TYPE lvc_s_filt.
gs_filt-fieldname = ‘MBLNR’.
gs_filt-low = ‘4900000000’.
gs_filt-high = ‘5000000000’.
gs_filt-sign = ‘I’.
gs_filt-option = ‘BT’.
APPEND gs_filt TO gt_filt .
gs_filt-low = ‘4900000000’.
gs_filt-high = ‘5000000000’.
gs_filt-sign = ‘I’.
gs_filt-option = ‘BT’.
APPEND gs_filt TO gt_filt .
CALL METHOD go_grid->set_table_for_first_display
EXPORTING
is_variant = gs_variant
i_save = ‘A’
is_layout = sla
CHANGING
it_outtab = itab[]
it_fieldcatalog = gt_fieldcat[]
it_filter = gt_filt[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
EXPORTING
is_variant = gs_variant
i_save = ‘A’
is_layout = sla
CHANGING
it_outtab = itab[]
it_fieldcatalog = gt_fieldcat[]
it_filter = gt_filt[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4.
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/20069.html